By akreider on
I upgraded from Drupal 6 to 7.
Now I cannot edit the items in my "navigation" menu. I can edit my other menus.
When I go to "list links" for the navigation menu I get an error:
"Error
The website encountered an unexpected error. Please try again later."
In my log I get:
Recoverable fatal error: Argument 3 passed to l() must be an array, boolean given, called in /home/energy/public_html/modules/menu/menu.admin.inc on line 103 and defined in l() (line 2300 of /home/energy/public_html/includes/common.inc).
I'm not sure if this is related - my menu name used to have an ampersand in it, but I've now removed it.
Comments
Cannot Edit Primary Menu
I have same issue and I receive this error:
Notice: unserialize() [function.unserialize]: Error at offset 109 of 711 bytes in variable_initialize() (line 749 of .../includes/bootstrap.inc).
Notice: unserialize() [function.unserialize]: Error at offset 109 of 711 bytes in variable_initialize() (line 749 of .../includes/bootstrap.inc).
Notice: unserialize() [function.unserialize]: Error at offset 108 of 710 bytes in variable_initialize() (line 749 of .../includes/bootstrap.inc).
Notice: unserialize() [function.unserialize]: Error at offset 71 of 73 bytes in _menu_link_translate() (line 853 of .../includes/menu.inc).
Recoverable fatal error: Argument 3 passed to l() must be an array, boolean given, called in .../modules/menu/menu.admin.inc on line 103 and defined in l() (line 2300 of .../includes/common.inc).
unfortunately I upgraded the site without backup of database and I don't know how can I fix the issue!
any result?
Variablecheckk module
I found this thread http://drupal.org/node/49694
But the code has changed for D7 so I am not sure how to apply it.
My error:
Notice: unserialize() [function.unserialize]: Error at offset 2 of 8 bytes in variable_initialize() (line 748 of /home1/explore8/public_html/2tim/includes/bootstrap.inc).
Doesn't help because the SQL:
select name, length(value), value from variable where length(value) = "8";
finds 100s of variables
I'd rather not just cover up the error as suggested, or it might bite me later.
Found it. There is now a module to find bad variables http://drupal.org/project/variablecheck
Install it, go to your status report, run the variable check, tell some module developers about bad variable where appropriate,
then using phpmyadmin, click on variable table, search tab, look for your variable using %like%, delete where you can afford it
Can't Edit Navigation Menu
Sorry, not sure if this is the same issue or not. I likewise can't edit Navigation menu links after upgrade from 6 to 7 (can edit the other menus fine). But when I click Navigation "list links" I get
The Navigation menu is also showing a lot of old, dead links for pages that don't exist anymore. I really need to clear them, but can't seem to access anything.
hello, i just figured out
hello,
i just figured out when i want to edit a menu i get the same error.
•Recoverable fatal error: Argument 3 passed to l() must be an array, boolean given, called in /var/www/html/modules/menu/menu.admin.inc on line 102 and defined in l() (Zeile 2339 von /var/www/html/includes/common.inc).
i also have another problem (http://drupal.org/node/1410050) - not sure if these 2 errors have something todo with eachother...
is there already a solution for this problem? i upgraded on my test system from 6.22 to 7.12.
brgds Deas