I have panels, panelizer, ctools, admin menu and lots of other stuff in my system.
The issue is depending on adding/removing modules all content in the pages
/admin/structure/pages/nojs/operation/....
totally disappear and gives error message
Warning: Creating default object from empty value in ctools_access_get_loggedin_context() (line 1410
in /sites/all/modules/ctools/includes/context.inc

After some debugging i found out that in ctools/plugins/plugins.inc line 223
---------------------------------
static $drupal_static_fast;
if (!isset($drupal_static_fast)) {
$drupal_static_fast['plugins'] = &drupal_static('ctools_plugins', array());
}
$plugins = &$drupal_static_fast['plugins'];

$info = ctools_plugin_get_plugin_type_info(true); <= ******** this line is 223 ************

// Bail out noisily if an invalid module/type combination is requested.
-----------------------------------
Originally it looks like this
$info = ctools_plugin_get_plugin_type_info();
But when i add (true) it doesn't look inside the empty cache and recreates it perfectly.

Is the above a bug/feature or is something else the real problem?

Comments

arne_hortell’s picture

Priority: Normal » Critical

This issue has become critical because it breaks existing sites after upgrading or normal use.

patrickroma’s picture

same here... Any news on that issue?