Fatal error: Uncaught Error: Call to a member function id() on bool in /home/weeziti/cmmotors/classes/controller/FrontCtrl.php:196 Stack trace: #0 /home/weeziti/cmmotors/classes/router.php(423): FrontCtrl->car(2044) #1 [internal function]: {closure}('2044') #2 /home/weeziti/cmmotors/vendor/slim/slim/Slim/Route.php(468): call_user_func_array(Object(Closure), Array) #3 /home/weeziti/cmmotors/vendor/slim/slim/Slim/Slim.php(1355): Slim\Route->dispatch() #4 /home/weeziti/cmmotors/vendor/slim/slim/Slim/Middleware/Flash.php(85): Slim\Slim->call() #5 /home/weeziti/cmmotors/vendor/slim/slim/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call() #6 /home/weeziti/cmmotors/vendor/slim/slim/Slim/Middleware/SessionCookie.php(110): Slim\Middleware\MethodOverride->call() #7 /home/weeziti/cmmotors/vendor/slim/slim/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\SessionCookie->call() #8 /home/weeziti/cmmotors/vendor/slim/slim/Slim/Slim.php(1300): Slim\Middleware\PrettyExceptions->call() #9 /home/weeziti/cmmotors/ww in /home/weeziti/cmmotors/classes/controller/FrontCtrl.php on line 196