Closed (fixed)
Project:
Zen
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Mar 2008 at 11:30 UTC
Updated:
13 May 2008 at 00:42 UTC
I keep getting the following notices when I look at the theme administration pages (and some other admin pages too). This is only on one of my sites (I'm running multisite).
Notice: unserialize() [function.unserialize]: Error at offset 72 of 76 bytes in E:\www\vhosts\drupal\includes\bootstrap.inc on line 390
Notice: unserialize() [function.unserialize]: Error at offset 573 of 577 bytes in E:\www\vhosts\drupal\includes\bootstrap.inc on line 390
Notice: unserialize() [function.unserialize]: Error at offset 573 of 577 bytes in E:\www\vhosts\drupal\includes\bootstrap.inc on line 390
These errors have persisted, even though I upgraded the code to 5.6.
This same site has some other problems related to the zen theme, these all came up at the same time, so I assume that they are related:
Whenever I try to enter the zen subtheme configuration page:
Fatal error: Unsupported operand types in E:\www\vhosts\drupal\sites\all\themes\zen\greengrass_blueskies\theme-settings.php on line 45
Looking in the code, the offending line:
// Add the base theme's settings.
include_once './'. drupal_get_path('theme', 'zen') .'/theme-settings.php';
$form += zen_settings($saved_settings, $defaults);
What's more, when Opening the Zen configuration page:
* warning: array_merge() [function.array-merge]: Argument #2 is not an array in E:\www\vhosts\drupal\includes\theme.inc on line 278.
* warning: array_merge() [function.array-merge]: Argument #2 is not an array in E:\www\vhosts\drupal\includes\theme.inc on line 278.
* warning: array_merge() [function.array-merge]: Argument #2 is not an array in E:\www\vhosts\drupal\sites\all\themes\zen\theme-settings.php on line 38.
Does anyone know what's going on?
Thanks...
Comments
Comment #1
Swift Arrow commentedAnybody there? Pleeeze?
Comment #2
johnalbinIt sounds like your theme settings have been corrupted in the database somehow. Try hitting the "Rest to defaults" button on both the Zen settings page and the greengrass_blueskies settings page. Does that fix it?
Comment #3
calebgilbert commentedI'm having this same problem with themesettings.api module, dev version of zen for Drupal 5, and a subtheme....
Comment #4
calebgilbert commentedThat is I'm getting this error, which when it occurs makes all my settings custom theme settings inactive:
Comment #5
calebgilbert commentedHm. More investigation and I get the same array merge warning but with a message regarding line 24 of my sub-theme's theme-settings-init.php file.
For some reason this problem only crops up for me with use of an import script I have - which itself is obviously not supported - but, I don't understand why the only problem seems to be with the data used in this one array_merge function....guess I will just bail from the import script for now.
Comment #6
Swift Arrow commentedIll try to reset to defaults suggested by John. Dont have my system with me right now...
Comment #7
johnalbinPlease re-open if you are still experiencing this issue.