Cron job not running due to php error

Cron job not running due to php error

by Sjoerd Flonk -
Number of replies: 1

Hello,

I run a moodle instance of Moodle 3.10.4 (Build: 20210510)

after an (linux) update on my server i get the following error:

PHP Fatal error: Cannot redeclare error() in /var/www/vhosts/.myserver,nl/httpdocs/lib/deprecatedlib.php on line 665

This is the code in the deprecatedlib.php file around line 665:



Because of the error the cron cannot complete.

Any suggestions how to fix this problem?


Thanks...

Average of ratings: -