I’m getting the following error which is causing my site to through an error every few hours
[warn] mod_fcgid: stderr: PHP Warning: reset() expects parameter 1 to be array, null given in /home/linweb22/d/drivedevelopment.co.uk/user/htdocs/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_layerslider.php on line 40
Please upgrade to Enfold 1.7.
Do you have W3 Total Cache plugin? Flush the cache settings.
I’m already using Enfold 1.7 and I don’t have W3 Total Cache Plugin installed so the website won’t be caching
The error that gets posted happens every few hours?
Please open up wp-contentthemesenfoldconfig-templatebuilderavia-shortcodesslideshow_layerslider.php and replace
if(empty($params['args']['id'])) $params['args']['id'] = reset($slides);
$params['args']['id'] = (!empty($slides) && is_array($slides)) ? reset($slides) : '';
I tagged this thread for Kriesi’s attention.
The topic ‘Layerslider shortcode error’ is closed to new replies.