? null_schema_cast.patch ? sites/default/files ? sites/default/settings.php Index: includes/bootstrap.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/bootstrap.inc,v retrieving revision 1.269 diff -u -p -r1.269 bootstrap.inc --- includes/bootstrap.inc 31 Jan 2009 16:50:56 -0000 1.269 +++ includes/bootstrap.inc 6 Feb 2009 14:59:29 -0000 @@ -1417,7 +1417,8 @@ function drupal_get_schema($table = NULL require_once DRUPAL_ROOT . '/includes/common.inc'; // Invoke hook_schema for all modules. foreach (module_implements('schema') as $module) { - $current = module_invoke($module, 'schema'); + // Cast to an array to prevent schema errors. + $current = (array) module_invoke($module, 'schema'); if (drupal_function_exists('_drupal_initialize_schema')) { _drupal_initialize_schema($module, $current); }