PS Also having other errors on other pages now. Now sure if it is related or not.
Plugin Support
Jelena
(@jmisic)
Hi,
These are just PHP Deprecated notices and cause no harm or actual errors on your site. This is just an artifact from support a large range of PHP versions and ensuring there’s a compatible library.
You probably shouldn’t be logging these on a production site. The best thing you can do here is configuring your PHP logging to not log Deprecation notices and here’s how to do that:
https://stackoverflow.com/questions/5628148/disable-e-deprecated-in-php-error-log#answer-5651783
We’ll also definitely review them and try to eliminate them for future releases.
If you’re getting other types of errors aside from deprecated ones, feel free to share them.
Thanks.
Plugin Author
Paul
(@paultgoodchild)
Deprecated notifications are part of PHP, and you’ll see them in greater numbers when you run higher versions of PHP.
They aren’t errors, but just notices to say that in future versions of PHP, they will likely generate errors.
You shouldn’t be displaying PHP Deprecation notices on a live WordPress site. Deprecations don’t cause problems and they don’t impact your site in any way… unless you display them on the website. That output may interfere with other processes, such as sending headers/cookies, perhaps as you’re alluding to when you say it’s causing other “errors” on other pages.
The solution is to not display deprecation notices, or errors, on a public, live website. We have an article on our site that outlines steps you can take to prevent PHP notices being displayed. There are many resources for this sort of thing if you want to find alternatives or perhaps options for your particularly web hosting setup. Here are some:
I hope this helps.
