Closed (fixed)
Project:
Zen
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Dec 2007 at 20:19 UTC
Updated:
31 Dec 2007 at 20:41 UTC
Following the new instructions in the Zen documentation, I created a new sub-theme with the 12/17/2007 dev build. I get the following error:
Fatal error: Unsupported operand types in /home/forbesco/public_html/sites/all/themes/zen/mysubtheme/theme-settings.php on line 45
Lines 44-45 are:
// Add the base theme's settings.
$form += zen_settings($saved_settings, $defaults);
When this line is commented out, the subtheme works, but does not have any custom options in the theme configuration area like the parent Zen theme.
Comments
Comment #1
johnalbinI already fixed that this morning in 5.x-1.x-dev. But the download file only gets regenerated every 12 hours, so the fix isn’t available just yet.
The fix is to add
$form = array();before line 44 (// Add the base theme's settings.)Comment #2
droolpal commentedThanks, John. That fixed it.
Because of these updates, I have decided to switch back to Zen as my starting template, after messing with Hunchbaque for a while. How do you suggest I keep in sync with developments? Stable did not have enough documentation for a new user like myself, and I would like to keep up with critical updates to dev.
Comment #3
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.