Tagged: Invalid argument.
Hi, I have this warning showing up on my site
Warning: Invalid argument supplied for foreach() in /home/kokanee/public_html/wp-content/themes/enfold/config-layerslider/LayerSlider/helpers/phpQuery.php on line 1774
I have the latest theme update 4.7.4
The latest WordPress 5.4.1
The Latest LayerSlider Premium 6.11.1
PHP Version 7.2
Hey Snerp,
Thanks for the login details, though I can’t see any warnings on either the front or back end using Chrome. How can we reproduce the results you are getting?
Best regards,
Rikard
You need to look at any of the other pages than the home page. See screencap below
https://postimg.cc/WD4w9kKK
Hi,
Thanks for the clarification. Did you make sure that WordPress debug is turned off on your installation? https://codex.wordpress.org/WP_DEBUG. You could also try to disable all plugins to see if one of them is causing the problem.
Best regards,
Rikard
Debug is not active – set to false.
Deactivated all plugins and issue still persists.
Hi,
Thanks for the update. I see that you have the LayerSlider installed as a standalone plugin, did you try to disable the bundled version under Enfold->Layout Builder? If you don’t need the standalone version then I would recommend that you disable it.
Best regards,
Rikard
We purchased the full WPLayserSlider plugin so we could use all the options, so yes we want to use it. I disabled the bundled LayerSlider as requested and still, the issue remains.
Hi Snerp,
https://postimg.cc/WD4w9kKK The warnings here are from the standalone plugin, you might want to write to the Layer Slider support or suppress warnings with the debug configuration.
Best regards,
Victoria