Notice: Undefined offset: 0 in /home/yocoach87h1y172/onlinetutoring.yo-coach.com/application/controllers/TeachersController.php on line 120

Notice: Trying to access array offset on value of type null in /home/yocoach87h1y172/onlinetutoring.yo-coach.com/application/controllers/TeachersController.php on line 122

Fatal error: Uncaught TypeError: Argument 1 passed to UserSetting::getUserSettings() must be of the type int, null given, called in /home/yocoach87h1y172/onlinetutoring.yo-coach.com/application/controllers/TeachersController.php on line 122 and defined in /home/yocoach87h1y172/onlinetutoring.yo-coach.com/application/models/UserSetting.php:43 Stack trace: #0 /home/yocoach87h1y172/onlinetutoring.yo-coach.com/application/controllers/TeachersController.php(122): UserSetting::getUserSettings(NULL) #1 /home/yocoach87h1y172/onlinetutoring.yo-coach.com/library/core/FatApplication.class.php(0): TeachersController->view('amira') #2 /home/yocoach87h1y172/onlinetutoring.yo-coach.com/public/index.php(13): FatApplication->callHook() #3 {main} thrown in /home/yocoach87h1y172/onlinetutoring.yo-coach.com/application/models/UserSetting.php on line 43