Fatal error: Uncaught TypeError: Argument 1 passed to AuthComponent::identify() must be an instance of CakeRequest, null given, called in /var/www/Vendor/cakephp/cakephp/lib/Cake/Controller/Component/AuthComponent.php on line 611 and defined in /var/www/Vendor/cakephp/cakephp/lib/Cake/Controller/Component/AuthComponent.php:765 Stack trace: #0 /var/www/Vendor/cakephp/cakephp/lib/Cake/Controller/Component/AuthComponent.php(611): AuthComponent->identify(NULL, NULL) #1 /var/www/app/Controller/AppController.php(161): AuthComponent->login() #2 /var/www/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php(243): AppController->beforeFilter(Object(CakeEvent)) #3 /var/www/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(677): CakeEventManager->dispatch(Object(CakeEvent)) #4 /var/www/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(158): Controller->startupProcess() #5 /var/www/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(95): ExceptionRenderer->_getController(Object(NotFoundException)) #6 /v in /var/www/Vendor/cakephp/cakephp/lib/Cake/Controller/Component/AuthComponent.php on line 765