bobopinna / moodle-mod_reservation

Moodle Reservation activity module
https://moodle.org/plugins/mod_reservation
GNU General Public License v3.0
5 stars 4 forks source link

Cron error (course_delete_modules & lock) #25

Closed ghost closed 3 years ago

ghost commented 4 years ago

I found an error in cron log...

screen

The cause was determined using the following command: php admin/cli/adhoc_task.php --showsql --showdebugging --execute

I found out that in one table of the database (within the Reservation plugin) there is a record for a user that no longer exists. The reservation request persisted in the given reservation from this user (table reservation_request).

More info: [https://moodle.org/mod/forum/discuss.php?d=413095]

bobopinna commented 4 years ago

I think I found a fix for it.

Please download last commit on github to get it.