vadimonus / moodle-local_deleteoldquizattempts

GNU General Public License v3.0
3 stars 3 forks source link

Unknown column 'hidden' in 'where clause' #6

Open dharmikvyas opened 1 month ago

dharmikvyas commented 1 month ago

Hi, I am getting following debug information when attempting to delete .. `Execute scheduled task: Old quiz and question attempts deletion (local_deleteoldquizattempts\task\delete_attempts_task) ... started 18:20:01. Current memory use 20.7 MB. Deleted 0 quiz attempts. ... used 2 dbqueries ... used 0.036534070968628 seconds Scheduled task failed: Old quiz and question attempts deletion (local_deleteoldquizattempts\task\delete_attempts_task),Error reading from database Debug info: Unknown column 'hidden' in 'where clause' SELECT * FROM mdl_question WHERE hidden = ? AND NOT EXISTS ( SELECT 1 FROM mdl_question_attempts WHERE mdl_question_attempts.questionid = mdl_question.id ) AND NOT EXISTS ( SELECT 1 FROM mdl_quiz_slots WHERE mdl_quiz_slots.questionid = mdl_question.id ) [array ( 0 => 1, )] Backtrace:

vadimonus commented 1 month ago

@dharmikvyas , please provide information about your moodle version, plugin version and environment