Open Jemt opened 2 months ago
Ugly work around: Disable error logging by disabling the selected line:
The PHP folks have been kind enough to ensure that the call to utf8_decode(..) within the error handler does not cause an infinite loop, it seems.
A huge amount of deprecation warnings are logged on PHP 8.2:
Error 8192: Function utf8_decode() is deprecated
Sure enough, utf8_decode(..) was deprecated with PHP 8.2: https://www.php.net/manual/en/function.utf8-decode.php
In my particular case the website's response time goes from ~200 ms to 3000-4000 seconds, when using MySQL as the database, where the deprecated error is logged 1012 times for each page load.
For a website using XML as the database, it is likely that the website will become unresponsive once the SMLog.xml.php file reaches a certain size, which will probably happen soon after upgrading to PHP 8.2.