After updating & deleting ctools and panels directories to latest dev versions of both, I got a WSOD at update.php the site homepage was up and was able to view content, go to admin permissions pages and then went to disable modules at site building>modules>list and got a WSOD. Now there is WSOD on every page of site, and I am unable to run update.php.

Log returned this error:
PHP Fatal error: Function name must be a string in /drupal/sites/all/modules/ctools/includes/content.theme.inc on line 19

thank you

Comments

merlinofchaos’s picture

Status: Active » Fixed

I don't know how that function managed to work. Maybe it simply didn't and we didn't notice, but why did you get a fatal error and I didn't? I do not know.

Anyway, fix checked into -dev.

The workaround is to use this (entire file pasted here to make it easier)

// $Id: content.theme.inc,v 1.3 2009/05/11 22:01:42 merlinofchaos Exp $

/**
 * @file
 * Contains theme registry and theme implementations for the content types.
 */

/**
 * Implementation of hook_theme to load all content plugins and pass thru if
 * necessary.
 */
function ctools_content_theme(&$theme) {
  ctools_include('content');

  $plugins = ctools_get_content_types();
  foreach ($plugins as $plugin) {
    if ($function = ctools_plugin_get_function($plugin, 'hook theme')) {
      $function($theme, $plugin);
    }
  }
}

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.