First I tried to clear the cache via devel block (to rebuild theme registry), but to no avail. When i go to configure my new starter kit subtheme, (which i think i've set up right ;-) I get
warning: array_merge() [function.array-merge]: Argument #1 is not an array in (...path...)/sites/all/themes/zen/zen/template.php on line 441.
And when i try to configure Zen i get the same error. When i try Reset Defaults on either one, i get two messages of the same.
Comments
Comment #1
AaronCollier commentedI am not able to reproduce this error. My first guess would be that the .info file is not set up properly. Did you change it to reflect the new beta version? What did you upgrade from? If you were using one of the pre-beta versions, the .info files changed significantly.
I'd check things like datestamps and the like. Other than that, I don't see what's causing it. Unless there's some other problem in the subtheme's set-up.
Comment #2
AaronCollier commentedOK, I figured it out. I was able to reproduce the error. It happened when I had an old version of my subtheme's .info file, but a new version of the template.php file. Updating all sub files made the error go away.
Edit: It actually went away just on refreshing and I never had a problem of not being able to configure the files, though I had to reconfigure them after updating Zen.
Comment #3
johnalbinYep. That's the solution. Thanks, Aaron!
If you were using a pre-beta version of Zen 6.x-1.x-dev to make a sub-theme, you need to update your sub-theme. Compare your sub-theme's .info file with the STARTERKIT.info that comes with Zen 6.x-1.0-beta1 or Zen 6.x-1.0-beta2.
You will also need to:
Comment #4
hierodule commentedI'm getting the exact same error, but I'm not sure if the solution presented above applies to me. I wasn't using an older version of zen (and neither I could find any file named theme-settings-init.php).
I'm (VERY) new to Drupal, and installed today the zen-6.x-1.0-beta2 theme, followed the instructions at http://drupal.org/node/226507 to create my sub-theme from STARTERKIT, and got it listed on the themes section. However, I got these error messages when I clicked on the Configure link:
Could it be that I messed up something while made suggested changes to the sub-theme folder?
Thanks.
Ed
Comment #5
hierodule commentedOh, my bad, I'm such a n00b. This error deals with version 6.x-1.x-dev, and the one I downloaded was 6.x-1.0-beta2 *sigh*
I'll download 6.x-1.x-dev and try again from scratch, to see if the problem persists.
Ed.
Comment #6
hierodule commentedOK, I started from scratch, using 6.x-1.x-dev this time, following once again the steps at http://drupal.org/node/226507, and the error disappeared.
No idea why it didn't work with 6.x-1.0-beta2 (since I didn't mixed up old and new versions there), but I'm glad it's OK now.
Ed.
Comment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.