Notice (8): Trying to access array offset on value of type null [APP/Controller/Component/CAuthComponent.php, line 374]Code Context private static function getUserID()
{
return CakeSession::read('Auth.User')['id'];
CAuthComponent::getUserID() - APP/Controller/Component/CAuthComponent.php, line 374
CAuthComponent::checkACF() - APP/Controller/Component/CAuthComponent.php, line 383
CAuthComponent::__construct() - APP/Controller/Component/CAuthComponent.php, line 64
ComponentCollection::load() - CORE/Cake/Controller/ComponentCollection.php, line 116
ComponentCollection::init() - CORE/Cake/Controller/ComponentCollection.php, line 53
Controller::constructClasses() - CORE/Cake/Controller/Controller.php, line 649
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 188
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 137
Notice (8): Trying to access array offset on value of type null [APP/Controller/Component/CAuthComponent.php, line 374]Code Context private static function getUserID()
{
return CakeSession::read('Auth.User')['id'];
CAuthComponent::getUserID() - APP/Controller/Component/CAuthComponent.php, line 374
CAuthComponent::__construct() - APP/Controller/Component/CAuthComponent.php, line 65
ComponentCollection::load() - CORE/Cake/Controller/ComponentCollection.php, line 116
ComponentCollection::init() - CORE/Cake/Controller/ComponentCollection.php, line 53
Controller::constructClasses() - CORE/Cake/Controller/Controller.php, line 649
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 188
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 137
Notice (8): Trying to access array offset on value of type null [APP/Controller/Component/CAuthComponent.php, line 247]Code Context {
if (is_null($user_id)) {
return CakeSession::read('Auth.User')['role_id'];
$user_id = null
CAuthComponent::getUserRoleID() - APP/Controller/Component/CAuthComponent.php, line 247
CAuthComponent::__construct() - APP/Controller/Component/CAuthComponent.php, line 66
ComponentCollection::load() - CORE/Cake/Controller/ComponentCollection.php, line 116
ComponentCollection::init() - CORE/Cake/Controller/ComponentCollection.php, line 53
Controller::constructClasses() - CORE/Cake/Controller/Controller.php, line 649
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 188
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 137
Notice (8): Trying to access array offset on value of type null [APP/Controller/Component/CAuthComponent.php, line 374]Code Context private static function getUserID()
{
return CakeSession::read('Auth.User')['id'];
CAuthComponent::getUserID() - APP/Controller/Component/CAuthComponent.php, line 374
CAuthComponent::checkACF() - APP/Controller/Component/CAuthComponent.php, line 383
CAuthComponent::__construct() - APP/Controller/Component/CAuthComponent.php, line 64
ComponentCollection::load() - CORE/Cake/Controller/ComponentCollection.php, line 116
ComponentCollection::init() - CORE/Cake/Controller/ComponentCollection.php, line 53
Controller::constructClasses() - CORE/Cake/Controller/Controller.php, line 649
CakeErrorController::__construct() - CORE/Cake/Controller/CakeErrorController.php, line 47
ExceptionRenderer::_getController() - CORE/Cake/Error/ExceptionRenderer.php, line 157
ExceptionRenderer::__construct() - CORE/Cake/Error/ExceptionRenderer.php, line 95
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 126
[main] - [internal], line ??
Notice (8): Trying to access array offset on value of type null [APP/Controller/Component/CAuthComponent.php, line 374]Code Context private static function getUserID()
{
return CakeSession::read('Auth.User')['id'];
CAuthComponent::getUserID() - APP/Controller/Component/CAuthComponent.php, line 374
CAuthComponent::__construct() - APP/Controller/Component/CAuthComponent.php, line 65
ComponentCollection::load() - CORE/Cake/Controller/ComponentCollection.php, line 116
ComponentCollection::init() - CORE/Cake/Controller/ComponentCollection.php, line 53
Controller::constructClasses() - CORE/Cake/Controller/Controller.php, line 649
CakeErrorController::__construct() - CORE/Cake/Controller/CakeErrorController.php, line 47
ExceptionRenderer::_getController() - CORE/Cake/Error/ExceptionRenderer.php, line 157
ExceptionRenderer::__construct() - CORE/Cake/Error/ExceptionRenderer.php, line 95
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 126
[main] - [internal], line ??
Notice (8): Trying to access array offset on value of type null [APP/Controller/Component/CAuthComponent.php, line 247]Code Context {
if (is_null($user_id)) {
return CakeSession::read('Auth.User')['role_id'];
$user_id = null
CAuthComponent::getUserRoleID() - APP/Controller/Component/CAuthComponent.php, line 247
CAuthComponent::__construct() - APP/Controller/Component/CAuthComponent.php, line 66
ComponentCollection::load() - CORE/Cake/Controller/ComponentCollection.php, line 116
ComponentCollection::init() - CORE/Cake/Controller/ComponentCollection.php, line 53
Controller::constructClasses() - CORE/Cake/Controller/Controller.php, line 649
CakeErrorController::__construct() - CORE/Cake/Controller/CakeErrorController.php, line 47
ExceptionRenderer::_getController() - CORE/Cake/Error/ExceptionRenderer.php, line 157
ExceptionRenderer::__construct() - CORE/Cake/Error/ExceptionRenderer.php, line 95
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 126
[main] - [internal], line ??
Notice (8): Trying to access array offset on value of type null [APP/Controller/Component/CAuthComponent.php, line 374]Code Context private static function getUserID()
{
return CakeSession::read('Auth.User')['id'];
CAuthComponent::getUserID() - APP/Controller/Component/CAuthComponent.php, line 374
CAuthComponent::checkACF() - APP/Controller/Component/CAuthComponent.php, line 383
CAuthComponent::__construct() - APP/Controller/Component/CAuthComponent.php, line 64
ComponentCollection::load() - CORE/Cake/Controller/ComponentCollection.php, line 116
ComponentCollection::init() - CORE/Cake/Controller/ComponentCollection.php, line 53
Controller::constructClasses() - CORE/Cake/Controller/Controller.php, line 649
CakeErrorController::__construct() - CORE/Cake/Controller/CakeErrorController.php, line 47
ExceptionRenderer::_getController() - CORE/Cake/Error/ExceptionRenderer.php, line 157
ExceptionRenderer::__construct() - CORE/Cake/Error/ExceptionRenderer.php, line 95
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 126
ErrorHandler::handleFatalError() - CORE/Cake/Error/ErrorHandler.php, line 269
ErrorHandler::handleError() - CORE/Cake/Error/ErrorHandler.php, line 212
App::_checkFatalError() - CORE/Cake/Core/App.php, line 970
App::shutdown() - CORE/Cake/Core/App.php, line 943
[main] - [internal], line ??
Notice (8): Trying to access array offset on value of type null [APP/Controller/Component/CAuthComponent.php, line 374]Code Context private static function getUserID()
{
return CakeSession::read('Auth.User')['id'];
CAuthComponent::getUserID() - APP/Controller/Component/CAuthComponent.php, line 374
CAuthComponent::__construct() - APP/Controller/Component/CAuthComponent.php, line 65
ComponentCollection::load() - CORE/Cake/Controller/ComponentCollection.php, line 116
ComponentCollection::init() - CORE/Cake/Controller/ComponentCollection.php, line 53
Controller::constructClasses() - CORE/Cake/Controller/Controller.php, line 649
CakeErrorController::__construct() - CORE/Cake/Controller/CakeErrorController.php, line 47
ExceptionRenderer::_getController() - CORE/Cake/Error/ExceptionRenderer.php, line 157
ExceptionRenderer::__construct() - CORE/Cake/Error/ExceptionRenderer.php, line 95
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 126
ErrorHandler::handleFatalError() - CORE/Cake/Error/ErrorHandler.php, line 269
ErrorHandler::handleError() - CORE/Cake/Error/ErrorHandler.php, line 212
App::_checkFatalError() - CORE/Cake/Core/App.php, line 970
App::shutdown() - CORE/Cake/Core/App.php, line 943
[main] - [internal], line ??
Notice (8): Trying to access array offset on value of type null [APP/Controller/Component/CAuthComponent.php, line 247]Code Context {
if (is_null($user_id)) {
return CakeSession::read('Auth.User')['role_id'];
$user_id = null
CAuthComponent::getUserRoleID() - APP/Controller/Component/CAuthComponent.php, line 247
CAuthComponent::__construct() - APP/Controller/Component/CAuthComponent.php, line 66
ComponentCollection::load() - CORE/Cake/Controller/ComponentCollection.php, line 116
ComponentCollection::init() - CORE/Cake/Controller/ComponentCollection.php, line 53
Controller::constructClasses() - CORE/Cake/Controller/Controller.php, line 649
CakeErrorController::__construct() - CORE/Cake/Controller/CakeErrorController.php, line 47
ExceptionRenderer::_getController() - CORE/Cake/Error/ExceptionRenderer.php, line 157
ExceptionRenderer::__construct() - CORE/Cake/Error/ExceptionRenderer.php, line 95
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 126
ErrorHandler::handleFatalError() - CORE/Cake/Error/ErrorHandler.php, line 269
ErrorHandler::handleError() - CORE/Cake/Error/ErrorHandler.php, line 212
App::_checkFatalError() - CORE/Cake/Core/App.php, line 970
App::shutdown() - CORE/Cake/Core/App.php, line 943
[main] - [internal], line ??
Fatal error: Uncaught Error: Undefined class constant 'VERSION' in /var/www/ialquran/app/Vendor/Aws3/Aws/functions.php:275
Stack trace:
#0 /var/www/ialquran/app/Vendor/Aws3/Aws/ClientResolver.php(616): Aws\default_http_handler()
#1 /var/www/ialquran/app/Vendor/Aws3/Aws/ClientResolver.php(286): Aws\ClientResolver::_default_handler()
#2 /var/www/ialquran/app/Vendor/Aws3/Aws/AwsClient.php(187): Aws\ClientResolver->resolve()
#3 /var/www/ialquran/app/Vendor/Aws3/Aws/S3/S3Client.php(325): Aws\AwsClient->__construct()
#4 /var/www/ialquran/app/Lib/Storage/S3Client.php(9): Aws\S3\S3Client->__construct()
#5 /var/www/ialquran/app/Lib/Storage/Storage.php(22): S3Client::setUp()
#6 /var/www/ialquran/app/Controller/AppController.php(167): Storage->__construct()
#7 /var/www/ialquran/lib/Cake/Event/CakeEventManager.php(244): AppController->beforeFilter()
#8 /var/www/ialquran/lib/Cake/Controller/Controller.php(682): CakeEventManager->dispatch()
#9 /var/www/ialquran/lib/Cake/Error/ExceptionRenderer.php(158): Controller->startupProcess()
#10 in /var/www/ialquran/app/Vendor/Aws3/Aws/functions.php on line 275