I'm running Drupal 6 with a zen custom theme. Every morning, the theme won't use the correct css file and in themes, it shows garland as the default. No matter what I do, I have the same problem.

In the logs, I get these error messages:
Invalid argument supplied for foreach() in /home/content/s/h/a/shastacrystals/html/includes/theme.inc on line 1720.
array_keys() [function.array-keys]: The first argument should be an array in /home/content/s/h/a/shastacrystals/html/includes/theme.inc on line 1720.

Line 1720 in theme.inc looks like this:
$variables['id'] = $count[$hook]++;

Any ideas?

Comments

cgreenberg’s picture

I FORGOT -- I also get this error:

array_map() [function.array-map]: Argument #2 should be an array in /home/content/s/h/a/shastacrystals/html/modules/system/system.module on line 966.

I got this one much earlier than the previous one. Line 966 in system.module reads:
$list[$theme_key] = array_map('t', $info['regions']);

akalata’s picture

Status: Active » Closed (cannot reproduce)

Closing old/inactive requests.