Good morning,
An error appeared on my site a few days ago without me touching anything
[quote]Warning: Undefined array key “background_display” in /home/…mySite…/wp-content/plugins/siteorigin-panels/inc/styles.php on line 74[/quote]
This warning is displayed on the home page of my site in several places, this is really disturbing and I can’t find a way to fix it.
have a look
The WordPress theme used is flash from SiteOrigin which has been working correctly for several years.
This incident caused the hiding of all the images on the site, something that I was able to restore by reselecting one of the images, which restored the display of all the images.
There remains this very annoying warning.
Please help me resolve this issue.
Undefined array key “background_display”
This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.
Hi Bertrand
Thanks for posting your question and for notifying us of the warning. I’ve reported the issue to our developer to resolve in the next release of Page Builder.
Ideally, notices, warnings, and errors shouldn’t be displayed on a production website. If you have the ability to either use an FTP program or the Hosting File Manager available in your hosting control panel, you can download the wp-config file from your WordPress root folder and set errors to false. The following guide discusses how to do that.
https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/
Please let us know if any follow-up queries arise.
Thanks
Andrew
Thank You Andrew for your answer, I did’nt kew that code, I will remember me of it for all future WordPress blogs.
my site is now clean in front end.
Thanks and happy new year !
Thanks for your reply and understanding; I’m glad to hear the immediate issue is resolved.
Alex at SiteOrigin will attend to the warning this week.
If you need to troubleshoot an issue in the future, refer to the WordPress guide linked above to enable debugging, display, and logging so information will be displayed during the troubleshooting process.
Happy New Year!
Cheers
Andrew