Warning (2): Attempt to read property "firstname" on null [ROOT/templates/element/header.php, line 156]Code Context <div class="dropdown-header px-4 mb-1 text-wrap fw-medium"> <?=$this->request->getAttribute('identity')->firstname.' '.$this->request->getAttribute('identity')->lastname?><br /> <div class="smaller text-truncate muted-light" style="margin-top: -2px; max-width: 200px;"><?=$this->request->getAttribute('identity')->email?></div> include - ROOT/templates/element/header.php, line 156 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1181 Cake\View\View::_render() - CORE/src/View/View.php, line 1138 Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1673 Cake\View\View::element() - CORE/src/View/View.php, line 660 include - ROOT/templates/layout/default.php, line 58 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1181 Cake\View\View::_render() - CORE/src/View/View.php, line 1138 Cake\View\View::renderLayout() - CORE/src/View/View.php, line 821 Cake\View\View::render() - CORE/src/View/View.php, line 780 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 762 Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 548 Cake\Controller\ControllerFactory::handle() - CORE/src/Controller/ControllerFactory.php, line 140 Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 115 Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 317 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77 Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 174
<div class="dropdown-header px-4 mb-1 text-wrap fw-medium"> <?=$this->request->getAttribute('identity')->firstname.' '.$this->request->getAttribute('identity')->lastname?><br /> <div class="smaller text-truncate muted-light" style="margin-top: -2px; max-width: 200px;"><?=$this->request->getAttribute('identity')->email?></div>
<div class="dropdown-header px-4 mb-1 text-wrap fw-medium">
<?=$this->request->getAttribute('identity')->firstname.' '.$this->request->getAttribute('identity')->lastname?><br />
<div class="smaller text-truncate muted-light" style="margin-top: -2px; max-width: 200px;"><?=$this->request->getAttribute('identity')->email?></div>
include - ROOT/templates/element/header.php, line 156 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1181 Cake\View\View::_render() - CORE/src/View/View.php, line 1138 Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1673 Cake\View\View::element() - CORE/src/View/View.php, line 660 include - ROOT/templates/layout/default.php, line 58 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1181 Cake\View\View::_render() - CORE/src/View/View.php, line 1138 Cake\View\View::renderLayout() - CORE/src/View/View.php, line 821 Cake\View\View::render() - CORE/src/View/View.php, line 780 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 762 Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 548 Cake\Controller\ControllerFactory::handle() - CORE/src/Controller/ControllerFactory.php, line 140 Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 115 Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 317 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77 Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 174
Warning (2): Attempt to read property "lastname" on null [ROOT/templates/element/header.php, line 156]Code Context <div class="dropdown-header px-4 mb-1 text-wrap fw-medium"> <?=$this->request->getAttribute('identity')->firstname.' '.$this->request->getAttribute('identity')->lastname?><br /> <div class="smaller text-truncate muted-light" style="margin-top: -2px; max-width: 200px;"><?=$this->request->getAttribute('identity')->email?></div> include - ROOT/templates/element/header.php, line 156 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1181 Cake\View\View::_render() - CORE/src/View/View.php, line 1138 Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1673 Cake\View\View::element() - CORE/src/View/View.php, line 660 include - ROOT/templates/layout/default.php, line 58 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1181 Cake\View\View::_render() - CORE/src/View/View.php, line 1138 Cake\View\View::renderLayout() - CORE/src/View/View.php, line 821 Cake\View\View::render() - CORE/src/View/View.php, line 780 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 762 Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 548 Cake\Controller\ControllerFactory::handle() - CORE/src/Controller/ControllerFactory.php, line 140 Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 115 Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 317 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77 Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 174
Warning (2): Attempt to read property "email" on null [ROOT/templates/element/header.php, line 157]Code Context <?=$this->request->getAttribute('identity')->firstname.' '.$this->request->getAttribute('identity')->lastname?><br /> <div class="smaller text-truncate muted-light" style="margin-top: -2px; max-width: 200px;"><?=$this->request->getAttribute('identity')->email?></div> </div> include - ROOT/templates/element/header.php, line 157 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1181 Cake\View\View::_render() - CORE/src/View/View.php, line 1138 Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1673 Cake\View\View::element() - CORE/src/View/View.php, line 660 include - ROOT/templates/layout/default.php, line 58 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1181 Cake\View\View::_render() - CORE/src/View/View.php, line 1138 Cake\View\View::renderLayout() - CORE/src/View/View.php, line 821 Cake\View\View::render() - CORE/src/View/View.php, line 780 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 762 Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 548 Cake\Controller\ControllerFactory::handle() - CORE/src/Controller/ControllerFactory.php, line 140 Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 115 Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 317 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77 Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 174
<?=$this->request->getAttribute('identity')->firstname.' '.$this->request->getAttribute('identity')->lastname?><br /> <div class="smaller text-truncate muted-light" style="margin-top: -2px; max-width: 200px;"><?=$this->request->getAttribute('identity')->email?></div> </div>
</div>
include - ROOT/templates/element/header.php, line 157 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1181 Cake\View\View::_render() - CORE/src/View/View.php, line 1138 Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1673 Cake\View\View::element() - CORE/src/View/View.php, line 660 include - ROOT/templates/layout/default.php, line 58 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1181 Cake\View\View::_render() - CORE/src/View/View.php, line 1138 Cake\View\View::renderLayout() - CORE/src/View/View.php, line 821 Cake\View\View::render() - CORE/src/View/View.php, line 780 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 762 Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 548 Cake\Controller\ControllerFactory::handle() - CORE/src/Controller/ControllerFactory.php, line 140 Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 115 Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 317 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77 Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 174
Warning (2): Attempt to read property "role" on null [ROOT/templates/element/header.php, line 160]Code Context <?php if($this->request->getAttribute('identity')->role == "admin") { include - ROOT/templates/element/header.php, line 160 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1181 Cake\View\View::_render() - CORE/src/View/View.php, line 1138 Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1673 Cake\View\View::element() - CORE/src/View/View.php, line 660 include - ROOT/templates/layout/default.php, line 58 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1181 Cake\View\View::_render() - CORE/src/View/View.php, line 1138 Cake\View\View::renderLayout() - CORE/src/View/View.php, line 821 Cake\View\View::render() - CORE/src/View/View.php, line 780 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 762 Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 548 Cake\Controller\ControllerFactory::handle() - CORE/src/Controller/ControllerFactory.php, line 140 Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 115 Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 317 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77 Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 174
<?php if($this->request->getAttribute('identity')->role == "admin") {
<?php
if($this->request->getAttribute('identity')->role == "admin")
{
include - ROOT/templates/element/header.php, line 160 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1181 Cake\View\View::_render() - CORE/src/View/View.php, line 1138 Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1673 Cake\View\View::element() - CORE/src/View/View.php, line 660 include - ROOT/templates/layout/default.php, line 58 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1181 Cake\View\View::_render() - CORE/src/View/View.php, line 1138 Cake\View\View::renderLayout() - CORE/src/View/View.php, line 821 Cake\View\View::render() - CORE/src/View/View.php, line 780 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 762 Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 548 Cake\Controller\ControllerFactory::handle() - CORE/src/Controller/ControllerFactory.php, line 140 Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 115 Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 317 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77 Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 174
We use cookies to improve your experience on our site.
Need to know more? Privacy Policy Cookie Policy