uh oh

Events happening in the community are now at Drupal community events on www.drupal.org.
rotnme's picture

I can't get to my modules. This is the message that comes up:

Fatal error: Only variables can be passed by reference in /home/content/m/a/r/markcissi/html/sites/all/modules/admin_menu/admin_menu.inc on line 536

I have no idea.......... 536 is in this area. Any help is greatly appreciated.

// Make sure everything is rebuilt, basically a combination of the calls
// from system_modules() and system_modules_submit().
drupal_rebuild_theme_registry();
menu_rebuild();
cache_clear_all('schema', 'cache');
cache_clear_all();
drupal_clear_css_cache();
drupal_clear_js_cache();
// Synchronize to catch any actions that were added or removed.
actions_synchronize();

Mark

Comments

Drupal update?

tarvid's picture

I think I saw that come up during one or more of about 40 updates in the last two days.

drush update

http://site/update.php

if you can't log in as user 1, temp patch settings.php - something about free - set to true then run update.php.

Check update status when you get in.

apparently probably a

rotnme's picture

apparently probably a million people have been affected, well at least anyone who uses the admin_menu module. If you do and are experiencing problems download ne admin module and install http://drupal.org/node/508148

Huh

kyle.skrinak's picture

I had a very similar experience this morning, after a rather stubborn inability to update default.settings.php for the d 6.13 update. For me the fix was simple -- log out as admin (using ?q=logout) and then log back into as admin -- everything was fine. YMMV.

General rule: if you update

kwinters's picture

General rule: if you update Drupal or a module, and some other module breaks, the first thing to try is updating that broken module. That kind of thing normally gets fixed very quickly.

If it's still broken, you can disable the module for a few days through the database. If you can't disable the module without breaking your site... this is why you make backups of both the code and database before updating :)

Ken Winters

www.coalmarch.com

Ken Winters

Cause of Error

JuliaKM's picture

I've had that error before when there's an & missing from a function. For example, "function _count_words($element, $form_state)" instead of "function _count_words($element, &$form_state)."

triDUG

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: