Error: Could not insert a new entry to the Moodle log. INSERT command denied to user 'u986163612_acad'@'localhost' for table `u986163612_acad`.`mdl_log`
  • line 1624 of /lib/datalib.php: call to debugging()
  • line 131 of /mod/forum/view.php: call to add_to_log()

Error writing to database

More information about this error

Debug info: INSERT command denied to user 'u986163612_acad'@'localhost' for table `u986163612_acad`.`mdl_config_plugins`
INSERT INTO mdl_config_plugins (plugin,name,value) VALUES(?,?,?)
[array (
0 => 'admin',
1 => 'lastloginserterrormail',
2 => 1719095822,
)]
Error code: dmlwriteexception
Stack trace:
  • line 426 of /lib/dml/moodle_database.php: dml_write_exception thrown
  • line 1089 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
  • line 1131 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->insert_record_raw()
  • line 1344 of /lib/moodlelib.php: call to mysqli_native_moodle_database->insert_record()
  • line 1639 of /lib/datalib.php: call to set_config()
  • line 131 of /mod/forum/view.php: call to add_to_log()