Notice: Trying to get property of non-object in /var/www/html/app/Controllers/BannerController.php on line 16

Warning: Creating default object from empty value in /var/www/html/app/Controllers/BannerController.php on line 16

Fatal error: Uncaught Error: Call to undefined method stdClass::save() in /var/www/html/app/Controllers/BannerController.php:17 Stack trace: #0 [internal function]: App\Controllers\BannerController->redirect() #1 /var/www/html/core/BaseController.php(69): call_user_func(Array) #2 /var/www/html/index.php(60): Core\BaseController->action('redirect') #3 {main} thrown in /var/www/html/app/Controllers/BannerController.php on line 17