Warning (2): Trying to access array offset on value of type null [APP/View/Layouts/default.ctp, line 45]Code Context</div>
<!--logo start-->
<a href="/pages/dashboard" class="logo hidden-xs">INTRANET <span><?php echo $companies[$active_company]; ?></span></a>
include - APP/View/Layouts/default.ctp, line 45 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 968 ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 292 ExceptionRenderer::_cakeError() - CORE/Cake/Error/ExceptionRenderer.php, line 213 ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 190 AppError::handleException() - APP/Lib/AppError.php, line 120 AppError::handleFatalError() - APP/Lib/AppError.php, line 268 AppError::handleError() - APP/Lib/AppError.php, line 203 App::_checkFatalError() - CORE/Cake/Core/App.php, line 970 App::shutdown() - CORE/Cake/Core/App.php, line 943 [main] - [internal], line ??
Warning (2): foreach() argument must be of type array|object, null given [APP/View/Layouts/default.ctp, line 76]Code Context</a>
<ul class="dropdown-menu">
<?php foreach ($companies as $key=>$company): ?>
include - APP/View/Layouts/default.ctp, line 76 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 968 ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 292 ExceptionRenderer::_cakeError() - CORE/Cake/Error/ExceptionRenderer.php, line 213 ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 190 AppError::handleException() - APP/Lib/AppError.php, line 120 AppError::handleFatalError() - APP/Lib/AppError.php, line 268 AppError::handleError() - APP/Lib/AppError.php, line 203 App::_checkFatalError() - CORE/Cake/Core/App.php, line 970 App::shutdown() - CORE/Cake/Core/App.php, line 943 [main] - [internal], line ??