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.
Comment | File | Size | Author |
---|---|---|---|
views_slideshow_hooks_not_invoked.patch | 836 bytes | mstrelan | |
Comments
Comment #1
NickDickinsonWilde