Warning (2): Trying to access array offset on value of type null [APP/Config/routes.php, line 32]Code Context
$aLanguages = Configure::read('Config.languages'); //defined in bootstrap.php
Configure::write('Config.language', $aLanguages[DEFAULT_LANGUAGE]['code']); //defined in bootstrap.php
include - APP/Config/routes.php, line 32
Router::_loadRoutes() - CORE/Cake/Routing/Router.php, line 1284
Router::extensions() - CORE/Cake/Routing/Router.php, line 1252
CakeErrorController::__construct() - CORE/Cake/Controller/CakeErrorController.php, line 48
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 ??
Warning (2): Trying to access array offset on value of type null [APP/Config/routes.php, line 32]Code Context
$aLanguages = Configure::read('Config.languages'); //defined in bootstrap.php
Configure::write('Config.language', $aLanguages[DEFAULT_LANGUAGE]['code']); //defined in bootstrap.php
include - APP/Config/routes.php, line 32
Router::_loadRoutes() - CORE/Cake/Routing/Router.php, line 1284
Router::extensions() - CORE/Cake/Routing/Router.php, line 1252
CakeErrorController::__construct() - CORE/Cake/Controller/CakeErrorController.php, line 48
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 ??
Fatal error: Uncaught Error: Undefined constant "TESTS" in /home/unidev/public_html/app/Plugin/DebugKit/Lib/Panel/EnvironmentPanel.php:65
Stack trace:
#0 /home/unidev/public_html/app/Plugin/DebugKit/Controller/Component/ToolbarComponent.php(412): EnvironmentPanel->beforeRender()
#1 /home/unidev/public_html/app/Plugin/DebugKit/Controller/Component/ToolbarComponent.php(329): ToolbarComponent->_gatherVars()
#2 /home/unidev/public_html/lib/Cake/Utility/ObjectCollection.php(129): ToolbarComponent->beforeRender()
#3 /home/unidev/public_html/lib/Cake/Event/CakeEventManager.php(244): ObjectCollection->trigger()
#4 /home/unidev/public_html/lib/Cake/Controller/Controller.php(946): CakeEventManager->dispatch()
#5 /home/unidev/public_html/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render()
#6 /home/unidev/public_html/lib/Cake/Error/ExceptionRenderer.php(213): ExceptionRenderer->_outputMessage()
#7 /home/unidev/public_html/lib/Cake/Error/ExceptionRenderer.php(190): ExceptionRenderer->_cakeError()
#8 /home/unidev/public_html/lib/Cake/Error/ErrorHandler.php(127): ExceptionRenderer->render()
#9 /home/unidev/public_html/lib/Cake/Error/ErrorHandler.php(271): ErrorHandler::handleException()
#10 /home/unidev/public_html/lib/Cake/Error/ErrorHandler.php(214): ErrorHandler::handleFatalError()
#11 /home/unidev/public_html/lib/Cake/Core/App.php(970): ErrorHandler::handleError()
#12 /home/unidev/public_html/lib/Cake/Core/App.php(943): App::_checkFatalError()
#13 [internal function]: App::shutdown()
#14 {main}
thrown in /home/unidev/public_html/app/Plugin/DebugKit/Lib/Panel/EnvironmentPanel.php on line 65