Warning (2): file_put_contents(/var/www/hamzeh/app/tmp/logs/error.log): failed to open stream: Permission denied [CORE/Cake/Log/Engine/FileLog.php, line 142]
$type = 'error'
$message = '[MissingControllerException] Controller class JsController could not be found.
Exception Attributes: array (
'class' => 'JsController',
'plugin' => NULL,
)
Request URL: /js/socket.io.min.js.map?url=js%2Fsocket.io.min.js.map
Stack Trace:
#0 /var/www/hamzeh/app/webroot/index.php(142): Dispatcher->dispatch()
#1 {main}'
$output = '2025-03-06 07:51:00 Error: [MissingControllerException] Controller class JsController could not be found.
Exception Attributes: array (
'class' => 'JsController',
'plugin' => NULL,
)
Request URL: /js/socket.io.min.js.map?url=js%2Fsocket.io.min.js.map
Stack Trace:
#0 /var/www/hamzeh/app/webroot/index.php(142): Dispatcher->dispatch()
#1 {main}
'
$filename = 'error.log'
$pathname = '/var/www/hamzeh/app/tmp/logs/error.log'
file_put_contents - [internal], line ??
FileLog::write() - CORE/Cake/Log/Engine/FileLog.php, line 142
CakeLog::write() - CORE/Cake/Log/CakeLog.php, line 445
ErrorHandler::_log() - CORE/Cake/Error/ErrorHandler.php, line 188
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 118
[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::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 ??
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::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
Storage::__construct() - APP/Lib/Storage/Storage.php, line 27
AppController::beforeFilter() - APP/Controller/AppController.php, line 187
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 244
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 682
ExceptionRenderer::_getController() - CORE/Cake/Error/ExceptionRenderer.php, line 158
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
Storage::__construct() - APP/Lib/Storage/Storage.php, line 27
AppController::beforeFilter() - APP/Controller/AppController.php, line 187
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 244
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 682
ExceptionRenderer::_getController() - CORE/Cake/Error/ExceptionRenderer.php, line 158
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
Storage::__construct() - APP/Lib/Storage/Storage.php, line 27
AppController::beforeFilter() - APP/Controller/AppController.php, line 187
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 244
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 682
ExceptionRenderer::_getController() - CORE/Cake/Error/ExceptionRenderer.php, line 158
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/Lib/Manual/Manual.php, line 30]
public function __construct(){ $this->role_id = CakeSession::read('Auth.User')['role_id'];
Manual::__construct() - APP/Lib/Manual/Manual.php, line 30
AppController::beforeRender() - APP/Controller/AppController.php, line 152
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 244
Controller::render() - CORE/Cake/Controller/Controller.php, line 941
ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 274
ExceptionRenderer::_cakeError() - CORE/Cake/Error/ExceptionRenderer.php, line 213
ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127
[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