Lunch: deciding sardines or no sardines for lunch ... Good: omega3, Bad: cholesterol

Drupal 6.9, site problems and dev modules

Did updates last week to various Drupal sites to Drupal 6.9 and updated some of the modules to hopefully fix one of the problems.

History: On various sites hosted on MediaTemple: GridServer (accounts on one of the problematic clusters), I have this problem where the sites break and only show part of the content of a page, without a layout or styling and themes seem to be disabled. This may be due to problems with cron.php timing out during RSS feed and cache clearing updates. 

Old Errors (hopefully)

The following list is a condensed version of what warnings were appearing on http://ww2.CattCo.org:

  • warning: Invalid argument supplied for foreach() in /path/to/drupal/includes/theme.inc on line 443.

  • warning: Invalid argument supplied for foreach() in /path/to/drupal/includes/theme.inc on line 448.

  • ... repeated 10x ...

  • warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'cattco1_event_nodeapi' was given in /path/to/drupal/includes/theme.inc on line 597.

  • warning: Invalid argument supplied for foreach() in /path/to/drupal/includes/theme.inc on line 443.

  • warning: Invalid argument supplied for foreach() in /path/to/drupal/includes/theme.inc on line 448.

  • warning: array_map() [function.array-map]: Argument #2 should be an array in /path/to/drupal/modules/system/system.module on line 975.

  • warning: array_keys() [function.array-keys]: The first argument should be an array in /path/to/drupal/includes/theme.inc on line 1728.

  • warning: Invalid argument supplied for foreach() in /path/to/drupal/includes/theme.inc on line 1728.

New Errors

Good News: Well, those previous errors haven't shown up since the updates.

Bad News: New set of errors today are causing havoc on ww2.CattCo.org. ww2.CattCo.org uses many dev modules. It is now blasting out warnings. All pages are now unpublished for some reason.

Errors:

  • warning: Invalid argument supplied for foreach() in /path/sites/all/modules/cck/content.module on line 1270.

  • warning: array_keys() [function.array-keys]: The first argument should be an array in /path/includes/common.inc on line 3308.

  • warning: Invalid argument supplied for foreach() in /path/includes/common.inc on line 3311.

On this new set of errors, I'm going to check the CCK project then check all of the modules the site uses and will be updating one by one. So for now the site is down for maintenance. 

Stay tuned for more.

RT @emountains It is currently COLD at -4°F (RealFeel® -20°F)! We are going to have a high of around 6°F. More snow is on the way!
Going for a walk in the falling snow and for some reason thinking of the song "Rape me" by Nirvana
RT @emountains At least 8 inches of snow fell in the Enchanted Mountains last night and more is falling today! http://www.enchantedmountains.info/snowfall
Randolph schools are the only schools closed in Cattaraugus County ... what is going on?!? I heard that the roads are just as bad today.
Good: Snow is falling
Good/Bad: Roads are great for doing donuts
Bad: Late for work
About to Backup and migrate a site ... while my daughter has one issue after another and wants me to 'fix it'