[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.
  • Posts: 1,185
[Fixed] Errors when Profile menu is in sidebar
« on March 21st, 2012, 09:53 PM »Last edited on March 22nd, 2012, 07:49 AM by 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.
  • Posts: 14,278
Re : Errors when Profile menu is in sidebar
« Reply #1, on March 21st, 2012, 09:56 PM »
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
  • Posts: 16,082

Arantor

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

Nao

  • Dadman with a boy
  • Posts: 16,082

Dismal Shadow

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

Nao

  • Dadman with a boy
  • Posts: 16,082

Dismal Shadow

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

Nao

  • Dadman with a boy
  • Posts: 16,082

Dismal Shadow

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

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re : Errors when Profile menu is in sidebar
« Reply #10, on March 21st, 2012, 10:32 PM »
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
  • Posts: 16,082
Re : Errors when Profile menu is in sidebar
« Reply #11, on March 21st, 2012, 10:40 PM »
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
« Reply #12, on March 21st, 2012, 11:02 PM »
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.
  • Posts: 14,278
Re : Errors when Profile menu is in sidebar
« Reply #13, on March 21st, 2012, 11:03 PM »
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
  • Posts: 16,082
Re : Errors when Profile menu is in sidebar
« Reply #14, on March 21st, 2012, 11:22 PM »
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...
Posted: March 21st, 2012, 11:20 PM

(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...?