[Fixed] Errors when Profile menu is in sidebar

Dismal Shadow

  • Madman in a Box
  • Me: Who is Arantor? Cleverbot: It stands for time and relative dimensions in space.
  • Messages: 1 185
[Fixed] Errors when Profile menu is in sidebar
« le 21 Mars 2012 à 21:53 »Modifié le 22 Mars 2012 à 07:49 par Nao
I am getting this error in my profile.

Notice: Undefined index: title in /Themes/default/GenericMenu.template.php on line 37

PS: Cannot find where to edit signature.
“I will stand on my ground as an atheist until your god shows up...If my irreligious bothers you much, and if you think everything I do is heresy to your god I don't care. Heresy is for those who believe, I don't. So, it isn't heresy at all!


   Jack in, Wedge,
   EXECUTE!

Arantor

  • As powerful as possible, as complex as necessary.
  • Messages: 14 278
Re : Errors when Profile menu is in sidebar
« Réponse #1, le 21 Mars 2012 à 21:56 »
Signature permission was not carried through, it should work as expected now.

As for that error, we have seen it, just not sure why it occurs.
When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest. | Game Memorial

Nao

  • Dadman with a boy
  • Messages: 16 082

Arantor

  • As powerful as possible, as complex as necessary.
  • Messages: 14 278

Nao

  • Dadman with a boy
  • Messages: 16 082

Dismal Shadow

  • Madman in a Box
  • Me: Who is Arantor? Cleverbot: It stands for time and relative dimensions in space.
  • Messages: 1 185

Nao

  • Dadman with a boy
  • Messages: 16 082

Dismal Shadow

  • Madman in a Box
  • Me: Who is Arantor? Cleverbot: It stands for time and relative dimensions in space.
  • Messages: 1 185

Nao

  • Dadman with a boy
  • Messages: 16 082

Dismal Shadow

  • Madman in a Box
  • Me: Who is Arantor? Cleverbot: It stands for time and relative dimensions in space.
  • Messages: 1 185

Arantor

  • As powerful as possible, as complex as necessary.
  • Messages: 14 278
Re : Errors when Profile menu is in sidebar
« Réponse #10, le 21 Mars 2012 à 22:32 »
That's the thing, I can get it as well when viewing profiles, and I have no idea why. It's as though the menu isn't set up properly for some reason, but I never get it locally.

Nao

  • Dadman with a boy
  • Messages: 16 082
Re : Errors when Profile menu is in sidebar
« Réponse #11, le 21 Mars 2012 à 22:40 »
I could create a dummy account. Different Id but same settings. See if I can reproduce.

In the meantime I could also simply analyze the data as saved in the error log. Since I have Wedge log the entire menu array when it meets this problem...
Re : Errors when Profile menu is in sidebar
« Réponse #12, le 21 Mars 2012 à 23:02 »
Seriously... select * from {db_prefix}themes where member = Nathan Sparrow

(...)
use_sidebar_menu = 1
(...)

I asked you if you'd disabled the menu, you said no, so I looked elsewhere... :^^;:
Anyway! It seems to always be related to that setting. I'll look into it a bit.

Arantor

  • As powerful as possible, as complex as necessary.
  • Messages: 14 278
Re : Errors when Profile menu is in sidebar
« Réponse #13, le 21 Mars 2012 à 23:03 »
I haven't disabled the menu in profile :P I only disabled it in admin, and really we need to remove that entire code path anyway since we're not using that sidebar menu now.

Nao

  • Dadman with a boy
  • Messages: 16 082
Re : Errors when Profile menu is in sidebar
« Réponse #14, le 21 Mars 2012 à 23:22 »
Yeah I know but apparently many people are using the sidebar menu, interestingly...
It doesn't take (too much) away from the experience, so I'm hesitant in removing it.

Here's a list of people who use the sidebar menu, apart from us (got this by doing a mysql query on the themes table, of course). And I think they all got reset to 'no sidebar menu' earlier today by the bug in Member Options...

Nao (for testing)
billy2
Nathan Sparrow
nhwd

And I believe they all triggered the error messages...
Posté : 21 Mars 2012 à 23:20

(Sorry, had posted a wrong list where I took all values including 0 :^^;:)

:edit: Aaron, did you enable sidebar menus about 15 minutes ago, then disabled them...?