Notice (8): Trying to access array offset on value of type null [APP/Controller/Component/CAuthComponent.php, line 374]
Notice (8): Trying to access array offset on value of type null [APP/Controller/Component/CAuthComponent.php, line 374]
Notice (8): Trying to access array offset on value of type null [APP/Controller/Component/CAuthComponent.php, line 374]
Notice (8): Trying to access array offset on value of type null [APP/Controller/Component/CAuthComponent.php, line 374]
Notice (8): Trying to access array offset on value of type null [APP/Controller/Component/CAuthComponent.php, line 247]

Fatal error: Uncaught TypeError: Return value of S3Client::setUpConfig() must be of the type array, null returned in /var/www/ab-husam/app/Lib/Storage/S3Client.php:14 Stack trace: #0 /var/www/ab-husam/app/Lib/Storage/S3Client.php(9): S3Client::setUpConfig() #1 /var/www/ab-husam/app/Lib/Storage/Storage.php(26): S3Client::setUp() #2 /var/www/ab-husam/app/Controller/AppController.php(195): Storage->__construct() #3 /var/www/ab-husam/lib/Cake/Event/CakeEventManager.php(244): AppController->beforeFilter() #4 /var/www/ab-husam/lib/Cake/Controller/Controller.php(682): CakeEventManager->dispatch() #5 /var/www/ab-husam/lib/Cake/Error/ExceptionRenderer.php(158): Controller->startupProcess() #6 /var/www/ab-husam/lib/Cake/Error/ExceptionRenderer.php(95): ExceptionRenderer->_getController() #7 /var/www/ab-husam/lib/Cake/Error/ErrorHandler.php(126): ExceptionRenderer->__construct() #8 /var/www/ab-husam/lib/Cake/Error/ErrorHandler.php(269): ErrorHandler::handleException() #9 /var/www/ab-husam/lib/Cake/Error/ErrorHandler.php(212): ErrorH in /var/www/ab-husam/app/Lib/Storage/S3Client.php on line 14