Im unable to add a question directly to a quiz activity ie not from the question bank. Error, debug info below. Steps to replicate issue:
Login as editing teacher to a course
Add an activity > Quiz > Add a Question... > Choose a question type to add > Next
Neither a question id, nor a category id and question type, was specified.
More information about this error
line 421 of /lib/setuplib.php: moodle_exception thrown
line 121 of /question/question.php: call to print_error()