Hi,
I'm working with another developer on a site, and they're handling a lot of the theming for it. They used Theme Editor (a module I'm not familiar with) to make changes. Today, they changed some things on the theme, logged out of User 1, and attempted to log back in. The login page is now missing the submit button and has the following error messages:
* warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'XXX_button' was given in E:\inetpub\vhosts\XXXXXXX\httpdocs\testing\includes\theme.inc on line 656.
* warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'XXX_button' was given in E:\inetpub\vhosts\XXXXXXX\httpdocs\testing\includes\theme.inc on line 656.
* warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'XXX_feed_icon' was given in E:\inetpub\vhosts\XXXXXXX\httpdocs\testing\includes\theme.inc on line 656.
* warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'XXX_breadcrumb' was given in E:\inetpub\vhosts\XXXXXXX\httpdocs\testing\includes\theme.inc on line 656.
* warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'XXX_menu_local_task' was given in E:\inetpub\vhosts\XXXXXXX\httpdocs\testing\includes\theme.inc on line 656.
* warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'XXX_menu_local_task' was given in E:\inetpub\vhosts\XXXXXXX\httpdocs\testing\includes\theme.inc on line 656.
* warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'XXX_menu_local_task' was given in E:\inetpub\vhosts\XXXXXXX\httpdocs\testing\includes\theme.inc on line 656.
I found other references to call_user_func_array() [function.call-user-func-array] errors, but most I haven't found any pertaining to the login page, so most of the suggestions aren't that helpful to me. Unfortunately, the site is on a plesk server, and I don't have drush configured. Otherwise I'd change the theme that way.
Based on what I've read, my first guess is to go into settings.php and change $update_free_access to TRUE, and run update.php. But I thought I'd reach out for help here. Thanks!
Comments
Comment #1
arcaneadam commentedThis error is because someone made php changes and didn't know what they were doing. Something that is warned about. You'll have to change the active theme in the db or FTP in and diagnose the template.php file.
I can't really help as this is not a problem that is caused buy the module but rather a user input issue. Try the forums and IRC and I'm sure someone will be ablE to offer some real time help, you might even catch me, but this isn't a module issue so this is not the area for that.
Comment #2
sco_tt commentedComment #3
sco_tt commentedComment #3.0
sco_tt commentedremove urls
Comment #3.1
sco_tt commentedchanged menu_local_task text