Hi,

we just updated a range of sites and when we want to access for example the modules we get the following error message on a blank screen

Fatal error: Only variables can be passed by reference in ............/public_html/sites/all/modules/admin_menu/admin_menu.inc on line 536

Am I right to think this is a compatibility problem between Drupal 6.13 and the fantastic and indispensable Administration menu??

Thanks for your swift attention - great module - just can't be without it ....

Comments

jolidog’s picture

I had the same problem, solved it, by changing to 3.x alpha-1 and runnning update.php.

Just delete the old folder, create the new one and run update.php... You should be good to go!

Maybe this compatibility problem should be correct or at least notified on the project frontpage.

guldi’s picture

also having this problem.

attention, for me, this sounds also critical!!

"solving" it by updateing to 3.x

tryitonce’s picture

Thanks Jolidog,

it works.

we uploaded version 6.x-3.0-alpha1 of the Administration menu (http://drupal.org/node/488202).

We updated the database script - essential - Hint: run status report to get the advice what to do if unsure - and ready.

So guldi, "updateing to 3.x" actually referred to the Administration menu Module - not Drupal - ;-).

Thanks and good luck

fmosca’s picture

a quick fix is to change the code around line 536 of admin_menu.inc like this:

535       $form_state = array();
536       $form = array();
537       system_clear_cache_submit($form, $form_state);
venusrising’s picture

Same error.

jamesoakley’s picture

Subscribing

catch’s picture

catch’s picture

Status: Active » Closed (duplicate)
Tikune’s picture

Me too.

dave reid’s picture

New release (6.x-1.5) is out. Please upgrade.

tryitonce’s picture

Thanks - great for doing it so quickly!!!

ashley.maher@didymodesigns.com.au’s picture

Thanks for the quick update.

Fantastic.

calebm12’s picture

where is the 6.15 i still only see download links for 6.13

dave reid’s picture

@calebm12: See attached screenshot of the Administration Menu project page for the link to download the latest 6.x-1.5 version. If you are referring to the latest version of Drupal core, 6.13 is the latest version.

calebm12’s picture

thanks dave. got confused there. installed drupal 6.13 and had this same prob. will download the admin menu latest version.

pooleery’s picture

Priority: Critical » Minor

Thanks! This worked for me. Now, I shall update the module itself to be up-to-date.

tyates’s picture

Thanks fmosca. I will upgrade the much appreciated Admin Menu, but your fix got my sites back in a heartbeat.