I got the following error after upgrading to the April 12 version for D6.

warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'phptemplate_menu_item_link' was given in /home/mydomain.com/includes/theme.inc on line 591.

Did this happen to anyone else?

Comments

CosmicVoyager’s picture

Priority: Normal » Critical

I've got the same problem. Had to revert to previous version.

annez’s picture

There are at least two ways around this. (1) Disable the zen themes before upgrading and then re-enable after you put in the new files. Or (2), if you've put the new zen files in with zen themes still enabled, visit admin/build/themes and use the Save configuration button to rebuild the theme registry. You may see one last warning after doing that, but then the warnings go away -- at least in my experience.

johnalbin’s picture

Status: Active » Fixed

Anne is correct. See http://drupal.org/node/173880#theme-registry

Also, get the newest 6.x-1.x-dev version; I did a bunch of work this past weekend.

CosmicVoyager’s picture

Disabling zen before upgrading worked for me. Thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

nguyenw’s picture

Component: Code » layout.css

What if I cannot access the website anymore to disable the theme? Even when I go to www.choosingtosmile.com/user, the same error message appears.
Please help!