Notice: Undefined index: rating in /var/www/customsites/ on line 57

Notice: Undefined index: duration in /var/www/customsites/ on line 58

Fatal error: Uncaught TypeError: Argument 1 passed to Models\CourseModel::calculateCredits() must be of the type integer, null given, called in /var/www/customsites/ on line 58 and defined in /var/www/customsites/ Stack trace: #0 /var/www/customsites/ Models\CourseModel->calculateCredits(NULL) #1 /var/www/customsites/ Models\CourseModel->getCourseInfo('supervision', NULL) #2 /var/www/customsites/ Views\CourseView->printWebinarInfo('supervision', NULL) #3 /var/www/customsites/ Views\CourseView->output('supervision', NULL) #4 {main} thrown in /var/www/customsites/ on line 30