Notice: Undefined offset: 0 in /home/yocoach87h1y172/ on line 120

Notice: Trying to access array offset on value of type null in /home/yocoach87h1y172/ 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/ on line 122 and defined in /home/yocoach87h1y172/ Stack trace: #0 /home/yocoach87h1y172/ UserSetting::getUserSettings(NULL) #1 /home/yocoach87h1y172/ TeachersController->view('amira') #2 /home/yocoach87h1y172/ FatApplication->callHook() #3 {main} thrown in /home/yocoach87h1y172/ on line 43