I've been asked to assist to update a very old Wordpress site that did not have any maintenance for over 5 years. I update Wordpress, purchased a license key for LayerSlider, as this configuration of this theme has some issues, I fixed a few issues and I am now reaching out to support to see if we can fix the last remaining issue with this site.
This last issue is LayerSlider related I believe. The site is showing this error:
Thank you for getting in touch with us. My name is John, and I'm happy to assist you today.
This error message is generated by your WordPress theme, Enfold. Quickly looking at your site, it seems you're using an outdated version of Enfold, so I'd strongly recommend updating it. It'll likely solve this issue as well as provide additional benefits.
I'd also recommend installing the official version of LayerSlider if you haven't done it already. WordPress cannot update the theme-bundled version since Enfold loads it in a non-standard way. However, you can just install it like you would normally do on a clean website, and the theme-bundled version will automatically disable itself to make way for the official release.
As far as I can tell from the screenshots, the official LayerSlider release is properly installed on your site (instead of the theme-bundled version), and it will receive automatic plugin updates. So that part is okay.
The error message, however, is generated by Enfold, and it doesn't seem that you've installed the latest theme version. Updating Enfold will likely solve the error messages issue. You can also consider disabling the WP Debug Mode if it's enabled to hide debug messages, but that wouldn't solve the underlying issue.
As mentioned, these error messages have nothing to do with LayerSlider. They're coming from Enfold. One of the error messages mentions LayerSlider, but it's still coming from the theme. You've pasted only one message, but occasionally I receive another one. That one, too, is coming from Enfold.
Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /home/public/sites/www.wolvesandbirds.nl/wp-content/themes/enfold/functions-enfold.php on line 324
Warning: Creating default object from empty value in /home/public/sites/www.wolvesandbirds.nl/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_layerslider/slideshow_layerslider.php on line 28
You can tell that the theme generates them by looking at the file path. I've highlighted the relevant part.
Dear Sir, Madam,
I've been asked to assist to update a very old Wordpress site that did not have any maintenance for over 5 years. I update Wordpress, purchased a license key for LayerSlider, as this configuration of this theme has some issues, I fixed a few issues and I am now reaching out to support to see if we can fix the last remaining issue with this site.
This last issue is LayerSlider related I believe. The site is showing this error:
Warning: Creating default object from empty value in /home/public/sites/www.wolvesandbirds.nl/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_layerslider/slideshow_layerslider.php on line 28
Hope you can assist.
Kind Regards,
Ruud Wever
Hi Ruud,
Thank you for getting in touch with us. My name is John, and I'm happy to assist you today.
This error message is generated by your WordPress theme, Enfold. Quickly looking at your site, it seems you're using an outdated version of Enfold, so I'd strongly recommend updating it. It'll likely solve this issue as well as provide additional benefits.
I'd also recommend installing the official version of LayerSlider if you haven't done it already. WordPress cannot update the theme-bundled version since Enfold loads it in a non-standard way. However, you can just install it like you would normally do on a clean website, and the theme-bundled version will automatically disable itself to make way for the official release.
Best Regards,
John | Kreatura Dev Team
As far as I can tell from the screenshots, the official LayerSlider release is properly installed on your site (instead of the theme-bundled version), and it will receive automatic plugin updates. So that part is okay.
The error message, however, is generated by Enfold, and it doesn't seem that you've installed the latest theme version. Updating Enfold will likely solve the error messages issue. You can also consider disabling the WP Debug Mode if it's enabled to hide debug messages, but that wouldn't solve the underlying issue.
As mentioned, these error messages have nothing to do with LayerSlider. They're coming from Enfold. One of the error messages mentions LayerSlider, but it's still coming from the theme. You've pasted only one message, but occasionally I receive another one. That one, too, is coming from Enfold.
Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /home/public/sites/www.wolvesandbirds.nl/wp-content/themes/enfold/functions-enfold.php on line 324
Warning: Creating default object from empty value in /home/public/sites/www.wolvesandbirds.nl/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_layerslider/slideshow_layerslider.php on line 28
You can tell that the theme generates them by looking at the file path. I've highlighted the relevant part.
Best Regards,
John | Kreatura Dev Team