Not sure exactly how to reproduce this issue, but sometimes $slideshows = module_invoke_all('views_slideshow_slideshow_info'); is returning an empty array and displaying the error "No main frame module is enabled for views slideshow".

For the cycle plugin this appears to be because views_slideshow_cycle.views_slideshow.inc is not being loaded, despite it being listed in views_slideshow_cycle.info. The attached patch declares the available hooks by implementing hook_hook_info() thereby autoloading any files in the format $module.$group.inc.

FWIW you can run this code on any page that doesn't have a slideshow and get an empty array. print_r(module_implements('views_slideshow_slideshow_info'));

It may also be worth noting that this particular caching issue is on an Acquia Dev Cloud site with Varnish and Memcached, and the slideshow is on a Panels page.

CommentFileSizeAuthor
views_slideshow_hooks_not_invoked.patch836 bytesmstrelan
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

NickDickinsonWilde’s picture

Issue summary: View changes
Status: Needs review » Closed (cannot reproduce)