Code Context
trigger_error($message, E_USER_DEPRECATED);
}
$message = 'ServerRequest::session() is deprecated. Use getSession() instead. The setter part will be removed. - /home/inbound/vsspace/src/Controller/AppController.php, line: 147
You can disable deprecation warnings by setting `Error.errorLevel` to `E_ALL & ~E_USER_DEPRECATED` in your config/app.php.'
$stackFrame = (int) 1
$trace = [
(int) 0 => [
'file' => '/home/inbound/vsspace/vendor/cakephp/cakephp/src/Http/ServerRequest.php',
'line' => (int) 564,
'function' => 'deprecationWarning',
'args' => [
(int) 0 => 'ServerRequest::session() is deprecated. Use getSession() instead. The setter part will be removed.'
]
],
(int) 1 => [
'file' => '/home/inbound/vsspace/src/Controller/AppController.php',
'line' => (int) 147,
'function' => 'session',
'class' => 'Cake\Http\ServerRequest',
'object' => object(Cake\Http\ServerRequest) {},
'type' => '->',
'args' => []
],
(int) 2 => [
'file' => '/home/inbound/vsspace/src/Controller/ErrorController.php',
'line' => (int) 56,
'function' => 'beforeRender',
'class' => 'App\Controller\AppController',
'object' => object(App\Controller\ErrorController) {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Event\Event) {}
]
],
(int) 3 => [
'file' => '/home/inbound/vsspace/vendor/cakephp/cakephp/src/Event/EventManager.php',
'line' => (int) 353,
'function' => 'beforeRender',
'class' => 'App\Controller\ErrorController',
'object' => object(App\Controller\ErrorController) {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Event\Event) {}
]
],
(int) 4 => [
'file' => '/home/inbound/vsspace/vendor/cakephp/cakephp/src/Event/EventManager.php',
'line' => (int) 330,
'function' => '_callListener',
'class' => 'Cake\Event\EventManager',
'object' => object(Cake\Event\EventManager) {},
'type' => '->',
'args' => [
(int) 0 => [
[maximum depth reached]
],
(int) 1 => object(Cake\Event\Event) {}
]
],
(int) 5 => [
'file' => '/home/inbound/vsspace/vendor/cakephp/cakephp/src/Event/EventDispatcherTrait.php',
'line' => (int) 114,
'function' => 'dispatch',
'class' => 'Cake\Event\EventManager',
'object' => object(Cake\Event\EventManager) {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Event\Event) {}
]
],
(int) 6 => [
'file' => '/home/inbound/vsspace/vendor/cakephp/cakephp/src/Controller/Controller.php',
'line' => (int) 777,
'function' => 'dispatchEvent',
'class' => 'Cake\Controller\Controller',
'object' => object(App\Controller\ErrorController) {},
'type' => '->',
'args' => [
(int) 0 => 'Controller.beforeRender'
]
],
(int) 7 => [
'file' => '/home/inbound/vsspace/vendor/cakephp/cakephp/src/Error/ExceptionRenderer.php',
'line' => (int) 329,
'function' => 'render',
'class' => 'Cake\Controller\Controller',
'object' => object(App\Controller\ErrorController) {},
'type' => '->',
'args' => [
(int) 0 => 'fatalError'
]
],
(int) 8 => [
'file' => '/home/inbound/vsspace/vendor/cakephp/cakephp/src/Error/ExceptionRenderer.php',
'line' => (int) 205,
'function' => '_outputMessage',
'class' => 'Cake\Error\ExceptionRenderer',
'object' => object(Cake\Error\ExceptionRenderer) {},
'type' => '->',
'args' => [
(int) 0 => 'fatalError'
]
],
(int) 9 => [
'file' => '/home/inbound/vsspace/vendor/cakephp/cakephp/src/Error/ErrorHandler.php',
'line' => (int) 137,
'function' => 'render',
'class' => 'Cake\Error\ExceptionRenderer',
'object' => object(Cake\Error\ExceptionRenderer) {},
'type' => '->',
'args' => []
],
(int) 10 => [
'file' => '/home/inbound/vsspace/vendor/cakephp/cakephp/src/Error/BaseErrorHandler.php',
'line' => (int) 193,
'function' => '_displayException',
'class' => 'Cake\Error\ErrorHandler',
'object' => object(Cake\Error\ErrorHandler) {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Error\FatalErrorException) {}
]
],
(int) 11 => [
'file' => '/home/inbound/vsspace/vendor/cakephp/cakephp/src/Error/BaseErrorHandler.php',
'line' => (int) 231,
'function' => 'handleException',
'class' => 'Cake\Error\BaseErrorHandler',
'object' => object(Cake\Error\ErrorHandler) {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Error\FatalErrorException) {}
]
],
(int) 12 => [
'file' => '/home/inbound/vsspace/vendor/cakephp/cakephp/src/Error/BaseErrorHandler.php',
'line' => (int) 110,
'function' => 'handleFatalError',
'class' => 'Cake\Error\BaseErrorHandler',
'object' => object(Cake\Error\ErrorHandler) {},
'type' => '->',
'args' => [
(int) 0 => (int) 4,
(int) 1 => 'syntax error, unexpected '?'',
(int) 2 => '/home/inbound/vsspace/vendor/ypnos-web/cakephp-datatables/src/Controller/Component/DataTablesComponent.php',
(int) 3 => (int) 114
]
],
(int) 13 => [
'function' => 'Cake\Error\{closure}',
'class' => 'Cake\Error\BaseErrorHandler',
'object' => object(Cake\Error\ErrorHandler) {},
'type' => '->',
'args' => []
]
]
$frame = [
'file' => '/home/inbound/vsspace/src/Controller/AppController.php',
'line' => (int) 147,
'function' => 'session',
'class' => 'Cake\Http\ServerRequest',
'object' => object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
[maximum depth reached]
]
[protected] data => [[maximum depth reached]]
[protected] query => [[maximum depth reached]]
[protected] cookies => [[maximum depth reached]]
[protected] _environment => [
[maximum depth reached]
]
[protected] url => false
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/'
[protected] _input => null
[protected] _detectors => [
[maximum depth reached]
]
[protected] _detectorCache => [
[maximum depth reached]
]
[protected] stream => object(Zend\Diactoros\PhpInputStream) {}
[protected] uri => object(Zend\Diactoros\Uri) {}
[protected] session => object(Cake\Http\Session) {}
[protected] attributes => [[maximum depth reached]]
[protected] emulatedAttributes => [
[maximum depth reached]
]
[protected] uploadedFiles => [[maximum depth reached]]
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
[maximum depth reached]
]
},
'type' => '->',
'args' => []
]deprecationWarning - CORE/src/Core/functions.php, line 310
Cake\Http\ServerRequest::session() - CORE/src/Http/ServerRequest.php, line 564
App\Controller\AppController::beforeRender() - APP/Controller/AppController.php, line 147
App\Controller\ErrorController::beforeRender() - APP/Controller/ErrorController.php, line 56
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 353
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 330
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 114
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 777
Cake\Error\ExceptionRenderer::_outputMessage() - CORE/src/Error/ExceptionRenderer.php, line 329
Cake\Error\ExceptionRenderer::render() - CORE/src/Error/ExceptionRenderer.php, line 205
Cake\Error\ErrorHandler::_displayException() - CORE/src/Error/ErrorHandler.php, line 137
Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 193
Cake\Error\BaseErrorHandler::handleFatalError() - CORE/src/Error/BaseErrorHandler.php, line 231
Cake\Error\BaseErrorHandler::Cake\Error\{closure}() - CORE/src/Error/BaseErrorHandler.php, line 110
[main] - [internal], line ??