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]
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]
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 ??
Errors
Missing Controller
Error: JsController could not be found.
Error:
Create the class JsController below in file: app/Controller/JsController.php
<?php
class JsController extends AppController {
}
Notice:
If you want to customize this error message, create app/View/Errors/missing_controller.ctp