Notice: Undefined index: s in D:\WebSites\VideoPoints\public\videos.php on line 24

Fatal error: Uncaught TypeError: Argument 1 passed to DataManager::getRelatedCoursesForCourse() must be of the type string, null given, called in D:\WebSites\VideoPoints\public\controllers\_videos.php on line 17 and defined in D:\WebSites\VideoPoints\public\data\_dataManager.php:148 Stack trace: #0 D:\WebSites\VideoPoints\public\controllers\_videos.php(17): DataManager::getRelatedCoursesForCourse(NULL) #1 D:\WebSites\VideoPoints\public\videos.php(31): VideoController::getLectureVideosAndRelatedCoursesForCourse('9dfcd5e558dfa04...', NULL) #2 {main} thrown in D:\WebSites\VideoPoints\public\data\_dataManager.php on line 148