Notice (8): Trying to get property 'enabled' of non-object [APP/Controller/UsersController.php, line 150]Code Context
if($subject->enabled != 1 && $subject->enabled != "1") {
return $this->redirect(['controller' => 'Users', 'action' => 'showIndex']);
$sid = '69'
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
$subjectsTable = object(ECUdS\Model\Table\SubjectsTable) {
'registryAlias' => 'Subjects',
'table' => 'subjects',
'alias' => 'Subjects',
'entityClass' => 'ECUdS\Model\Entity\Subject',
'associations' => [],
'behaviors' => [],
'defaultConnection' => 'default',
'connectionName' => 'default'
}
$subject = null
ECUdS\Controller\UsersController::showIntro() - APP/Controller/UsersController.php, line 150
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 610
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 120
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 67
[main] - ROOT/webroot/index.php, line 37
Warning: file_put_contents(/var/www/erwartungschecks/logs/debug.log) [function.file-put-contents]: failed to open stream: Permission denied in /var/www/erwartungschecks/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 133
Notice (8): Trying to get property 'enabled' of non-object [APP/Controller/UsersController.php, line 150]Code Context
if($subject->enabled != 1 && $subject->enabled != "1") {
return $this->redirect(['controller' => 'Users', 'action' => 'showIndex']);
$sid = '69'
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
$subjectsTable = object(ECUdS\Model\Table\SubjectsTable) {
'registryAlias' => 'Subjects',
'table' => 'subjects',
'alias' => 'Subjects',
'entityClass' => 'ECUdS\Model\Entity\Subject',
'associations' => [],
'behaviors' => [],
'defaultConnection' => 'default',
'connectionName' => 'default'
}
$subject = null
ECUdS\Controller\UsersController::showIntro() - APP/Controller/UsersController.php, line 150
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 610
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 120
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 67
[main] - ROOT/webroot/index.php, line 37
Warning: file_put_contents(/var/www/erwartungschecks/logs/debug.log) [function.file-put-contents]: failed to open stream: Permission denied in /var/www/erwartungschecks/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 133
Warning (2): file_put_contents(/var/www/erwartungschecks/logs/error.log) [<a href='https://secure.php.net/function.file-put-contents'>function.file-put-contents</a>]: failed to open stream: Permission denied [CORE/src/Log/Engine/FileLog.php, line 133]Code Context if (!$mask) {
return file_put_contents($pathname, $output, FILE_APPEND);
}
$level = 'warning'
$message = 'Headers already sent in /var/www/erwartungschecks/vendor/cakephp/cakephp/src/Error/Debugger.php:853'
$context = [
'scope' => []
]
$output = '2025-04-28 04:58:16 Warning: Headers already sent in /var/www/erwartungschecks/vendor/cakephp/cakephp/src/Error/Debugger.php:853
'
$filename = 'error.log'
$pathname = '/var/www/erwartungschecks/logs/error.log'
$mask = null
file_put_contents - [internal], line ??
Cake\Log\Engine\FileLog::log() - CORE/src/Log/Engine/FileLog.php, line 133
Cake\Log\Log::write() - CORE/src/Log/Log.php, line 384
Cake\Log\Log::warning() - CORE/src/Log/Log.php, line 469
Cake\Http\Response::sendHeaders() - CORE/src/Http/Response.php, line 526
Cake\Http\Response::send() - CORE/src/Http/Response.php, line 497
Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 72
[main] - ROOT/webroot/index.php, line 37
Warning: file_put_contents(/var/www/erwartungschecks/logs/error.log) [function.file-put-contents]: failed to open stream: Permission denied in /var/www/erwartungschecks/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 133