Hello KevinTheJedi ,
I have applied your patch and it is working fine.
But it cause another problem. In Admin Dashboard, we can not see logs anymore.
I have checked the logs and it gives the following error:
AH01071: Got error 'PHP message: PHP Fatal error: Declaration of ContentAjaxAPI::log($id) must be compatible with ApiController::log($title, $msg, $level = LOG_WARN) in /var/www/vhosts/XXX/xxx.xxx.com/V1.17.2/include/ajax.content.php on line 22', referer: https://xxx.xxx.com/V1.17.2/scp/logs.php
How can I fix that?
I have attached the screenshot of the issue as well.