I just uprgraded from Drupal 6.13 to 6.14 and now I'm getting the following intermittent error:

warning: Parameter 1 to admin_menu_admin_menu() expected to be a reference, value given in C:\Users\Doug\Webs\Drupal\Source\includes\module.inc on line 471.

I'm running the latest version of Admin-Menu (6.x-1.5). I'm using Firefox 3, Apache 2.2.11, PHP 5.3.0, MySQL 5.1.36 - all running in WinVista.

The error is not consistent. Usually I can refresh the page and it goes away. Then I have a hard time making it happen again.

Comments

jdelaune’s picture

Status: Active » Closed (duplicate)

Issue is with PHP 5.3 see #586228: Doesn't work with PHP 5.3.0

extexan’s picture

I saw that thread before I posted this issue. I looked at the patch file, but couldn't apply it to the admin_menu.module file I have. The patch seems to reference revision 1.43.2.17.2.27. In my .module file the version is 1.43.2.18.

I searched for $elements (which is in the line that was supposed to change) throughout the file and didn't find it. Even though the version of that file seems to be newer than what the patch references, which makes me think that it was "fixed", I still have the problem.

I have since downgraded my php to the previous version, so this is not so urgent now, but I'd like to know that it's gonna work if/when I do go to php 5.3. I want the namespace features of 5.3, so I'd like to upgrade as soon as reasonably possible.

Thanks.