fusion core and acquia marina get deactivated. i dont understand why.

i get this warning messages when it happens, without any css files loaded, white backrground...:

* warning: array_map() [function.array-map]: Argument #2 should be an array in /.../modules/system/system.module on line 1015.
* warning: array_keys() [function.array-keys]: The first argument should be an array in /.../includes/theme.inc on line 1817.
* warning: Invalid argument supplied for foreach() in /.../includes/theme.inc on line 1817.

any idea how i can fix this?

Comments

nilsja’s picture

same problem when i use fusion starter theme, so i think the skinr module produces the error.

What could cause a theme to get deactivated?

moonray’s picture

Status: Active » Fixed

Have a look at this issue #305653: Themes disabled during update; it's most likely the cause of your problems.
I've back-ported the warning we included in the 6.x-2 version of skinr. It's now in CVS.

nilsja’s picture

hi moonray,

thank you for the info. did i get it right that i have to wait for the next core update?

what does backporting a warning mean?

moonray’s picture

It's basically just a warning telling you that all themes have been disabled, so you don't go around looking to find out what's going on. The only fix at present is to re-enable the themes.

nilsja’s picture

Status: Fixed » Active

hi moonray, i also have this problem with just the acquia marina theme and sknir active. with just the default theme i dont get the error. so i still think my error is related to skinr and a theme using it.

just tried this http://drupal.org/node/632080 patch. i will update you if this helped.

nilsja’s picture

the error still occours after the clone patch ... :(

this time with only acquia marina theme active.

nilsja’s picture

@moonray: link to the drupal bug page in the error message has a " too much at the end...

moonray’s picture

Status: Active » Postponed

Thanks. Fixed the missing quote (it was missing one at the beginning).
As for the actual bug, there's nothing skinr can do except warn about it. It's a drupal core bug.

Marking as postponed until the above bug is fixed.

nomonstersinme’s picture

Status: Postponed » Closed (won't fix)

closing due to inactivity.