I've created a subtheme that worked fine in 1.9. Upon upgrade to 2.x, I get the following 2 problems:

1. Error:

* warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'phptemplate_file' was given in /mnt/stor1-wc2-dfw1/414763/www.trek15.com/web/content/includes/theme.inc on line 617.
* warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'phptemplate_file' was given in /mnt/stor1-wc2-dfw1/414763/www.trek15.com/web/content/includes/theme.inc on line 617.

2. All of the "Theme Specific Settings" disappear on the theme configuration page (for the subtheme)

Is there something I need to do to the subtheme files when I upgrade or is this a bug?

Thanks for your help.

Comments

Jimmysmith100’s picture

I upgraded from Acquia Marina 6.x - 1.9 to 2.0 because I got an update message that 1.9 is no longer supported. However I get this error message and my column widths are all messed up:

call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'phptemplate_username' was given in /var/www/html/bo/bostonrocket.com/includes/theme.inc on line 617.

I re-installed 1.9 to resolve the issue and will continue using that until I see that it's been fixed.

zdean’s picture

The part of this issue about disappearing Theme Settings has been moved here: #708068: Theme settings and "read more" not displaying in sub-theme

stephthegeek’s picture

Status: Active » Postponed (maintainer needs more info)

Can you make sure to delete all files from the 1.x version first before adding the 2.x version? Also you'll need to clear caches, and may need to re-save the theme settings page.

goody815’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

2.x-dev version is no longer being supported