Moodle was ugpraded from Moodle 3.5 to Moodle 3.11 via git.
When opening "mod/quiz/report.php?id=<id_of_quiz>&mode=overview", 64 attempts are listed.
Clicking on review attempt results in the following error:
Error code: attempterrorinvalid
line 2711 of /mod/quiz/locallib.php: moodle_exception thrown
line 46 of /mod/quiz/review.php: call to quiz_create_attempt_handling_errors()
The table mdl_quiz_attempts contains an attempt with the id provided in the URL (for example: mod/quiz/review.php?attempt=11200).