Moodle 3.5 - PostgreSQL
I found out that I'm unable to add questions to a quiz in our production server because it doesn't have any section associated to it.
That is something unique (among more than 5K quizzes), and it really puzzles me. How could that happen?
Checking the database:
select id from mdl_quiz where id not in (select quizid from mdl_quiz_sections);
Checking the course logs I could find that the quiz was created in August 2019, and it had questions before... so it was not a problem in the quiz creation process... Is there some chance that the single section has been deleted?
If someone experienced something similar or if someone has a clue about what is going on please let me know.