On upgrade to Drupal 6.13, admin pages turn blank ("Only variables can be passed by reference in ... admin_menu.inc")
meles - July 1, 2009 - 23:41
| Project: | Administration menu |
| Version: | 6.x-1.4 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | duplicate |
Jump to:
Description
On upgrade from Drupal 6.12 to 6.13, all admin pages turned blank.
/var/log/http/error_log says: Only variables can be passed by reference in {path}sites/all/modules/admin_menu/admin_menu.inc on line 536
I turned the module off within mysql: UPDATE system SET status='0' WHERE name='admin_menu;
and all was well. Except for not having the use of the excellent module.
A newer module (6.x-3.0-alpha1) is available; perhaps it's actually necessary, not just supported. (I haven't tried it yet)
Browsers: Opera 9.64, Firefox 2.0.0.20, OS: OSX10.3.9

#1
Open sites/all/modules/admin_menu/admin_menu.inc and replace line 536 with
system_clear_cache_submit(NULL, $form_state);#2
Duplicate of #236657: Swapped arguments in system_clear_cache_submit function. This has already been fixed in 6.x-1.x-dev and 6.x-3.x-dev. Upgrade to those versions until we can get a new release out.
#3
This hack didn't work for me.
Upgrading to 6.x-1.5 did http://ftp.drupal.org/files/projects/admin_menu-6.x-1.5.tar.gz
#4
FWIW
Post #1 suggestion worked for me.
Clean D6.13 with Administration_Menu-6x-1.4
I see a 6x-1.5 is out now.
Replacing with 6x-1.5 also worked OK.
#5
Thanks decibel - upgrading to 1.5 fixed all my ills.