Moodle 4.3.2
Ubuntu Linux 22.04
Ubuntu Linux 22.04
I noticed the notification that cron had not run in six days. I did a manual cron php admin/cli/cron.php and received this output:
-------------SNIP-------------
Execute scheduled task: Site registration (core\task\registration_cron_task)
Default exception handler: Exception - Class "IntlTimeZone" not found Debug:
Error code: generalexceptionmessage
* line 755 of /lib/classes/date.php: Error thrown
* line 906 of /lib/classes/date.php: call to core_date::{closure}()
* line ? of unknownfile: call to core_date::{closure}()
* line 887 of /lib/classes/date.php: call to preg_replace_callback()
* line 2390 of /lib/moodlelib.php: call to core_date::strftime()
* line 327 of /calendar/type/gregorian/classes/structure.php: call to date_format_string()
* line 2331 of /lib/moodlelib.php: call to calendartype_gregorian\structure->timestamp_to_date_string()
* line 561 of /lib/classes/cron.php: call to userdate()
* line 388 of /lib/classes/cron.php: call to core\cron::set_process_title()
* line 208 of /lib/classes/cron.php: call to core\cron::run_inner_scheduled_task()
* line 125 of /lib/classes/cron.php: call to core\cron::run_scheduled_tasks()
* line 186 of /admin/cli/cron.php: call to core\cron::run_main_process()
!!! Exception - Class "IntlTimeZone" not found !!!
PHP Fatal error: Uncaught Error: Call to a member function real_escape_string() on null in /var/www/html/maolonline/moodle/lib/dml/mysqli_native_moodle_database.php:1265
Stack trace:
#0 /var/www/html/maolonline/moodle/lib/dml/mysqli_native_moodle_database.php(1394): mysqli_native_moodle_database->emulate_bound_params()
#1 /var/www/html/maolonline/moodle/lib/dml/moodle_database.php(1683): mysqli_native_moodle_database->get_records_sql()
#2 /var/www/html/maolonline/moodle/lib/classes/lock/mysql_lock_factory.php(144): moodle_database->get_record_sql()
#3 /var/www/html/maolonline/moodle/lib/classes/lock/lock.php(100): core\lock\mysql_lock_factory->release_lock()
#4 /var/www/html/maolonline/moodle/lib/classes/lock/lock.php(114): core\lock\lock->release()
#5 [internal function]: core\lock\lock->__destruct()
#6 {main}
thrown in /var/www/html/maolonline/moodle/lib/dml/mysqli_native_moodle_database.php on line 1265
Default exception handler: Exception - Class "IntlTimeZone" not found Debug:
Error code: generalexceptionmessage
* line 755 of /lib/classes/date.php: Error thrown
* line 906 of /lib/classes/date.php: call to core_date::{closure}()
* line ? of unknownfile: call to core_date::{closure}()
* line 887 of /lib/classes/date.php: call to preg_replace_callback()
* line 2390 of /lib/moodlelib.php: call to core_date::strftime()
* line 327 of /calendar/type/gregorian/classes/structure.php: call to date_format_string()
* line 2331 of /lib/moodlelib.php: call to calendartype_gregorian\structure->timestamp_to_date_string()
* line 561 of /lib/classes/cron.php: call to userdate()
* line 388 of /lib/classes/cron.php: call to core\cron::set_process_title()
* line 208 of /lib/classes/cron.php: call to core\cron::run_inner_scheduled_task()
* line 125 of /lib/classes/cron.php: call to core\cron::run_scheduled_tasks()
* line 186 of /admin/cli/cron.php: call to core\cron::run_main_process()
!!! Exception - Class "IntlTimeZone" not found !!!
PHP Fatal error: Uncaught Error: Call to a member function real_escape_string() on null in /var/www/html/maolonline/moodle/lib/dml/mysqli_native_moodle_database.php:1265
Stack trace:
#0 /var/www/html/maolonline/moodle/lib/dml/mysqli_native_moodle_database.php(1394): mysqli_native_moodle_database->emulate_bound_params()
#1 /var/www/html/maolonline/moodle/lib/dml/moodle_database.php(1683): mysqli_native_moodle_database->get_records_sql()
#2 /var/www/html/maolonline/moodle/lib/classes/lock/mysql_lock_factory.php(144): moodle_database->get_record_sql()
#3 /var/www/html/maolonline/moodle/lib/classes/lock/lock.php(100): core\lock\mysql_lock_factory->release_lock()
#4 /var/www/html/maolonline/moodle/lib/classes/lock/lock.php(114): core\lock\lock->release()
#5 [internal function]: core\lock\lock->__destruct()
#6 {main}
thrown in /var/www/html/maolonline/moodle/lib/dml/mysqli_native_moodle_database.php on line 1265
-------------END SNIP--------
Looks like a number of errors. Any suggestions on how to run these down?