Fatal error: Uncaught TypeError: Argument 1 passed to Test::getRandomsInCategory() must be of the type integer, null given, called in /home/c/ci40190/quiz/public_html/test-answers.php on line 48 and defined in /home/c/ci40190/quiz/public_html/api/v2/classes/Test.php:44 Stack trace: #0 /home/c/ci40190/quiz/public_html/test-answers.php(48): Test->getRandomsInCategory(NULL, 18) #1 {main} thrown in /home/c/ci40190/quiz/public_html/api/v2/classes/Test.php on line 44