error/quiz/notenoughrandomquestions

From MoodleDocs

This error shows when there are not enough questions in the question bank inside the requested category (the particular quiz, the particular course, the course category or the system level), for a particular quiz in order to produce the requested random question(s).

Please create more questions (in the appropriate quiz, course, course category, or system level) for this quiz, or remove the random questions from the quiz.