by Constance Horne.
Added statement (binlog_format=ROW) to my.ncf and rebooted. I am still getting the same errors:
Debug info:
Cannot execute statement: impossible to write to binary log since
BINLOG_FORMAT = STATEMENT and at least one table uses a storage engine
limited to row-based logging. InnoDB is limited to row-logging when
transaction isolation level is READ COMMITTED or READ UNCOMMITTED.
DELETE FROM mdl_files WHERE id = ?
[array (
0 => '2345',
)]
Error code: dmlwriteexception
DELETE FROM mdl_files WHERE id = ?
[array (
0 => '2345',
)]
Error code: dmlwriteexception
Stack trace:
- line 429 of /lib/dml/moodle_database.php: dml_write_exception thrown
- line 1310 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
- line 1696 of /lib/dml/moodle_database.php: call to mysqli_native_moodle_database->delete_records_select()
- line 293 of /lib/filestorage/stored_file.php: call to moodle_database->delete_records()
- line 623 of /lib/filestorage/file_storage.php: call to stored_file->delete()
- line 585 of /mod/certificate/lib.php: call to file_storage->delete_area_files()
- line 150 of /mod/certificate/view.php: call to certificate_save_pdf()