By markagray on
I upgraded from Drupal 6.12 to 6.13. Everything seems to be working correctly except for one thing. When I go to Administer->Site building->Modules, instead of getting the list of installed modules and their enabled/disabled status, I get the following error message:
Fatal error: Only variables can be passed by reference in /var/www/.../sites/all/modules/admin_menu/admin_menu.inc on line 536
The admin_menu module is the first module in the list of my modules. One thing I failed to do during the update (as described in the 6.13 UPDATE.txt) was to disable all contributed modules.
Any help would be greatly appreciated.
Comments
ditto
I too am getting this error. I don't recall if I had it before 6.13 but I am now noticing it. I've gone through and checked a bunch of php settings thinking it's a memory config issue. Any help?
Fix?
I just upgraded my admin_menu module to 1.5 and it seems to have fixed this for me. I was at 1.3
im getting the same error and
im getting the same error and cant access admin pages as a result
Me too!
I'm getting the same error too! Hard to configure site if you can't get at it.
Update!!! Yeah all you have to do is upgrade to 1.5 and it works. with version 6.x
Hi So you published your site
Hi
So you published your site (http://drupal.org/node/264599) ?
same problem
In case it helps, I am able to reproduce the error with a few simple steps:
1. install a fresh copy of drupal 6.13.
2. upload the "admin_menu" module.
3. When I try to enable the "admin_menu" module, I get this error:
SQL to disable admin_menu
For anyone new to this, you can execute this SQL in phpMyAdmin, drush or mysql to disable the admin_menu module:
That will disable the 'admin_menu' module and allow you to get to the modules page.
This works great!
Stumbled across this when I hit this error during a routine upgrade. Many thanks for this contribution!!
It helps, thanks for soluton.
It helps, thanks for soluton.
Thank you.
This brought back the admin panel for me!
After an upgrade from Drupal 6.10 to 6.28, and trying to enable all the modules again (including admin_menu 6.x-1.x-dev) i got the same problem as the original poster.
Now I'll be able to update admin_menu and then enable it again.
Solve!
I just upgraded my admin_menu module to 6.x-1.8 and it seems to have fixed this for me. I was at -1.8