Hi,
I noticed a PHP Warning in my server’s error log:
PHP Warning: Invalid argument supplied for foreach() in wp-content/themes/enfold/config-layerslider/LayerSlider/layerslider.php on line 192
This message appears when I save a slider with just a slider image and no layers. Note that this does not break the slider but it would be better to add a check before giving $slide[‘sublayers’] to the foreach loop.
Regards,
Damien
Hey Bplessis!
We just include the LayerSlider plugin in our theme, we do not do any development on it. It would be best to contact the LayerSlider authors about this. If it doesn’t cause any problems then I would just ignore it.
Best regards,
Elliott
Hi Elliott,
Thanks for your answer. I’ll check the problem with Layerslider developers directly ! It’s never good to have err/warns in a production code, even if it does not seem to break things at the moment.
Regards,
Damien