Notice (8): Trying to get property 'parent_id' of non-object [APP/Template/Element/main-nav.ctp, line 6]Code Context $subVisible = ( $activeMenuItem->parent_id == $main->id || $activeMenuItem->id == $main->id ||$viewFile = '/data01/sites/ofrou/prod/a1-jag/src/Template/Element/main-nav.ctp' $dataForView = [ '_serialize' => [ (int) 0 => 'page' ], 'page' => object(App\Model\Entity\Page) { 'id' => (int) 42, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Contact', 'slug' => 'contact', 'meta' => '', 'header' => '', 'body' => '<p><strong>Olivier Floc'hic</strong><br />Responsable Information et Communication<br />OFROU Filiale Estavayer-le-lac<br />Tél: +41 58 461 87 16<br />Email: olivier.floc-hic@astra.admin.ch</p> <footer></footer>', 'template' => 'default', 'publish_date' => object(Cake\I18n\FrozenTime) {}, 'status' => 'published', '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [ [maximum depth reached] ], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Pages' }, 'title' => 'Contact', 'activeMenuItem' => false, 'referer' => '/', 'menu' => object(App\Model\Entity\Menu) { 'id' => (int) 16, 'name' => 'Menu principal JAG', 'active' => true, 'sector_id' => (int) 5, 'slug' => '/ofrou/a1/jag: Menu principal', 'menu_items' => [ [maximum depth reached] ], '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [[maximum depth reached]], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Menus' } ] $bufferLevel = (int) 2 $_serialize = [ (int) 0 => 'page' ] $page = object(App\Model\Entity\Page) { 'id' => (int) 42, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Contact', 'slug' => 'contact', 'meta' => '', 'header' => '', 'body' => '<p><strong>Olivier Floc'hic</strong><br />Responsable Information et Communication<br />OFROU Filiale Estavayer-le-lac<br />Tél: +41 58 461 87 16<br />Email: olivier.floc-hic@astra.admin.ch</p> <footer></footer>', 'template' => 'default', 'publish_date' => object(Cake\I18n\FrozenTime) {}, 'status' => 'published', '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [ 'body' => true ], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Pages' } $title = 'Contact' $activeMenuItem = false $referer = '/' $menu = object(App\Model\Entity\Menu) { 'id' => (int) 16, 'name' => 'Menu principal JAG', 'active' => true, 'sector_id' => (int) 5, 'slug' => '/ofrou/a1/jag: Menu principal', 'menu_items' => [ (int) 0 => object(App\Model\Entity\MenuItem) {}, (int) 1 => object(App\Model\Entity\MenuItem) {}, (int) 2 => object(App\Model\Entity\MenuItem) {}, (int) 3 => object(App\Model\Entity\MenuItem) {} ], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Menus' } $hasMenu = false $main = object(App\Model\Entity\MenuItem) { 'id' => (int) 161, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'active' => true, 'label' => 'A1 Jonction Grand-Saconnex', 'model' => 'Pages', 'foreign_key' => null, 'url' => '/', 'target' => '_self', 'parent_id' => null, 'class' => '', 'lft' => (int) 3, 'rght' => (int) 4, 'menu_id' => (int) 16, 'attachment_id' => null, 'child_menu_items' => [], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'MenuItems' }include - APP/Template/Element/main-nav.ctp, line 6 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1879 Cake\View\View::element() - CORE/src/View/View.php, line 783 include - APP/Template/Pages/view.ctp, line 2 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::render() - CORE/src/View/View.php, line 892 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 791 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 256 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Middleware\CsrfProtectionMiddleware::__invoke() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 133 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
$subVisible = ( $activeMenuItem->parent_id == $main->id || $activeMenuItem->id == $main->id ||
$subVisible = (
$activeMenuItem->parent_id == $main->id ||
$activeMenuItem->id == $main->id ||
$viewFile = '/data01/sites/ofrou/prod/a1-jag/src/Template/Element/main-nav.ctp' $dataForView = [ '_serialize' => [ (int) 0 => 'page' ], 'page' => object(App\Model\Entity\Page) { 'id' => (int) 42, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Contact', 'slug' => 'contact', 'meta' => '', 'header' => '', 'body' => '<p><strong>Olivier Floc'hic</strong><br />Responsable Information et Communication<br />OFROU Filiale Estavayer-le-lac<br />Tél: +41 58 461 87 16<br />Email: olivier.floc-hic@astra.admin.ch</p> <footer></footer>', 'template' => 'default', 'publish_date' => object(Cake\I18n\FrozenTime) {}, 'status' => 'published', '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [ [maximum depth reached] ], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Pages' }, 'title' => 'Contact', 'activeMenuItem' => false, 'referer' => '/', 'menu' => object(App\Model\Entity\Menu) { 'id' => (int) 16, 'name' => 'Menu principal JAG', 'active' => true, 'sector_id' => (int) 5, 'slug' => '/ofrou/a1/jag: Menu principal', 'menu_items' => [ [maximum depth reached] ], '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [[maximum depth reached]], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Menus' } ] $bufferLevel = (int) 2 $_serialize = [ (int) 0 => 'page' ] $page = object(App\Model\Entity\Page) { 'id' => (int) 42, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Contact', 'slug' => 'contact', 'meta' => '', 'header' => '', 'body' => '<p><strong>Olivier Floc'hic</strong><br />Responsable Information et Communication<br />OFROU Filiale Estavayer-le-lac<br />Tél: +41 58 461 87 16<br />Email: olivier.floc-hic@astra.admin.ch</p> <footer></footer>', 'template' => 'default', 'publish_date' => object(Cake\I18n\FrozenTime) {}, 'status' => 'published', '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [ 'body' => true ], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Pages' } $title = 'Contact' $activeMenuItem = false $referer = '/' $menu = object(App\Model\Entity\Menu) { 'id' => (int) 16, 'name' => 'Menu principal JAG', 'active' => true, 'sector_id' => (int) 5, 'slug' => '/ofrou/a1/jag: Menu principal', 'menu_items' => [ (int) 0 => object(App\Model\Entity\MenuItem) {}, (int) 1 => object(App\Model\Entity\MenuItem) {}, (int) 2 => object(App\Model\Entity\MenuItem) {}, (int) 3 => object(App\Model\Entity\MenuItem) {} ], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Menus' } $hasMenu = false $main = object(App\Model\Entity\MenuItem) { 'id' => (int) 161, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'active' => true, 'label' => 'A1 Jonction Grand-Saconnex', 'model' => 'Pages', 'foreign_key' => null, 'url' => '/', 'target' => '_self', 'parent_id' => null, 'class' => '', 'lft' => (int) 3, 'rght' => (int) 4, 'menu_id' => (int) 16, 'attachment_id' => null, 'child_menu_items' => [], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'MenuItems' }
include - APP/Template/Element/main-nav.ctp, line 6 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1879 Cake\View\View::element() - CORE/src/View/View.php, line 783 include - APP/Template/Pages/view.ctp, line 2 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::render() - CORE/src/View/View.php, line 892 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 791 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 256 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Middleware\CsrfProtectionMiddleware::__invoke() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 133 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Notice (8): Trying to get property 'id' of non-object [APP/Template/Element/main-nav.ctp, line 7]Code Context $activeMenuItem->parent_id == $main->id || $activeMenuItem->id == $main->id || !empty(array_filter( $main->child_menu_items, function ($o) use ($activeMenuItem) { return $o->id == $activeMenuItem->parent_id; } ))$viewFile = '/data01/sites/ofrou/prod/a1-jag/src/Template/Element/main-nav.ctp' $dataForView = [ '_serialize' => [ (int) 0 => 'page' ], 'page' => object(App\Model\Entity\Page) { 'id' => (int) 42, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Contact', 'slug' => 'contact', 'meta' => '', 'header' => '', 'body' => '<p><strong>Olivier Floc'hic</strong><br />Responsable Information et Communication<br />OFROU Filiale Estavayer-le-lac<br />Tél: +41 58 461 87 16<br />Email: olivier.floc-hic@astra.admin.ch</p> <footer></footer>', 'template' => 'default', 'publish_date' => object(Cake\I18n\FrozenTime) {}, 'status' => 'published', '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [ [maximum depth reached] ], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Pages' }, 'title' => 'Contact', 'activeMenuItem' => false, 'referer' => '/', 'menu' => object(App\Model\Entity\Menu) { 'id' => (int) 16, 'name' => 'Menu principal JAG', 'active' => true, 'sector_id' => (int) 5, 'slug' => '/ofrou/a1/jag: Menu principal', 'menu_items' => [ [maximum depth reached] ], '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [[maximum depth reached]], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Menus' } ] $bufferLevel = (int) 2 $_serialize = [ (int) 0 => 'page' ] $page = object(App\Model\Entity\Page) { 'id' => (int) 42, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Contact', 'slug' => 'contact', 'meta' => '', 'header' => '', 'body' => '<p><strong>Olivier Floc'hic</strong><br />Responsable Information et Communication<br />OFROU Filiale Estavayer-le-lac<br />Tél: +41 58 461 87 16<br />Email: olivier.floc-hic@astra.admin.ch</p> <footer></footer>', 'template' => 'default', 'publish_date' => object(Cake\I18n\FrozenTime) {}, 'status' => 'published', '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [ 'body' => true ], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Pages' } $title = 'Contact' $activeMenuItem = false $referer = '/' $menu = object(App\Model\Entity\Menu) { 'id' => (int) 16, 'name' => 'Menu principal JAG', 'active' => true, 'sector_id' => (int) 5, 'slug' => '/ofrou/a1/jag: Menu principal', 'menu_items' => [ (int) 0 => object(App\Model\Entity\MenuItem) {}, (int) 1 => object(App\Model\Entity\MenuItem) {}, (int) 2 => object(App\Model\Entity\MenuItem) {}, (int) 3 => object(App\Model\Entity\MenuItem) {} ], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Menus' } $hasMenu = false $main = object(App\Model\Entity\MenuItem) { 'id' => (int) 161, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'active' => true, 'label' => 'A1 Jonction Grand-Saconnex', 'model' => 'Pages', 'foreign_key' => null, 'url' => '/', 'target' => '_self', 'parent_id' => null, 'class' => '', 'lft' => (int) 3, 'rght' => (int) 4, 'menu_id' => (int) 16, 'attachment_id' => null, 'child_menu_items' => [], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'MenuItems' }include - APP/Template/Element/main-nav.ctp, line 7 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1879 Cake\View\View::element() - CORE/src/View/View.php, line 783 include - APP/Template/Pages/view.ctp, line 2 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::render() - CORE/src/View/View.php, line 892 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 791 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 256 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Middleware\CsrfProtectionMiddleware::__invoke() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 133 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
$activeMenuItem->parent_id == $main->id || $activeMenuItem->id == $main->id || !empty(array_filter( $main->child_menu_items, function ($o) use ($activeMenuItem) { return $o->id == $activeMenuItem->parent_id; } ))
!empty(array_filter( $main->child_menu_items, function ($o) use ($activeMenuItem) { return $o->id == $activeMenuItem->parent_id; } ))
include - APP/Template/Element/main-nav.ctp, line 7 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1879 Cake\View\View::element() - CORE/src/View/View.php, line 783 include - APP/Template/Pages/view.ctp, line 2 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::render() - CORE/src/View/View.php, line 892 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 791 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 256 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Middleware\CsrfProtectionMiddleware::__invoke() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 133 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Notice (8): Trying to get property 'parent_id' of non-object [APP/Template/Element/main-nav.ctp, line 6]Code Context $subVisible = ( $activeMenuItem->parent_id == $main->id || $activeMenuItem->id == $main->id ||$viewFile = '/data01/sites/ofrou/prod/a1-jag/src/Template/Element/main-nav.ctp' $dataForView = [ '_serialize' => [ (int) 0 => 'page' ], 'page' => object(App\Model\Entity\Page) { 'id' => (int) 42, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Contact', 'slug' => 'contact', 'meta' => '', 'header' => '', 'body' => '<p><strong>Olivier Floc'hic</strong><br />Responsable Information et Communication<br />OFROU Filiale Estavayer-le-lac<br />Tél: +41 58 461 87 16<br />Email: olivier.floc-hic@astra.admin.ch</p> <footer></footer>', 'template' => 'default', 'publish_date' => object(Cake\I18n\FrozenTime) {}, 'status' => 'published', '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [ [maximum depth reached] ], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Pages' }, 'title' => 'Contact', 'activeMenuItem' => false, 'referer' => '/', 'menu' => object(App\Model\Entity\Menu) { 'id' => (int) 16, 'name' => 'Menu principal JAG', 'active' => true, 'sector_id' => (int) 5, 'slug' => '/ofrou/a1/jag: Menu principal', 'menu_items' => [ [maximum depth reached] ], '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [[maximum depth reached]], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Menus' } ] $bufferLevel = (int) 2 $_serialize = [ (int) 0 => 'page' ] $page = object(App\Model\Entity\Page) { 'id' => (int) 42, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Contact', 'slug' => 'contact', 'meta' => '', 'header' => '', 'body' => '<p><strong>Olivier Floc'hic</strong><br />Responsable Information et Communication<br />OFROU Filiale Estavayer-le-lac<br />Tél: +41 58 461 87 16<br />Email: olivier.floc-hic@astra.admin.ch</p> <footer></footer>', 'template' => 'default', 'publish_date' => object(Cake\I18n\FrozenTime) {}, 'status' => 'published', '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [ 'body' => true ], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Pages' } $title = 'Contact' $activeMenuItem = false $referer = '/' $menu = object(App\Model\Entity\Menu) { 'id' => (int) 16, 'name' => 'Menu principal JAG', 'active' => true, 'sector_id' => (int) 5, 'slug' => '/ofrou/a1/jag: Menu principal', 'menu_items' => [ (int) 0 => object(App\Model\Entity\MenuItem) {}, (int) 1 => object(App\Model\Entity\MenuItem) {}, (int) 2 => object(App\Model\Entity\MenuItem) {}, (int) 3 => object(App\Model\Entity\MenuItem) {} ], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Menus' } $hasMenu = false $main = object(App\Model\Entity\MenuItem) { 'id' => (int) 162, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'active' => true, 'label' => 'Informations aux usagers', 'model' => 'Pages', 'foreign_key' => null, 'url' => 'informations-aux-usagers', 'target' => '_self', 'parent_id' => null, 'class' => '', 'lft' => (int) 5, 'rght' => (int) 8, 'menu_id' => (int) 16, 'attachment_id' => null, 'child_menu_items' => [], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'MenuItems' } $subVisible = falseinclude - APP/Template/Element/main-nav.ctp, line 6 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1879 Cake\View\View::element() - CORE/src/View/View.php, line 783 include - APP/Template/Pages/view.ctp, line 2 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::render() - CORE/src/View/View.php, line 892 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 791 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 256 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Middleware\CsrfProtectionMiddleware::__invoke() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 133 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
$viewFile = '/data01/sites/ofrou/prod/a1-jag/src/Template/Element/main-nav.ctp' $dataForView = [ '_serialize' => [ (int) 0 => 'page' ], 'page' => object(App\Model\Entity\Page) { 'id' => (int) 42, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Contact', 'slug' => 'contact', 'meta' => '', 'header' => '', 'body' => '<p><strong>Olivier Floc'hic</strong><br />Responsable Information et Communication<br />OFROU Filiale Estavayer-le-lac<br />Tél: +41 58 461 87 16<br />Email: olivier.floc-hic@astra.admin.ch</p> <footer></footer>', 'template' => 'default', 'publish_date' => object(Cake\I18n\FrozenTime) {}, 'status' => 'published', '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [ [maximum depth reached] ], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Pages' }, 'title' => 'Contact', 'activeMenuItem' => false, 'referer' => '/', 'menu' => object(App\Model\Entity\Menu) { 'id' => (int) 16, 'name' => 'Menu principal JAG', 'active' => true, 'sector_id' => (int) 5, 'slug' => '/ofrou/a1/jag: Menu principal', 'menu_items' => [ [maximum depth reached] ], '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [[maximum depth reached]], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Menus' } ] $bufferLevel = (int) 2 $_serialize = [ (int) 0 => 'page' ] $page = object(App\Model\Entity\Page) { 'id' => (int) 42, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Contact', 'slug' => 'contact', 'meta' => '', 'header' => '', 'body' => '<p><strong>Olivier Floc'hic</strong><br />Responsable Information et Communication<br />OFROU Filiale Estavayer-le-lac<br />Tél: +41 58 461 87 16<br />Email: olivier.floc-hic@astra.admin.ch</p> <footer></footer>', 'template' => 'default', 'publish_date' => object(Cake\I18n\FrozenTime) {}, 'status' => 'published', '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [ 'body' => true ], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Pages' } $title = 'Contact' $activeMenuItem = false $referer = '/' $menu = object(App\Model\Entity\Menu) { 'id' => (int) 16, 'name' => 'Menu principal JAG', 'active' => true, 'sector_id' => (int) 5, 'slug' => '/ofrou/a1/jag: Menu principal', 'menu_items' => [ (int) 0 => object(App\Model\Entity\MenuItem) {}, (int) 1 => object(App\Model\Entity\MenuItem) {}, (int) 2 => object(App\Model\Entity\MenuItem) {}, (int) 3 => object(App\Model\Entity\MenuItem) {} ], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Menus' } $hasMenu = false $main = object(App\Model\Entity\MenuItem) { 'id' => (int) 162, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'active' => true, 'label' => 'Informations aux usagers', 'model' => 'Pages', 'foreign_key' => null, 'url' => 'informations-aux-usagers', 'target' => '_self', 'parent_id' => null, 'class' => '', 'lft' => (int) 5, 'rght' => (int) 8, 'menu_id' => (int) 16, 'attachment_id' => null, 'child_menu_items' => [], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'MenuItems' } $subVisible = false
Notice (8): Trying to get property 'id' of non-object [APP/Template/Element/main-nav.ctp, line 7]Code Context $activeMenuItem->parent_id == $main->id || $activeMenuItem->id == $main->id || !empty(array_filter( $main->child_menu_items, function ($o) use ($activeMenuItem) { return $o->id == $activeMenuItem->parent_id; } ))$viewFile = '/data01/sites/ofrou/prod/a1-jag/src/Template/Element/main-nav.ctp' $dataForView = [ '_serialize' => [ (int) 0 => 'page' ], 'page' => object(App\Model\Entity\Page) { 'id' => (int) 42, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Contact', 'slug' => 'contact', 'meta' => '', 'header' => '', 'body' => '<p><strong>Olivier Floc'hic</strong><br />Responsable Information et Communication<br />OFROU Filiale Estavayer-le-lac<br />Tél: +41 58 461 87 16<br />Email: olivier.floc-hic@astra.admin.ch</p> <footer></footer>', 'template' => 'default', 'publish_date' => object(Cake\I18n\FrozenTime) {}, 'status' => 'published', '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [ [maximum depth reached] ], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Pages' }, 'title' => 'Contact', 'activeMenuItem' => false, 'referer' => '/', 'menu' => object(App\Model\Entity\Menu) { 'id' => (int) 16, 'name' => 'Menu principal JAG', 'active' => true, 'sector_id' => (int) 5, 'slug' => '/ofrou/a1/jag: Menu principal', 'menu_items' => [ [maximum depth reached] ], '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [[maximum depth reached]], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Menus' } ] $bufferLevel = (int) 2 $_serialize = [ (int) 0 => 'page' ] $page = object(App\Model\Entity\Page) { 'id' => (int) 42, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Contact', 'slug' => 'contact', 'meta' => '', 'header' => '', 'body' => '<p><strong>Olivier Floc'hic</strong><br />Responsable Information et Communication<br />OFROU Filiale Estavayer-le-lac<br />Tél: +41 58 461 87 16<br />Email: olivier.floc-hic@astra.admin.ch</p> <footer></footer>', 'template' => 'default', 'publish_date' => object(Cake\I18n\FrozenTime) {}, 'status' => 'published', '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [ 'body' => true ], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Pages' } $title = 'Contact' $activeMenuItem = false $referer = '/' $menu = object(App\Model\Entity\Menu) { 'id' => (int) 16, 'name' => 'Menu principal JAG', 'active' => true, 'sector_id' => (int) 5, 'slug' => '/ofrou/a1/jag: Menu principal', 'menu_items' => [ (int) 0 => object(App\Model\Entity\MenuItem) {}, (int) 1 => object(App\Model\Entity\MenuItem) {}, (int) 2 => object(App\Model\Entity\MenuItem) {}, (int) 3 => object(App\Model\Entity\MenuItem) {} ], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Menus' } $hasMenu = false $main = object(App\Model\Entity\MenuItem) { 'id' => (int) 162, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'active' => true, 'label' => 'Informations aux usagers', 'model' => 'Pages', 'foreign_key' => null, 'url' => 'informations-aux-usagers', 'target' => '_self', 'parent_id' => null, 'class' => '', 'lft' => (int) 5, 'rght' => (int) 8, 'menu_id' => (int) 16, 'attachment_id' => null, 'child_menu_items' => [], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'MenuItems' } $subVisible = falseinclude - APP/Template/Element/main-nav.ctp, line 7 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1879 Cake\View\View::element() - CORE/src/View/View.php, line 783 include - APP/Template/Pages/view.ctp, line 2 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::render() - CORE/src/View/View.php, line 892 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 791 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 256 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Middleware\CsrfProtectionMiddleware::__invoke() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 133 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Notice (8): Trying to get property 'parent_id' of non-object [APP/Template/Element/main-nav.ctp, line 6]Code Context $subVisible = ( $activeMenuItem->parent_id == $main->id || $activeMenuItem->id == $main->id ||$viewFile = '/data01/sites/ofrou/prod/a1-jag/src/Template/Element/main-nav.ctp' $dataForView = [ '_serialize' => [ (int) 0 => 'page' ], 'page' => object(App\Model\Entity\Page) { 'id' => (int) 42, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Contact', 'slug' => 'contact', 'meta' => '', 'header' => '', 'body' => '<p><strong>Olivier Floc'hic</strong><br />Responsable Information et Communication<br />OFROU Filiale Estavayer-le-lac<br />Tél: +41 58 461 87 16<br />Email: olivier.floc-hic@astra.admin.ch</p> <footer></footer>', 'template' => 'default', 'publish_date' => object(Cake\I18n\FrozenTime) {}, 'status' => 'published', '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [ [maximum depth reached] ], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Pages' }, 'title' => 'Contact', 'activeMenuItem' => false, 'referer' => '/', 'menu' => object(App\Model\Entity\Menu) { 'id' => (int) 16, 'name' => 'Menu principal JAG', 'active' => true, 'sector_id' => (int) 5, 'slug' => '/ofrou/a1/jag: Menu principal', 'menu_items' => [ [maximum depth reached] ], '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [[maximum depth reached]], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Menus' } ] $bufferLevel = (int) 2 $_serialize = [ (int) 0 => 'page' ] $page = object(App\Model\Entity\Page) { 'id' => (int) 42, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Contact', 'slug' => 'contact', 'meta' => '', 'header' => '', 'body' => '<p><strong>Olivier Floc'hic</strong><br />Responsable Information et Communication<br />OFROU Filiale Estavayer-le-lac<br />Tél: +41 58 461 87 16<br />Email: olivier.floc-hic@astra.admin.ch</p> <footer></footer>', 'template' => 'default', 'publish_date' => object(Cake\I18n\FrozenTime) {}, 'status' => 'published', '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [ 'body' => true ], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Pages' } $title = 'Contact' $activeMenuItem = false $referer = '/' $menu = object(App\Model\Entity\Menu) { 'id' => (int) 16, 'name' => 'Menu principal JAG', 'active' => true, 'sector_id' => (int) 5, 'slug' => '/ofrou/a1/jag: Menu principal', 'menu_items' => [ (int) 0 => object(App\Model\Entity\MenuItem) {}, (int) 1 => object(App\Model\Entity\MenuItem) {}, (int) 2 => object(App\Model\Entity\MenuItem) {}, (int) 3 => object(App\Model\Entity\MenuItem) {} ], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Menus' } $hasMenu = false $main = object(App\Model\Entity\MenuItem) { 'id' => (int) 163, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'active' => true, 'label' => 'Nature du projet', 'model' => 'Pages', 'foreign_key' => null, 'url' => 'nature-du-projet', 'target' => '_self', 'parent_id' => null, 'class' => '', 'lft' => (int) 9, 'rght' => (int) 18, 'menu_id' => (int) 16, 'attachment_id' => null, 'child_menu_items' => [ (int) 0 => object(App\Model\Entity\MenuItem) {}, (int) 1 => object(App\Model\Entity\MenuItem) {}, (int) 2 => object(App\Model\Entity\MenuItem) {}, (int) 3 => object(App\Model\Entity\MenuItem) {} ], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'MenuItems' } $subVisible = falseinclude - APP/Template/Element/main-nav.ctp, line 6 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1879 Cake\View\View::element() - CORE/src/View/View.php, line 783 include - APP/Template/Pages/view.ctp, line 2 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::render() - CORE/src/View/View.php, line 892 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 791 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 256 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Middleware\CsrfProtectionMiddleware::__invoke() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 133 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
$viewFile = '/data01/sites/ofrou/prod/a1-jag/src/Template/Element/main-nav.ctp' $dataForView = [ '_serialize' => [ (int) 0 => 'page' ], 'page' => object(App\Model\Entity\Page) { 'id' => (int) 42, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Contact', 'slug' => 'contact', 'meta' => '', 'header' => '', 'body' => '<p><strong>Olivier Floc'hic</strong><br />Responsable Information et Communication<br />OFROU Filiale Estavayer-le-lac<br />Tél: +41 58 461 87 16<br />Email: olivier.floc-hic@astra.admin.ch</p> <footer></footer>', 'template' => 'default', 'publish_date' => object(Cake\I18n\FrozenTime) {}, 'status' => 'published', '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [ [maximum depth reached] ], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Pages' }, 'title' => 'Contact', 'activeMenuItem' => false, 'referer' => '/', 'menu' => object(App\Model\Entity\Menu) { 'id' => (int) 16, 'name' => 'Menu principal JAG', 'active' => true, 'sector_id' => (int) 5, 'slug' => '/ofrou/a1/jag: Menu principal', 'menu_items' => [ [maximum depth reached] ], '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [[maximum depth reached]], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Menus' } ] $bufferLevel = (int) 2 $_serialize = [ (int) 0 => 'page' ] $page = object(App\Model\Entity\Page) { 'id' => (int) 42, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Contact', 'slug' => 'contact', 'meta' => '', 'header' => '', 'body' => '<p><strong>Olivier Floc'hic</strong><br />Responsable Information et Communication<br />OFROU Filiale Estavayer-le-lac<br />Tél: +41 58 461 87 16<br />Email: olivier.floc-hic@astra.admin.ch</p> <footer></footer>', 'template' => 'default', 'publish_date' => object(Cake\I18n\FrozenTime) {}, 'status' => 'published', '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [ 'body' => true ], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Pages' } $title = 'Contact' $activeMenuItem = false $referer = '/' $menu = object(App\Model\Entity\Menu) { 'id' => (int) 16, 'name' => 'Menu principal JAG', 'active' => true, 'sector_id' => (int) 5, 'slug' => '/ofrou/a1/jag: Menu principal', 'menu_items' => [ (int) 0 => object(App\Model\Entity\MenuItem) {}, (int) 1 => object(App\Model\Entity\MenuItem) {}, (int) 2 => object(App\Model\Entity\MenuItem) {}, (int) 3 => object(App\Model\Entity\MenuItem) {} ], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Menus' } $hasMenu = false $main = object(App\Model\Entity\MenuItem) { 'id' => (int) 163, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'active' => true, 'label' => 'Nature du projet', 'model' => 'Pages', 'foreign_key' => null, 'url' => 'nature-du-projet', 'target' => '_self', 'parent_id' => null, 'class' => '', 'lft' => (int) 9, 'rght' => (int) 18, 'menu_id' => (int) 16, 'attachment_id' => null, 'child_menu_items' => [ (int) 0 => object(App\Model\Entity\MenuItem) {}, (int) 1 => object(App\Model\Entity\MenuItem) {}, (int) 2 => object(App\Model\Entity\MenuItem) {}, (int) 3 => object(App\Model\Entity\MenuItem) {} ], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'MenuItems' } $subVisible = false
Notice (8): Trying to get property 'id' of non-object [APP/Template/Element/main-nav.ctp, line 7]Code Context $activeMenuItem->parent_id == $main->id || $activeMenuItem->id == $main->id || !empty(array_filter( $main->child_menu_items, function ($o) use ($activeMenuItem) { return $o->id == $activeMenuItem->parent_id; } ))$viewFile = '/data01/sites/ofrou/prod/a1-jag/src/Template/Element/main-nav.ctp' $dataForView = [ '_serialize' => [ (int) 0 => 'page' ], 'page' => object(App\Model\Entity\Page) { 'id' => (int) 42, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Contact', 'slug' => 'contact', 'meta' => '', 'header' => '', 'body' => '<p><strong>Olivier Floc'hic</strong><br />Responsable Information et Communication<br />OFROU Filiale Estavayer-le-lac<br />Tél: +41 58 461 87 16<br />Email: olivier.floc-hic@astra.admin.ch</p> <footer></footer>', 'template' => 'default', 'publish_date' => object(Cake\I18n\FrozenTime) {}, 'status' => 'published', '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [ [maximum depth reached] ], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Pages' }, 'title' => 'Contact', 'activeMenuItem' => false, 'referer' => '/', 'menu' => object(App\Model\Entity\Menu) { 'id' => (int) 16, 'name' => 'Menu principal JAG', 'active' => true, 'sector_id' => (int) 5, 'slug' => '/ofrou/a1/jag: Menu principal', 'menu_items' => [ [maximum depth reached] ], '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [[maximum depth reached]], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Menus' } ] $bufferLevel = (int) 2 $_serialize = [ (int) 0 => 'page' ] $page = object(App\Model\Entity\Page) { 'id' => (int) 42, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Contact', 'slug' => 'contact', 'meta' => '', 'header' => '', 'body' => '<p><strong>Olivier Floc'hic</strong><br />Responsable Information et Communication<br />OFROU Filiale Estavayer-le-lac<br />Tél: +41 58 461 87 16<br />Email: olivier.floc-hic@astra.admin.ch</p> <footer></footer>', 'template' => 'default', 'publish_date' => object(Cake\I18n\FrozenTime) {}, 'status' => 'published', '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [ 'body' => true ], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Pages' } $title = 'Contact' $activeMenuItem = false $referer = '/' $menu = object(App\Model\Entity\Menu) { 'id' => (int) 16, 'name' => 'Menu principal JAG', 'active' => true, 'sector_id' => (int) 5, 'slug' => '/ofrou/a1/jag: Menu principal', 'menu_items' => [ (int) 0 => object(App\Model\Entity\MenuItem) {}, (int) 1 => object(App\Model\Entity\MenuItem) {}, (int) 2 => object(App\Model\Entity\MenuItem) {}, (int) 3 => object(App\Model\Entity\MenuItem) {} ], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Menus' } $hasMenu = false $main = object(App\Model\Entity\MenuItem) { 'id' => (int) 163, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'active' => true, 'label' => 'Nature du projet', 'model' => 'Pages', 'foreign_key' => null, 'url' => 'nature-du-projet', 'target' => '_self', 'parent_id' => null, 'class' => '', 'lft' => (int) 9, 'rght' => (int) 18, 'menu_id' => (int) 16, 'attachment_id' => null, 'child_menu_items' => [ (int) 0 => object(App\Model\Entity\MenuItem) {}, (int) 1 => object(App\Model\Entity\MenuItem) {}, (int) 2 => object(App\Model\Entity\MenuItem) {}, (int) 3 => object(App\Model\Entity\MenuItem) {} ], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'MenuItems' } $subVisible = falseinclude - APP/Template/Element/main-nav.ctp, line 7 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1879 Cake\View\View::element() - CORE/src/View/View.php, line 783 include - APP/Template/Pages/view.ctp, line 2 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::render() - CORE/src/View/View.php, line 892 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 791 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 256 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Middleware\CsrfProtectionMiddleware::__invoke() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 133 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Notice (8): Trying to get property 'parent_id' of non-object [APP/Template/Element/main-nav.ctp, line 8]Code Context $activeMenuItem->id == $main->id || !empty(array_filter( $main->child_menu_items, function ($o) use ($activeMenuItem) { return $o->id == $activeMenuItem->parent_id; } )) );$o = object(App\Model\Entity\MenuItem) { 'id' => (int) 166, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'active' => true, 'label' => 'Interventions', 'model' => 'Pages', 'foreign_key' => null, 'url' => 'interventions', 'target' => '_self', 'parent_id' => (int) 163, 'class' => '', 'lft' => (int) 10, 'rght' => (int) 11, 'menu_id' => (int) 16, 'attachment_id' => null, 'sub_child_menu_items' => [], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'ChildMenuItems' } $activeMenuItem = falseCake\View\View::{closure}() - APP/Template/Element/main-nav.ctp, line 8 array_filter - [internal], line ?? include - APP/Template/Element/main-nav.ctp, line 8 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1879 Cake\View\View::element() - CORE/src/View/View.php, line 783 include - APP/Template/Pages/view.ctp, line 2 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::render() - CORE/src/View/View.php, line 892 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 791 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 256 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
$activeMenuItem->id == $main->id || !empty(array_filter( $main->child_menu_items, function ($o) use ($activeMenuItem) { return $o->id == $activeMenuItem->parent_id; } )) );
);
$o = object(App\Model\Entity\MenuItem) { 'id' => (int) 166, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'active' => true, 'label' => 'Interventions', 'model' => 'Pages', 'foreign_key' => null, 'url' => 'interventions', 'target' => '_self', 'parent_id' => (int) 163, 'class' => '', 'lft' => (int) 10, 'rght' => (int) 11, 'menu_id' => (int) 16, 'attachment_id' => null, 'sub_child_menu_items' => [], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'ChildMenuItems' } $activeMenuItem = false
Cake\View\View::{closure}() - APP/Template/Element/main-nav.ctp, line 8 array_filter - [internal], line ?? include - APP/Template/Element/main-nav.ctp, line 8 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1879 Cake\View\View::element() - CORE/src/View/View.php, line 783 include - APP/Template/Pages/view.ctp, line 2 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::render() - CORE/src/View/View.php, line 892 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 791 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 256 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Notice (8): Trying to get property 'parent_id' of non-object [APP/Template/Element/main-nav.ctp, line 8]Code Context $activeMenuItem->id == $main->id || !empty(array_filter( $main->child_menu_items, function ($o) use ($activeMenuItem) { return $o->id == $activeMenuItem->parent_id; } )) );$o = object(App\Model\Entity\MenuItem) { 'id' => (int) 167, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'active' => true, 'label' => ' Etapes du chantier', 'model' => 'Pages', 'foreign_key' => null, 'url' => 'etapes-du-chantier', 'target' => '_self', 'parent_id' => (int) 163, 'class' => '', 'lft' => (int) 12, 'rght' => (int) 13, 'menu_id' => (int) 16, 'attachment_id' => null, 'sub_child_menu_items' => [], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'ChildMenuItems' } $activeMenuItem = falseCake\View\View::{closure}() - APP/Template/Element/main-nav.ctp, line 8 array_filter - [internal], line ?? include - APP/Template/Element/main-nav.ctp, line 8 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1879 Cake\View\View::element() - CORE/src/View/View.php, line 783 include - APP/Template/Pages/view.ctp, line 2 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::render() - CORE/src/View/View.php, line 892 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 791 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 256 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
$o = object(App\Model\Entity\MenuItem) { 'id' => (int) 167, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'active' => true, 'label' => ' Etapes du chantier', 'model' => 'Pages', 'foreign_key' => null, 'url' => 'etapes-du-chantier', 'target' => '_self', 'parent_id' => (int) 163, 'class' => '', 'lft' => (int) 12, 'rght' => (int) 13, 'menu_id' => (int) 16, 'attachment_id' => null, 'sub_child_menu_items' => [], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'ChildMenuItems' } $activeMenuItem = false
Notice (8): Trying to get property 'parent_id' of non-object [APP/Template/Element/main-nav.ctp, line 8]Code Context $activeMenuItem->id == $main->id || !empty(array_filter( $main->child_menu_items, function ($o) use ($activeMenuItem) { return $o->id == $activeMenuItem->parent_id; } )) );$o = object(App\Model\Entity\MenuItem) { 'id' => (int) 168, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'active' => true, 'label' => 'Mesures anti-bruit', 'model' => 'Pages', 'foreign_key' => null, 'url' => 'mesures-anti-bruit', 'target' => '_self', 'parent_id' => (int) 163, 'class' => '', 'lft' => (int) 14, 'rght' => (int) 15, 'menu_id' => (int) 16, 'attachment_id' => null, 'sub_child_menu_items' => [], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'ChildMenuItems' } $activeMenuItem = falseCake\View\View::{closure}() - APP/Template/Element/main-nav.ctp, line 8 array_filter - [internal], line ?? include - APP/Template/Element/main-nav.ctp, line 8 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1879 Cake\View\View::element() - CORE/src/View/View.php, line 783 include - APP/Template/Pages/view.ctp, line 2 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::render() - CORE/src/View/View.php, line 892 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 791 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 256 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
$o = object(App\Model\Entity\MenuItem) { 'id' => (int) 168, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'active' => true, 'label' => 'Mesures anti-bruit', 'model' => 'Pages', 'foreign_key' => null, 'url' => 'mesures-anti-bruit', 'target' => '_self', 'parent_id' => (int) 163, 'class' => '', 'lft' => (int) 14, 'rght' => (int) 15, 'menu_id' => (int) 16, 'attachment_id' => null, 'sub_child_menu_items' => [], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'ChildMenuItems' } $activeMenuItem = false
Notice (8): Trying to get property 'parent_id' of non-object [APP/Template/Element/main-nav.ctp, line 8]Code Context $activeMenuItem->id == $main->id || !empty(array_filter( $main->child_menu_items, function ($o) use ($activeMenuItem) { return $o->id == $activeMenuItem->parent_id; } )) );$o = object(App\Model\Entity\MenuItem) { 'id' => (int) 169, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'active' => true, 'label' => 'Protection des eaux', 'model' => 'Pages', 'foreign_key' => null, 'url' => 'protection-des-eaux', 'target' => '_self', 'parent_id' => (int) 163, 'class' => '', 'lft' => (int) 16, 'rght' => (int) 17, 'menu_id' => (int) 16, 'attachment_id' => null, 'sub_child_menu_items' => [], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'ChildMenuItems' } $activeMenuItem = falseCake\View\View::{closure}() - APP/Template/Element/main-nav.ctp, line 8 array_filter - [internal], line ?? include - APP/Template/Element/main-nav.ctp, line 8 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1879 Cake\View\View::element() - CORE/src/View/View.php, line 783 include - APP/Template/Pages/view.ctp, line 2 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::render() - CORE/src/View/View.php, line 892 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 791 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 256 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
$o = object(App\Model\Entity\MenuItem) { 'id' => (int) 169, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'active' => true, 'label' => 'Protection des eaux', 'model' => 'Pages', 'foreign_key' => null, 'url' => 'protection-des-eaux', 'target' => '_self', 'parent_id' => (int) 163, 'class' => '', 'lft' => (int) 16, 'rght' => (int) 17, 'menu_id' => (int) 16, 'attachment_id' => null, 'sub_child_menu_items' => [], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'ChildMenuItems' } $activeMenuItem = false
Notice (8): Trying to get property 'parent_id' of non-object [APP/Template/Element/main-nav.ctp, line 6]Code Context $subVisible = ( $activeMenuItem->parent_id == $main->id || $activeMenuItem->id == $main->id ||$viewFile = '/data01/sites/ofrou/prod/a1-jag/src/Template/Element/main-nav.ctp' $dataForView = [ '_serialize' => [ (int) 0 => 'page' ], 'page' => object(App\Model\Entity\Page) { 'id' => (int) 42, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Contact', 'slug' => 'contact', 'meta' => '', 'header' => '', 'body' => '<p><strong>Olivier Floc'hic</strong><br />Responsable Information et Communication<br />OFROU Filiale Estavayer-le-lac<br />Tél: +41 58 461 87 16<br />Email: olivier.floc-hic@astra.admin.ch</p> <footer></footer>', 'template' => 'default', 'publish_date' => object(Cake\I18n\FrozenTime) {}, 'status' => 'published', '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [ [maximum depth reached] ], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Pages' }, 'title' => 'Contact', 'activeMenuItem' => false, 'referer' => '/', 'menu' => object(App\Model\Entity\Menu) { 'id' => (int) 16, 'name' => 'Menu principal JAG', 'active' => true, 'sector_id' => (int) 5, 'slug' => '/ofrou/a1/jag: Menu principal', 'menu_items' => [ [maximum depth reached] ], '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [[maximum depth reached]], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Menus' } ] $bufferLevel = (int) 2 $_serialize = [ (int) 0 => 'page' ] $page = object(App\Model\Entity\Page) { 'id' => (int) 42, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Contact', 'slug' => 'contact', 'meta' => '', 'header' => '', 'body' => '<p><strong>Olivier Floc'hic</strong><br />Responsable Information et Communication<br />OFROU Filiale Estavayer-le-lac<br />Tél: +41 58 461 87 16<br />Email: olivier.floc-hic@astra.admin.ch</p> <footer></footer>', 'template' => 'default', 'publish_date' => object(Cake\I18n\FrozenTime) {}, 'status' => 'published', '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [ 'body' => true ], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Pages' } $title = 'Contact' $activeMenuItem = false $referer = '/' $menu = object(App\Model\Entity\Menu) { 'id' => (int) 16, 'name' => 'Menu principal JAG', 'active' => true, 'sector_id' => (int) 5, 'slug' => '/ofrou/a1/jag: Menu principal', 'menu_items' => [ (int) 0 => object(App\Model\Entity\MenuItem) {}, (int) 1 => object(App\Model\Entity\MenuItem) {}, (int) 2 => object(App\Model\Entity\MenuItem) {}, (int) 3 => object(App\Model\Entity\MenuItem) {} ], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Menus' } $hasMenu = false $main = object(App\Model\Entity\MenuItem) { 'id' => (int) 165, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'active' => true, 'label' => 'Vie de chantier', 'model' => '', 'foreign_key' => null, 'url' => 'vie-de-chantier', 'target' => '_self', 'parent_id' => null, 'class' => '', 'lft' => (int) 19, 'rght' => (int) 100, 'menu_id' => (int) 16, 'attachment_id' => null, 'child_menu_items' => [ (int) 0 => object(App\Model\Entity\MenuItem) {}, (int) 1 => object(App\Model\Entity\MenuItem) {}, (int) 2 => object(App\Model\Entity\MenuItem) {}, (int) 3 => object(App\Model\Entity\MenuItem) {}, (int) 4 => object(App\Model\Entity\MenuItem) {}, (int) 5 => object(App\Model\Entity\MenuItem) {} ], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'MenuItems' } $subVisible = false $menuItem = object(App\Model\Entity\MenuItem) { 'id' => (int) 169, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'active' => true, 'label' => 'Protection des eaux', 'model' => 'Pages', 'foreign_key' => null, 'url' => 'protection-des-eaux', 'target' => '_self', 'parent_id' => (int) 163, 'class' => '', 'lft' => (int) 16, 'rght' => (int) 17, 'menu_id' => (int) 16, 'attachment_id' => null, 'sub_child_menu_items' => [], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'ChildMenuItems' }include - APP/Template/Element/main-nav.ctp, line 6 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1879 Cake\View\View::element() - CORE/src/View/View.php, line 783 include - APP/Template/Pages/view.ctp, line 2 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::render() - CORE/src/View/View.php, line 892 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 791 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 256 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Middleware\CsrfProtectionMiddleware::__invoke() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 133 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
$viewFile = '/data01/sites/ofrou/prod/a1-jag/src/Template/Element/main-nav.ctp' $dataForView = [ '_serialize' => [ (int) 0 => 'page' ], 'page' => object(App\Model\Entity\Page) { 'id' => (int) 42, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Contact', 'slug' => 'contact', 'meta' => '', 'header' => '', 'body' => '<p><strong>Olivier Floc'hic</strong><br />Responsable Information et Communication<br />OFROU Filiale Estavayer-le-lac<br />Tél: +41 58 461 87 16<br />Email: olivier.floc-hic@astra.admin.ch</p> <footer></footer>', 'template' => 'default', 'publish_date' => object(Cake\I18n\FrozenTime) {}, 'status' => 'published', '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [ [maximum depth reached] ], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Pages' }, 'title' => 'Contact', 'activeMenuItem' => false, 'referer' => '/', 'menu' => object(App\Model\Entity\Menu) { 'id' => (int) 16, 'name' => 'Menu principal JAG', 'active' => true, 'sector_id' => (int) 5, 'slug' => '/ofrou/a1/jag: Menu principal', 'menu_items' => [ [maximum depth reached] ], '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [[maximum depth reached]], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Menus' } ] $bufferLevel = (int) 2 $_serialize = [ (int) 0 => 'page' ] $page = object(App\Model\Entity\Page) { 'id' => (int) 42, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Contact', 'slug' => 'contact', 'meta' => '', 'header' => '', 'body' => '<p><strong>Olivier Floc'hic</strong><br />Responsable Information et Communication<br />OFROU Filiale Estavayer-le-lac<br />Tél: +41 58 461 87 16<br />Email: olivier.floc-hic@astra.admin.ch</p> <footer></footer>', 'template' => 'default', 'publish_date' => object(Cake\I18n\FrozenTime) {}, 'status' => 'published', '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [ 'body' => true ], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Pages' } $title = 'Contact' $activeMenuItem = false $referer = '/' $menu = object(App\Model\Entity\Menu) { 'id' => (int) 16, 'name' => 'Menu principal JAG', 'active' => true, 'sector_id' => (int) 5, 'slug' => '/ofrou/a1/jag: Menu principal', 'menu_items' => [ (int) 0 => object(App\Model\Entity\MenuItem) {}, (int) 1 => object(App\Model\Entity\MenuItem) {}, (int) 2 => object(App\Model\Entity\MenuItem) {}, (int) 3 => object(App\Model\Entity\MenuItem) {} ], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Menus' } $hasMenu = false $main = object(App\Model\Entity\MenuItem) { 'id' => (int) 165, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'active' => true, 'label' => 'Vie de chantier', 'model' => '', 'foreign_key' => null, 'url' => 'vie-de-chantier', 'target' => '_self', 'parent_id' => null, 'class' => '', 'lft' => (int) 19, 'rght' => (int) 100, 'menu_id' => (int) 16, 'attachment_id' => null, 'child_menu_items' => [ (int) 0 => object(App\Model\Entity\MenuItem) {}, (int) 1 => object(App\Model\Entity\MenuItem) {}, (int) 2 => object(App\Model\Entity\MenuItem) {}, (int) 3 => object(App\Model\Entity\MenuItem) {}, (int) 4 => object(App\Model\Entity\MenuItem) {}, (int) 5 => object(App\Model\Entity\MenuItem) {} ], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'MenuItems' } $subVisible = false $menuItem = object(App\Model\Entity\MenuItem) { 'id' => (int) 169, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'active' => true, 'label' => 'Protection des eaux', 'model' => 'Pages', 'foreign_key' => null, 'url' => 'protection-des-eaux', 'target' => '_self', 'parent_id' => (int) 163, 'class' => '', 'lft' => (int) 16, 'rght' => (int) 17, 'menu_id' => (int) 16, 'attachment_id' => null, 'sub_child_menu_items' => [], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'ChildMenuItems' }
Notice (8): Trying to get property 'id' of non-object [APP/Template/Element/main-nav.ctp, line 7]Code Context $activeMenuItem->parent_id == $main->id || $activeMenuItem->id == $main->id || !empty(array_filter( $main->child_menu_items, function ($o) use ($activeMenuItem) { return $o->id == $activeMenuItem->parent_id; } ))$viewFile = '/data01/sites/ofrou/prod/a1-jag/src/Template/Element/main-nav.ctp' $dataForView = [ '_serialize' => [ (int) 0 => 'page' ], 'page' => object(App\Model\Entity\Page) { 'id' => (int) 42, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Contact', 'slug' => 'contact', 'meta' => '', 'header' => '', 'body' => '<p><strong>Olivier Floc'hic</strong><br />Responsable Information et Communication<br />OFROU Filiale Estavayer-le-lac<br />Tél: +41 58 461 87 16<br />Email: olivier.floc-hic@astra.admin.ch</p> <footer></footer>', 'template' => 'default', 'publish_date' => object(Cake\I18n\FrozenTime) {}, 'status' => 'published', '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [ [maximum depth reached] ], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Pages' }, 'title' => 'Contact', 'activeMenuItem' => false, 'referer' => '/', 'menu' => object(App\Model\Entity\Menu) { 'id' => (int) 16, 'name' => 'Menu principal JAG', 'active' => true, 'sector_id' => (int) 5, 'slug' => '/ofrou/a1/jag: Menu principal', 'menu_items' => [ [maximum depth reached] ], '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [[maximum depth reached]], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[hasErrors]' => false, '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Menus' } ] $bufferLevel = (int) 2 $_serialize = [ (int) 0 => 'page' ] $page = object(App\Model\Entity\Page) { 'id' => (int) 42, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Contact', 'slug' => 'contact', 'meta' => '', 'header' => '', 'body' => '<p><strong>Olivier Floc'hic</strong><br />Responsable Information et Communication<br />OFROU Filiale Estavayer-le-lac<br />Tél: +41 58 461 87 16<br />Email: olivier.floc-hic@astra.admin.ch</p> <footer></footer>', 'template' => 'default', 'publish_date' => object(Cake\I18n\FrozenTime) {}, 'status' => 'published', '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [ 'body' => true ], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Pages' } $title = 'Contact' $activeMenuItem = false $referer = '/' $menu = object(App\Model\Entity\Menu) { 'id' => (int) 16, 'name' => 'Menu principal JAG', 'active' => true, 'sector_id' => (int) 5, 'slug' => '/ofrou/a1/jag: Menu principal', 'menu_items' => [ (int) 0 => object(App\Model\Entity\MenuItem) {}, (int) 1 => object(App\Model\Entity\MenuItem) {}, (int) 2 => object(App\Model\Entity\MenuItem) {}, (int) 3 => object(App\Model\Entity\MenuItem) {} ], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Menus' } $hasMenu = false $main = object(App\Model\Entity\MenuItem) { 'id' => (int) 165, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'active' => true, 'label' => 'Vie de chantier', 'model' => '', 'foreign_key' => null, 'url' => 'vie-de-chantier', 'target' => '_self', 'parent_id' => null, 'class' => '', 'lft' => (int) 19, 'rght' => (int) 100, 'menu_id' => (int) 16, 'attachment_id' => null, 'child_menu_items' => [ (int) 0 => object(App\Model\Entity\MenuItem) {}, (int) 1 => object(App\Model\Entity\MenuItem) {}, (int) 2 => object(App\Model\Entity\MenuItem) {}, (int) 3 => object(App\Model\Entity\MenuItem) {}, (int) 4 => object(App\Model\Entity\MenuItem) {}, (int) 5 => object(App\Model\Entity\MenuItem) {} ], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'MenuItems' } $subVisible = false $menuItem = object(App\Model\Entity\MenuItem) { 'id' => (int) 169, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'active' => true, 'label' => 'Protection des eaux', 'model' => 'Pages', 'foreign_key' => null, 'url' => 'protection-des-eaux', 'target' => '_self', 'parent_id' => (int) 163, 'class' => '', 'lft' => (int) 16, 'rght' => (int) 17, 'menu_id' => (int) 16, 'attachment_id' => null, 'sub_child_menu_items' => [], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'ChildMenuItems' }include - APP/Template/Element/main-nav.ctp, line 7 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1879 Cake\View\View::element() - CORE/src/View/View.php, line 783 include - APP/Template/Pages/view.ctp, line 2 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::render() - CORE/src/View/View.php, line 892 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 791 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 256 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Middleware\CsrfProtectionMiddleware::__invoke() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 133 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Notice (8): Trying to get property 'parent_id' of non-object [APP/Template/Element/main-nav.ctp, line 8]Code Context $activeMenuItem->id == $main->id || !empty(array_filter( $main->child_menu_items, function ($o) use ($activeMenuItem) { return $o->id == $activeMenuItem->parent_id; } )) );$o = object(App\Model\Entity\MenuItem) { 'id' => (int) 174, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'active' => true, 'label' => 'Environnement', 'model' => '', 'foreign_key' => null, 'url' => '#', 'target' => '_self', 'parent_id' => (int) 165, 'class' => '', 'lft' => (int) 20, 'rght' => (int) 37, 'menu_id' => (int) 16, 'attachment_id' => null, 'sub_child_menu_items' => [ (int) 0 => object(App\Model\Entity\MenuItem) {}, (int) 1 => object(App\Model\Entity\MenuItem) {}, (int) 2 => object(App\Model\Entity\MenuItem) {}, (int) 3 => object(App\Model\Entity\MenuItem) {}, (int) 4 => object(App\Model\Entity\MenuItem) {}, (int) 5 => object(App\Model\Entity\MenuItem) {}, (int) 6 => object(App\Model\Entity\MenuItem) {}, (int) 7 => object(App\Model\Entity\MenuItem) {} ], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'ChildMenuItems' } $activeMenuItem = falseCake\View\View::{closure}() - APP/Template/Element/main-nav.ctp, line 8 array_filter - [internal], line ?? include - APP/Template/Element/main-nav.ctp, line 8 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1879 Cake\View\View::element() - CORE/src/View/View.php, line 783 include - APP/Template/Pages/view.ctp, line 2 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::render() - CORE/src/View/View.php, line 892 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 791 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 256 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
$o = object(App\Model\Entity\MenuItem) { 'id' => (int) 174, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'active' => true, 'label' => 'Environnement', 'model' => '', 'foreign_key' => null, 'url' => '#', 'target' => '_self', 'parent_id' => (int) 165, 'class' => '', 'lft' => (int) 20, 'rght' => (int) 37, 'menu_id' => (int) 16, 'attachment_id' => null, 'sub_child_menu_items' => [ (int) 0 => object(App\Model\Entity\MenuItem) {}, (int) 1 => object(App\Model\Entity\MenuItem) {}, (int) 2 => object(App\Model\Entity\MenuItem) {}, (int) 3 => object(App\Model\Entity\MenuItem) {}, (int) 4 => object(App\Model\Entity\MenuItem) {}, (int) 5 => object(App\Model\Entity\MenuItem) {}, (int) 6 => object(App\Model\Entity\MenuItem) {}, (int) 7 => object(App\Model\Entity\MenuItem) {} ], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'ChildMenuItems' } $activeMenuItem = false
Notice (8): Trying to get property 'parent_id' of non-object [APP/Template/Element/main-nav.ctp, line 8]Code Context $activeMenuItem->id == $main->id || !empty(array_filter( $main->child_menu_items, function ($o) use ($activeMenuItem) { return $o->id == $activeMenuItem->parent_id; } )) );$o = object(App\Model\Entity\MenuItem) { 'id' => (int) 170, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'active' => true, 'label' => 'Archéologie', 'model' => '', 'foreign_key' => null, 'url' => '#', 'target' => '_self', 'parent_id' => (int) 165, 'class' => '', 'lft' => (int) 38, 'rght' => (int) 45, 'menu_id' => (int) 16, 'attachment_id' => null, 'sub_child_menu_items' => [ (int) 0 => object(App\Model\Entity\MenuItem) {}, (int) 1 => object(App\Model\Entity\MenuItem) {}, (int) 2 => object(App\Model\Entity\MenuItem) {} ], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'ChildMenuItems' } $activeMenuItem = falseCake\View\View::{closure}() - APP/Template/Element/main-nav.ctp, line 8 array_filter - [internal], line ?? include - APP/Template/Element/main-nav.ctp, line 8 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1879 Cake\View\View::element() - CORE/src/View/View.php, line 783 include - APP/Template/Pages/view.ctp, line 2 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::render() - CORE/src/View/View.php, line 892 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 791 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 256 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
$o = object(App\Model\Entity\MenuItem) { 'id' => (int) 170, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'active' => true, 'label' => 'Archéologie', 'model' => '', 'foreign_key' => null, 'url' => '#', 'target' => '_self', 'parent_id' => (int) 165, 'class' => '', 'lft' => (int) 38, 'rght' => (int) 45, 'menu_id' => (int) 16, 'attachment_id' => null, 'sub_child_menu_items' => [ (int) 0 => object(App\Model\Entity\MenuItem) {}, (int) 1 => object(App\Model\Entity\MenuItem) {}, (int) 2 => object(App\Model\Entity\MenuItem) {} ], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'ChildMenuItems' } $activeMenuItem = false
Notice (8): Trying to get property 'parent_id' of non-object [APP/Template/Element/main-nav.ctp, line 8]Code Context $activeMenuItem->id == $main->id || !empty(array_filter( $main->child_menu_items, function ($o) use ($activeMenuItem) { return $o->id == $activeMenuItem->parent_id; } )) );$o = object(App\Model\Entity\MenuItem) { 'id' => (int) 172, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'active' => true, 'label' => 'Infrastructure', 'model' => '', 'foreign_key' => null, 'url' => '#', 'target' => '_self', 'parent_id' => (int) 165, 'class' => '', 'lft' => (int) 46, 'rght' => (int) 55, 'menu_id' => (int) 16, 'attachment_id' => null, 'sub_child_menu_items' => [ (int) 0 => object(App\Model\Entity\MenuItem) {}, (int) 1 => object(App\Model\Entity\MenuItem) {}, (int) 2 => object(App\Model\Entity\MenuItem) {}, (int) 3 => object(App\Model\Entity\MenuItem) {} ], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'ChildMenuItems' } $activeMenuItem = falseCake\View\View::{closure}() - APP/Template/Element/main-nav.ctp, line 8 array_filter - [internal], line ?? include - APP/Template/Element/main-nav.ctp, line 8 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1879 Cake\View\View::element() - CORE/src/View/View.php, line 783 include - APP/Template/Pages/view.ctp, line 2 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::render() - CORE/src/View/View.php, line 892 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 791 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 256 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
$o = object(App\Model\Entity\MenuItem) { 'id' => (int) 172, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'active' => true, 'label' => 'Infrastructure', 'model' => '', 'foreign_key' => null, 'url' => '#', 'target' => '_self', 'parent_id' => (int) 165, 'class' => '', 'lft' => (int) 46, 'rght' => (int) 55, 'menu_id' => (int) 16, 'attachment_id' => null, 'sub_child_menu_items' => [ (int) 0 => object(App\Model\Entity\MenuItem) {}, (int) 1 => object(App\Model\Entity\MenuItem) {}, (int) 2 => object(App\Model\Entity\MenuItem) {}, (int) 3 => object(App\Model\Entity\MenuItem) {} ], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'ChildMenuItems' } $activeMenuItem = false
Notice (8): Trying to get property 'parent_id' of non-object [APP/Template/Element/main-nav.ctp, line 8]Code Context $activeMenuItem->id == $main->id || !empty(array_filter( $main->child_menu_items, function ($o) use ($activeMenuItem) { return $o->id == $activeMenuItem->parent_id; } )) );$o = object(App\Model\Entity\MenuItem) { 'id' => (int) 178, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'active' => true, 'label' => 'Logistique', 'model' => '', 'foreign_key' => null, 'url' => '#', 'target' => '_self', 'parent_id' => (int) 165, 'class' => '', 'lft' => (int) 56, 'rght' => (int) 63, 'menu_id' => (int) 16, 'attachment_id' => null, 'sub_child_menu_items' => [ (int) 0 => object(App\Model\Entity\MenuItem) {}, (int) 1 => object(App\Model\Entity\MenuItem) {}, (int) 2 => object(App\Model\Entity\MenuItem) {} ], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'ChildMenuItems' } $activeMenuItem = falseCake\View\View::{closure}() - APP/Template/Element/main-nav.ctp, line 8 array_filter - [internal], line ?? include - APP/Template/Element/main-nav.ctp, line 8 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1879 Cake\View\View::element() - CORE/src/View/View.php, line 783 include - APP/Template/Pages/view.ctp, line 2 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::render() - CORE/src/View/View.php, line 892 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 791 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 256 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
$o = object(App\Model\Entity\MenuItem) { 'id' => (int) 178, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'active' => true, 'label' => 'Logistique', 'model' => '', 'foreign_key' => null, 'url' => '#', 'target' => '_self', 'parent_id' => (int) 165, 'class' => '', 'lft' => (int) 56, 'rght' => (int) 63, 'menu_id' => (int) 16, 'attachment_id' => null, 'sub_child_menu_items' => [ (int) 0 => object(App\Model\Entity\MenuItem) {}, (int) 1 => object(App\Model\Entity\MenuItem) {}, (int) 2 => object(App\Model\Entity\MenuItem) {} ], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'ChildMenuItems' } $activeMenuItem = false
Notice (8): Trying to get property 'parent_id' of non-object [APP/Template/Element/main-nav.ctp, line 8]Code Context $activeMenuItem->id == $main->id || !empty(array_filter( $main->child_menu_items, function ($o) use ($activeMenuItem) { return $o->id == $activeMenuItem->parent_id; } )) );$o = object(App\Model\Entity\MenuItem) { 'id' => (int) 198, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'active' => true, 'label' => 'Ingénierie', 'model' => '', 'foreign_key' => null, 'url' => '#', 'target' => '_self', 'parent_id' => (int) 165, 'class' => '', 'lft' => (int) 64, 'rght' => (int) 69, 'menu_id' => (int) 16, 'attachment_id' => null, 'sub_child_menu_items' => [ (int) 0 => object(App\Model\Entity\MenuItem) {}, (int) 1 => object(App\Model\Entity\MenuItem) {} ], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'ChildMenuItems' } $activeMenuItem = falseCake\View\View::{closure}() - APP/Template/Element/main-nav.ctp, line 8 array_filter - [internal], line ?? include - APP/Template/Element/main-nav.ctp, line 8 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1879 Cake\View\View::element() - CORE/src/View/View.php, line 783 include - APP/Template/Pages/view.ctp, line 2 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::render() - CORE/src/View/View.php, line 892 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 791 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 256 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
$o = object(App\Model\Entity\MenuItem) { 'id' => (int) 198, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'active' => true, 'label' => 'Ingénierie', 'model' => '', 'foreign_key' => null, 'url' => '#', 'target' => '_self', 'parent_id' => (int) 165, 'class' => '', 'lft' => (int) 64, 'rght' => (int) 69, 'menu_id' => (int) 16, 'attachment_id' => null, 'sub_child_menu_items' => [ (int) 0 => object(App\Model\Entity\MenuItem) {}, (int) 1 => object(App\Model\Entity\MenuItem) {} ], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'ChildMenuItems' } $activeMenuItem = false
Notice (8): Trying to get property 'parent_id' of non-object [APP/Template/Element/main-nav.ctp, line 8]Code Context $activeMenuItem->id == $main->id || !empty(array_filter( $main->child_menu_items, function ($o) use ($activeMenuItem) { return $o->id == $activeMenuItem->parent_id; } )) );$o = object(App\Model\Entity\MenuItem) { 'id' => (int) 184, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'active' => true, 'label' => 'Profil métier', 'model' => '', 'foreign_key' => null, 'url' => '#', 'target' => '_self', 'parent_id' => (int) 165, 'class' => '', 'lft' => (int) 70, 'rght' => (int) 99, 'menu_id' => (int) 16, 'attachment_id' => null, 'sub_child_menu_items' => [ (int) 0 => object(App\Model\Entity\MenuItem) {}, (int) 1 => object(App\Model\Entity\MenuItem) {}, (int) 2 => object(App\Model\Entity\MenuItem) {}, (int) 3 => object(App\Model\Entity\MenuItem) {}, (int) 4 => object(App\Model\Entity\MenuItem) {}, (int) 5 => object(App\Model\Entity\MenuItem) {}, (int) 6 => object(App\Model\Entity\MenuItem) {}, (int) 7 => object(App\Model\Entity\MenuItem) {}, (int) 8 => object(App\Model\Entity\MenuItem) {}, (int) 9 => object(App\Model\Entity\MenuItem) {}, (int) 10 => object(App\Model\Entity\MenuItem) {}, (int) 11 => object(App\Model\Entity\MenuItem) {}, (int) 12 => object(App\Model\Entity\MenuItem) {}, (int) 13 => object(App\Model\Entity\MenuItem) {} ], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'ChildMenuItems' } $activeMenuItem = falseCake\View\View::{closure}() - APP/Template/Element/main-nav.ctp, line 8 array_filter - [internal], line ?? include - APP/Template/Element/main-nav.ctp, line 8 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1879 Cake\View\View::element() - CORE/src/View/View.php, line 783 include - APP/Template/Pages/view.ctp, line 2 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435 Cake\View\View::_render() - CORE/src/View/View.php, line 1393 Cake\View\View::render() - CORE/src/View/View.php, line 892 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 791 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 256 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
$o = object(App\Model\Entity\MenuItem) { 'id' => (int) 184, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'active' => true, 'label' => 'Profil métier', 'model' => '', 'foreign_key' => null, 'url' => '#', 'target' => '_self', 'parent_id' => (int) 165, 'class' => '', 'lft' => (int) 70, 'rght' => (int) 99, 'menu_id' => (int) 16, 'attachment_id' => null, 'sub_child_menu_items' => [ (int) 0 => object(App\Model\Entity\MenuItem) {}, (int) 1 => object(App\Model\Entity\MenuItem) {}, (int) 2 => object(App\Model\Entity\MenuItem) {}, (int) 3 => object(App\Model\Entity\MenuItem) {}, (int) 4 => object(App\Model\Entity\MenuItem) {}, (int) 5 => object(App\Model\Entity\MenuItem) {}, (int) 6 => object(App\Model\Entity\MenuItem) {}, (int) 7 => object(App\Model\Entity\MenuItem) {}, (int) 8 => object(App\Model\Entity\MenuItem) {}, (int) 9 => object(App\Model\Entity\MenuItem) {}, (int) 10 => object(App\Model\Entity\MenuItem) {}, (int) 11 => object(App\Model\Entity\MenuItem) {}, (int) 12 => object(App\Model\Entity\MenuItem) {}, (int) 13 => object(App\Model\Entity\MenuItem) {} ], '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'ChildMenuItems' } $activeMenuItem = false
Olivier Floc'hicResponsable Information et CommunicationOFROU Filiale Estavayer-le-lacTél: +41 58 461 87 16Email: olivier.floc-hic@astra.admin.ch