I have a site set up with Panels, Page manager, panelizer. I'm on a Panels page and it's working well.
When i change branches in my git repo, to a branch which doesn't have panels module at all my site becomes unusable, i get this error:
( ! ) Fatal error: require_once() [function.require]: Failed opening required '........../sites/all/modules/contrib/panels/plugins/task_handlers/panel_context.inc' (include_path='.:/Applications/MAMP/bin/php/php5.3.14/lib/php/PEAR') in .........../sites/all/modules/contrib/ctools/includes/plugins.inc on line 480
Call Stack
# Time Memory Function Location
1 0.0032 638032 {main}( ) ../index.php:0
2 1.1519 42469240 menu_execute_active_handler( ) ../index.php:21
3 1.1556 42754640 call_user_func_array ( ) ../menu.inc:517
4 1.1556 42754976 page_manager_page_execute( ) ../menu.inc:517
5 1.1666 43006632 ctools_context_handler_render( ) ../page.inc:322
6 1.1752 43016912 ctools_context_handler_get_render_handler( ) ../context-task-handler.inc:42
7 1.1752 43017360 page_manager_get_task_handler( ) ../context-task-handler.inc:56
8 1.1752 43017520 ctools_get_plugins( ) ../page_manager.module:877
9 1.1753 43019072 ctools_plugin_load_includes( ) ../plugins.inc:317
The error remains for all page requests.
After clearing cache it all works again, but the other day drush cc all was failing as well, but I can't reproduce that now.
Comments
Comment #1
jenlamptonI'm seeing the same thing, but in my case a cache-clear does not solve the problem. Once a plugin has been used, Panels expects it to remain forever. To clarify, this problem persists even when there are no panels using this plugin!
I have a handful of custom content panes, and when we stop using one and delete it from the codebase the whole site crashes with this error:
The
include_onceshould only be called for content types that are actually in use, or at the very least cache-clear should clear the cache (?) of loaded plugins and read those that are actually on disk.My current work around is to keep the file in Git but delete all the code from it. A sloppy solution.
Comment #2
jenlamptonSee also #2461809: Cannot delete custom theme layout directory
Comment #3
jenlampton#1032054: Fatal error: require_once() [function.require]: Failed opening required includes/export-ui.inc in includes/plugins.inc on line
Comment #4
anybodyEDIT: Sorry reply mistake! (can be deleted)
#1032054: Fatal error: require_once() [function.require]: Failed opening required includes/export-ui.inc in includes/plugins.inc on line