Apologies if this question is already answered somewhere else but I cannot find the answer and I've looked at a few of the PEAR error handling questions.
I have a situation with a legacy site which is still in PHP4 (I know, it is old). Our server is now on PHP5 and ideally, over time we'd like to move to PHP7 but as it stands we cannot for the time being.
Since PHP5 switch we are getting a lot of deprecation errors and many of these relate to PEAR.
Here is an example:
PHP Deprecated: Non-static method MDB::isError() should not be called statically, assuming $this from incompatible context in path/public_html/_ext/pear/MDB.php on line 222
I've looked around quite a lot too and error reporting is off in PHP.ini but the errors still keep spilling out to the error log and filling up the disk on the site every few days.
Can anyone provide any idea on how to turn the errors off in PEAR for now?
Thanks