I am working on an old site and it is an old version of WordPress. I am getting deprecated errors everywhere 🙁
I have put
error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);
under where the original code sets the reporting so to over-ride it but I am still getting errors. Even from the same document below where I have entered the above code.
Any help is appreciated.
@maiorano84 It’s not always possible to just simply upgrade WordPress depending on the hosting company – as some are still running MySQL 4 or lower. Whereas WordPress 3.2 upwards requires MySQL 5.
As for the original question, try setting display_errors to off also.