Quantcast
Channel: Recent posts across whole site
Viewing all articles
Browse latest Browse all 49221

6.16 Update Weirdness

$
0
0

I recently updated my Drupal install from 6.14. to 6.16. I first updated the files to bring the install to 6.15 and then applied the second set of updates to bring the site current to 6.16. I also updated all of the modules to their current recommended version. I have updated at least three other sites using the same methods and did not have a problem until today.

I am seeing the following message when I log into the admin section:

* warning: Invalid argument supplied for foreach() in /includes/theme.inc on line 485.
* warning: Invalid argument supplied for foreach() in /includes/theme.inc on line 490.

Here are the lines 484 through 494 from the file in question:

484: foreach ($themes as $theme) {
485: foreach ($theme->info['stylesheets'] as $media => $stylesheets) {
486: foreach ($stylesheets as $stylesheet => $path) {
487: $theme->stylesheets[$media][$stylesheet] = $path;
488: }
489: }
490: foreach ($theme->info['scripts'] as $script => $path) {
491: if (file_exists($path)) {
492: $theme->scripts[$script] = $path;
493: }
494: }

From what I understand about the code, its looking at the theme's .info file for stylesheets and scripts? I am not sure what I did to cause the problem. The theme is a simple, custom one I created. I have not had problems with it prior to updating the Drupal version.

Any ideas on what to check?


Viewing all articles
Browse latest Browse all 49221

Trending Articles