Warning (4096): Argument 1 passed to ErrorHandler::handleException() must be an instance of Throwable, instance of CakeException given [CORE/Cake/Error/ErrorHandler.php, line 108]Code Context * @see http://php.net/manual/en/function.set-exception-handler.php
*/
public static function handleException(Throwable $exception) {
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 108
[main] - [internal], line ??
Warning (4096): Argument 1 passed to ErrorHandler::_log() must be an instance of Throwable, instance of CakeException given, called in /home/essakebs/public_html/lib/Cake/Error/ErrorHandler.php on line 111 and defined [CORE/Cake/Error/ErrorHandler.php, line 169]Code Context * @return bool
*/
protected static function _log(Throwable $exception, $config) {
ErrorHandler::_log() - CORE/Cake/Error/ErrorHandler.php, line 169
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 111
[main] - [internal], line ??
Warning (4096): Argument 1 passed to ExceptionRenderer::__construct() must be an instance of Throwable, instance of CakeException given, called in /home/essakebs/public_html/lib/Cake/Error/ErrorHandler.php on line 119 and defined [CORE/Cake/Error/ExceptionRenderer.php, line 91]Code Context * @param Throwable $exception Exception
*/
public function __construct(Throwable $exception) {
$this = object(ExceptionRenderer) {
controller => null
template => ''
method => ''
error => null
}
ExceptionRenderer::__construct() - CORE/Cake/Error/ExceptionRenderer.php, line 91
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 119
[main] - [internal], line ??
Authorization adapter "controller" was not found.
Error:
An Internal Error Has Occurred.
Stack Trace
- CORE/Cake/Controller/Component/AuthComponent.php line 578 → AuthComponent->constructAuthorize()
*/
public function mapActions($map = array()) {
if (empty($this->_authorizeObjects)) {
$this->constructAuthorize();
}
- ROOT/plugins/DebugKit/Controller/ToolbarAccessController.php line 74 → AuthComponent->mapActions(array)
if (isset($this->Auth) && method_exists($this->Auth, 'mapActions')) {
$this->Auth->mapActions(array(
'read' => array('history_state', 'sql_explain')
));
}
array(
'read' => array(
(int) 0 => 'history_state',
(int) 1 => 'sql_explain'
)
)
- [internal function] → ToolbarAccessController->beforeFilter(CakeEvent)
object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(ToolbarAccessController) {}
[protected] _stopped => false
}
- CORE/Cake/Event/CakeEventManager.php line 242 → call_user_func(array, CakeEvent)
if ($listener['passParams'] === true) {
$result = call_user_func_array($listener['callable'], $event->data);
} else {
$result = call_user_func($listener['callable'], $event);
}
array(
(int) 0 => object(ToolbarAccessController) {},
(int) 1 => 'beforeFilter'
)
object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(ToolbarAccessController) {}
[protected] _stopped => false
}
- CORE/Cake/Controller/Controller.php line 674 → CakeEventManager->dispatch(CakeEvent)
* @return void
*/
public function startupProcess() {
$this->getEventManager()->dispatch(new CakeEvent('Controller.initialize', $this));
$this->getEventManager()->dispatch(new CakeEvent('Controller.startup', $this));
object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(ToolbarAccessController) {}
[protected] _stopped => false
}
- CORE/Cake/Routing/Dispatcher.php line 187 → Controller->startupProcess()
*/
protected function _invoke(Controller $controller, CakeRequest $request) {
$controller->constructClasses();
$controller->startupProcess();
- CORE/Cake/Routing/Dispatcher.php line 165 → Dispatcher->_invoke(ToolbarAccessController, CakeRequest)
));
}
$response = $this->_invoke($controller, $request);
if (isset($request->params['return'])) {
object(ToolbarAccessController) {
name => 'ToolbarAccess'
helpers => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
uses => array(
[maximum depth reached]
)
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'ToolbarAccess'
layoutPath => null
viewVars => array(
[maximum depth reached]
)
view => 'history_state'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => 'DebugKit'
cacheAction => false
passedArgs => array(
[maximum depth reached]
)
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'ToolbarAccess'
modelKey => 'toolbar_access'
validationErrors => null
Toolbar => object(ToolbarComponent) {}
Session => object(SessionComponent) {}
Paypal => object(PaypalComponent) {}
Email => object(EmailComponent) {}
Auth => object(AuthComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
SiteStatu => object(SiteStatu) {}
Service => object(Service) {}
Work => object(Work) {}
Order => object(Order) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'debug_kit/toolbar_access/history_state/3'
base => ''
webroot => '/'
here => '/debug_kit/toolbar_access/history_state/3'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
- APP/webroot/index.php line 108 → Dispatcher->dispatch(CakeRequest, CakeResponse)
$Dispatcher->dispatch(
new CakeRequest(),
new CakeResponse()
);
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'debug_kit/toolbar_access/history_state/3'
base => ''
webroot => '/'
here => '/debug_kit/toolbar_access/history_state/3'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
object(CakeResponse) {
[protected] _statusCodes => array(
[maximum depth reached]
)
[protected] _mimeTypes => array(
[maximum depth reached]
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array([maximum depth reached])
[protected] _body => null
[protected] _file => null
[protected] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}