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) 76, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Travaux du mois de mars 2023', 'slug' => 'travaux-du-mois-de-mars-2023', 'meta' => '', 'header' => '', 'body' => '<p><div id="slide40" class="carousel slide" data-ride="carousel"> <!--<ol class="carousel-indicators"> <li data-target="#slide40" data-slide-to="0" class="active"></li> <li data-target="#slide40" data-slide-to="1" ></li> <li data-target="#slide40" data-slide-to="2" ></li> <li data-target="#slide40" data-slide-to="3" ></li> <li data-target="#slide40" data-slide-to="4" ></li> <li data-target="#slide40" data-slide-to="5" ></li> <li data-target="#slide40" data-slide-to="6" ></li> <li data-target="#slide40" data-slide-to="7" ></li> <li data-target="#slide40" data-slide-to="8" ></li> <li data-target="#slide40" data-slide-to="9" ></li> <li data-target="#slide40" data-slide-to="10" ></li> </ol>--> <div class="carousel-inner"> <div class="item active"> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819777_bassinsetec_20230316_1679902152_361a5189.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819780_bassinsetec_20230316_1679902154_361a5276.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819783_bassinsetec_20230316_1679902157_361a5229.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819786_bassinsetec_20230316_1679902159_361a5262.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819791_bassinsetec_20230322_1679901432_361a6638.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819792_bassinsetec_20230322_1679901462_3d1a1070.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819794_diverschantiers_20230309_1679903802_3d1a0357.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819798_diverschantiers_20230313_1679903130_361a4233.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819799_diverschantiers_20230313_1679903138_361a4538.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819803_diverschantiers_20230313_1679903149_361a4218.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819805_diverschantiers_20230316_1679901876_361a5072.jpg" class="" /> </div> </div> <!-- Controls --> <a class="left carousel-control" href="#slide40" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="right carousel-control" href="#slide40" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> </div> </p>', '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' => 'Travaux du mois de mars 2023', '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) 76, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Travaux du mois de mars 2023', 'slug' => 'travaux-du-mois-de-mars-2023', 'meta' => '', 'header' => '', 'body' => '<p><div id="slide40" class="carousel slide" data-ride="carousel"> <!--<ol class="carousel-indicators"> <li data-target="#slide40" data-slide-to="0" class="active"></li> <li data-target="#slide40" data-slide-to="1" ></li> <li data-target="#slide40" data-slide-to="2" ></li> <li data-target="#slide40" data-slide-to="3" ></li> <li data-target="#slide40" data-slide-to="4" ></li> <li data-target="#slide40" data-slide-to="5" ></li> <li data-target="#slide40" data-slide-to="6" ></li> <li data-target="#slide40" data-slide-to="7" ></li> <li data-target="#slide40" data-slide-to="8" ></li> <li data-target="#slide40" data-slide-to="9" ></li> <li data-target="#slide40" data-slide-to="10" ></li> </ol>--> <div class="carousel-inner"> <div class="item active"> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819777_bassinsetec_20230316_1679902152_361a5189.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819780_bassinsetec_20230316_1679902154_361a5276.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819783_bassinsetec_20230316_1679902157_361a5229.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819786_bassinsetec_20230316_1679902159_361a5262.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819791_bassinsetec_20230322_1679901432_361a6638.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819792_bassinsetec_20230322_1679901462_3d1a1070.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819794_diverschantiers_20230309_1679903802_3d1a0357.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819798_diverschantiers_20230313_1679903130_361a4233.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819799_diverschantiers_20230313_1679903138_361a4538.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819803_diverschantiers_20230313_1679903149_361a4218.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819805_diverschantiers_20230316_1679901876_361a5072.jpg" class="" /> </div> </div> <!-- Controls --> <a class="left carousel-control" href="#slide40" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="right carousel-control" href="#slide40" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> </div> </p>', 'template' => 'default', 'publish_date' => object(Cake\I18n\FrozenTime) {}, 'status' => 'published', '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [ 'body' => true ], '[original]' => [ 'body' => '<p>[slider id=40]</p>' ], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Pages' } $title = 'Travaux du mois de mars 2023' $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) 76, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Travaux du mois de mars 2023', 'slug' => 'travaux-du-mois-de-mars-2023', 'meta' => '', 'header' => '', 'body' => '<p><div id="slide40" class="carousel slide" data-ride="carousel"> <!--<ol class="carousel-indicators"> <li data-target="#slide40" data-slide-to="0" class="active"></li> <li data-target="#slide40" data-slide-to="1" ></li> <li data-target="#slide40" data-slide-to="2" ></li> <li data-target="#slide40" data-slide-to="3" ></li> <li data-target="#slide40" data-slide-to="4" ></li> <li data-target="#slide40" data-slide-to="5" ></li> <li data-target="#slide40" data-slide-to="6" ></li> <li data-target="#slide40" data-slide-to="7" ></li> <li data-target="#slide40" data-slide-to="8" ></li> <li data-target="#slide40" data-slide-to="9" ></li> <li data-target="#slide40" data-slide-to="10" ></li> </ol>--> <div class="carousel-inner"> <div class="item active"> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819777_bassinsetec_20230316_1679902152_361a5189.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819780_bassinsetec_20230316_1679902154_361a5276.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819783_bassinsetec_20230316_1679902157_361a5229.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819786_bassinsetec_20230316_1679902159_361a5262.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819791_bassinsetec_20230322_1679901432_361a6638.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819792_bassinsetec_20230322_1679901462_3d1a1070.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819794_diverschantiers_20230309_1679903802_3d1a0357.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819798_diverschantiers_20230313_1679903130_361a4233.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819799_diverschantiers_20230313_1679903138_361a4538.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819803_diverschantiers_20230313_1679903149_361a4218.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819805_diverschantiers_20230316_1679901876_361a5072.jpg" class="" /> </div> </div> <!-- Controls --> <a class="left carousel-control" href="#slide40" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="right carousel-control" href="#slide40" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> </div> </p>', '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' => 'Travaux du mois de mars 2023', '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) 76, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Travaux du mois de mars 2023', 'slug' => 'travaux-du-mois-de-mars-2023', 'meta' => '', 'header' => '', 'body' => '<p><div id="slide40" class="carousel slide" data-ride="carousel"> <!--<ol class="carousel-indicators"> <li data-target="#slide40" data-slide-to="0" class="active"></li> <li data-target="#slide40" data-slide-to="1" ></li> <li data-target="#slide40" data-slide-to="2" ></li> <li data-target="#slide40" data-slide-to="3" ></li> <li data-target="#slide40" data-slide-to="4" ></li> <li data-target="#slide40" data-slide-to="5" ></li> <li data-target="#slide40" data-slide-to="6" ></li> <li data-target="#slide40" data-slide-to="7" ></li> <li data-target="#slide40" data-slide-to="8" ></li> <li data-target="#slide40" data-slide-to="9" ></li> <li data-target="#slide40" data-slide-to="10" ></li> </ol>--> <div class="carousel-inner"> <div class="item active"> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819777_bassinsetec_20230316_1679902152_361a5189.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819780_bassinsetec_20230316_1679902154_361a5276.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819783_bassinsetec_20230316_1679902157_361a5229.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819786_bassinsetec_20230316_1679902159_361a5262.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819791_bassinsetec_20230322_1679901432_361a6638.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819792_bassinsetec_20230322_1679901462_3d1a1070.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819794_diverschantiers_20230309_1679903802_3d1a0357.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819798_diverschantiers_20230313_1679903130_361a4233.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819799_diverschantiers_20230313_1679903138_361a4538.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819803_diverschantiers_20230313_1679903149_361a4218.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819805_diverschantiers_20230316_1679901876_361a5072.jpg" class="" /> </div> </div> <!-- Controls --> <a class="left carousel-control" href="#slide40" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="right carousel-control" href="#slide40" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> </div> </p>', 'template' => 'default', 'publish_date' => object(Cake\I18n\FrozenTime) {}, 'status' => 'published', '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [ 'body' => true ], '[original]' => [ 'body' => '<p>[slider id=40]</p>' ], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Pages' } $title = 'Travaux du mois de mars 2023' $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) 76, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Travaux du mois de mars 2023', 'slug' => 'travaux-du-mois-de-mars-2023', 'meta' => '', 'header' => '', 'body' => '<p><div id="slide40" class="carousel slide" data-ride="carousel"> <!--<ol class="carousel-indicators"> <li data-target="#slide40" data-slide-to="0" class="active"></li> <li data-target="#slide40" data-slide-to="1" ></li> <li data-target="#slide40" data-slide-to="2" ></li> <li data-target="#slide40" data-slide-to="3" ></li> <li data-target="#slide40" data-slide-to="4" ></li> <li data-target="#slide40" data-slide-to="5" ></li> <li data-target="#slide40" data-slide-to="6" ></li> <li data-target="#slide40" data-slide-to="7" ></li> <li data-target="#slide40" data-slide-to="8" ></li> <li data-target="#slide40" data-slide-to="9" ></li> <li data-target="#slide40" data-slide-to="10" ></li> </ol>--> <div class="carousel-inner"> <div class="item active"> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819777_bassinsetec_20230316_1679902152_361a5189.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819780_bassinsetec_20230316_1679902154_361a5276.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819783_bassinsetec_20230316_1679902157_361a5229.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819786_bassinsetec_20230316_1679902159_361a5262.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819791_bassinsetec_20230322_1679901432_361a6638.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819792_bassinsetec_20230322_1679901462_3d1a1070.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819794_diverschantiers_20230309_1679903802_3d1a0357.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819798_diverschantiers_20230313_1679903130_361a4233.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819799_diverschantiers_20230313_1679903138_361a4538.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819803_diverschantiers_20230313_1679903149_361a4218.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819805_diverschantiers_20230316_1679901876_361a5072.jpg" class="" /> </div> </div> <!-- Controls --> <a class="left carousel-control" href="#slide40" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="right carousel-control" href="#slide40" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> </div> </p>', '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' => 'Travaux du mois de mars 2023', '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) 76, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Travaux du mois de mars 2023', 'slug' => 'travaux-du-mois-de-mars-2023', 'meta' => '', 'header' => '', 'body' => '<p><div id="slide40" class="carousel slide" data-ride="carousel"> <!--<ol class="carousel-indicators"> <li data-target="#slide40" data-slide-to="0" class="active"></li> <li data-target="#slide40" data-slide-to="1" ></li> <li data-target="#slide40" data-slide-to="2" ></li> <li data-target="#slide40" data-slide-to="3" ></li> <li data-target="#slide40" data-slide-to="4" ></li> <li data-target="#slide40" data-slide-to="5" ></li> <li data-target="#slide40" data-slide-to="6" ></li> <li data-target="#slide40" data-slide-to="7" ></li> <li data-target="#slide40" data-slide-to="8" ></li> <li data-target="#slide40" data-slide-to="9" ></li> <li data-target="#slide40" data-slide-to="10" ></li> </ol>--> <div class="carousel-inner"> <div class="item active"> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819777_bassinsetec_20230316_1679902152_361a5189.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819780_bassinsetec_20230316_1679902154_361a5276.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819783_bassinsetec_20230316_1679902157_361a5229.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819786_bassinsetec_20230316_1679902159_361a5262.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819791_bassinsetec_20230322_1679901432_361a6638.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819792_bassinsetec_20230322_1679901462_3d1a1070.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819794_diverschantiers_20230309_1679903802_3d1a0357.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819798_diverschantiers_20230313_1679903130_361a4233.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819799_diverschantiers_20230313_1679903138_361a4538.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819803_diverschantiers_20230313_1679903149_361a4218.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819805_diverschantiers_20230316_1679901876_361a5072.jpg" class="" /> </div> </div> <!-- Controls --> <a class="left carousel-control" href="#slide40" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="right carousel-control" href="#slide40" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> </div> </p>', 'template' => 'default', 'publish_date' => object(Cake\I18n\FrozenTime) {}, 'status' => 'published', '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [ 'body' => true ], '[original]' => [ 'body' => '<p>[slider id=40]</p>' ], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Pages' } $title = 'Travaux du mois de mars 2023' $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) 76, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Travaux du mois de mars 2023', 'slug' => 'travaux-du-mois-de-mars-2023', 'meta' => '', 'header' => '', 'body' => '<p><div id="slide40" class="carousel slide" data-ride="carousel"> <!--<ol class="carousel-indicators"> <li data-target="#slide40" data-slide-to="0" class="active"></li> <li data-target="#slide40" data-slide-to="1" ></li> <li data-target="#slide40" data-slide-to="2" ></li> <li data-target="#slide40" data-slide-to="3" ></li> <li data-target="#slide40" data-slide-to="4" ></li> <li data-target="#slide40" data-slide-to="5" ></li> <li data-target="#slide40" data-slide-to="6" ></li> <li data-target="#slide40" data-slide-to="7" ></li> <li data-target="#slide40" data-slide-to="8" ></li> <li data-target="#slide40" data-slide-to="9" ></li> <li data-target="#slide40" data-slide-to="10" ></li> </ol>--> <div class="carousel-inner"> <div class="item active"> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819777_bassinsetec_20230316_1679902152_361a5189.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819780_bassinsetec_20230316_1679902154_361a5276.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819783_bassinsetec_20230316_1679902157_361a5229.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819786_bassinsetec_20230316_1679902159_361a5262.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819791_bassinsetec_20230322_1679901432_361a6638.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819792_bassinsetec_20230322_1679901462_3d1a1070.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819794_diverschantiers_20230309_1679903802_3d1a0357.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819798_diverschantiers_20230313_1679903130_361a4233.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819799_diverschantiers_20230313_1679903138_361a4538.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819803_diverschantiers_20230313_1679903149_361a4218.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819805_diverschantiers_20230316_1679901876_361a5072.jpg" class="" /> </div> </div> <!-- Controls --> <a class="left carousel-control" href="#slide40" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="right carousel-control" href="#slide40" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> </div> </p>', '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' => 'Travaux du mois de mars 2023', '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) 76, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Travaux du mois de mars 2023', 'slug' => 'travaux-du-mois-de-mars-2023', 'meta' => '', 'header' => '', 'body' => '<p><div id="slide40" class="carousel slide" data-ride="carousel"> <!--<ol class="carousel-indicators"> <li data-target="#slide40" data-slide-to="0" class="active"></li> <li data-target="#slide40" data-slide-to="1" ></li> <li data-target="#slide40" data-slide-to="2" ></li> <li data-target="#slide40" data-slide-to="3" ></li> <li data-target="#slide40" data-slide-to="4" ></li> <li data-target="#slide40" data-slide-to="5" ></li> <li data-target="#slide40" data-slide-to="6" ></li> <li data-target="#slide40" data-slide-to="7" ></li> <li data-target="#slide40" data-slide-to="8" ></li> <li data-target="#slide40" data-slide-to="9" ></li> <li data-target="#slide40" data-slide-to="10" ></li> </ol>--> <div class="carousel-inner"> <div class="item active"> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819777_bassinsetec_20230316_1679902152_361a5189.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819780_bassinsetec_20230316_1679902154_361a5276.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819783_bassinsetec_20230316_1679902157_361a5229.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819786_bassinsetec_20230316_1679902159_361a5262.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819791_bassinsetec_20230322_1679901432_361a6638.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819792_bassinsetec_20230322_1679901462_3d1a1070.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819794_diverschantiers_20230309_1679903802_3d1a0357.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819798_diverschantiers_20230313_1679903130_361a4233.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819799_diverschantiers_20230313_1679903138_361a4538.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819803_diverschantiers_20230313_1679903149_361a4218.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819805_diverschantiers_20230316_1679901876_361a5072.jpg" class="" /> </div> </div> <!-- Controls --> <a class="left carousel-control" href="#slide40" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="right carousel-control" href="#slide40" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> </div> </p>', 'template' => 'default', 'publish_date' => object(Cake\I18n\FrozenTime) {}, 'status' => 'published', '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [ 'body' => true ], '[original]' => [ 'body' => '<p>[slider id=40]</p>' ], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Pages' } $title = 'Travaux du mois de mars 2023' $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) 76, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Travaux du mois de mars 2023', 'slug' => 'travaux-du-mois-de-mars-2023', 'meta' => '', 'header' => '', 'body' => '<p><div id="slide40" class="carousel slide" data-ride="carousel"> <!--<ol class="carousel-indicators"> <li data-target="#slide40" data-slide-to="0" class="active"></li> <li data-target="#slide40" data-slide-to="1" ></li> <li data-target="#slide40" data-slide-to="2" ></li> <li data-target="#slide40" data-slide-to="3" ></li> <li data-target="#slide40" data-slide-to="4" ></li> <li data-target="#slide40" data-slide-to="5" ></li> <li data-target="#slide40" data-slide-to="6" ></li> <li data-target="#slide40" data-slide-to="7" ></li> <li data-target="#slide40" data-slide-to="8" ></li> <li data-target="#slide40" data-slide-to="9" ></li> <li data-target="#slide40" data-slide-to="10" ></li> </ol>--> <div class="carousel-inner"> <div class="item active"> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819777_bassinsetec_20230316_1679902152_361a5189.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819780_bassinsetec_20230316_1679902154_361a5276.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819783_bassinsetec_20230316_1679902157_361a5229.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819786_bassinsetec_20230316_1679902159_361a5262.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819791_bassinsetec_20230322_1679901432_361a6638.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819792_bassinsetec_20230322_1679901462_3d1a1070.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819794_diverschantiers_20230309_1679903802_3d1a0357.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819798_diverschantiers_20230313_1679903130_361a4233.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819799_diverschantiers_20230313_1679903138_361a4538.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819803_diverschantiers_20230313_1679903149_361a4218.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819805_diverschantiers_20230316_1679901876_361a5072.jpg" class="" /> </div> </div> <!-- Controls --> <a class="left carousel-control" href="#slide40" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="right carousel-control" href="#slide40" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> </div> </p>', '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' => 'Travaux du mois de mars 2023', '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) 76, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Travaux du mois de mars 2023', 'slug' => 'travaux-du-mois-de-mars-2023', 'meta' => '', 'header' => '', 'body' => '<p><div id="slide40" class="carousel slide" data-ride="carousel"> <!--<ol class="carousel-indicators"> <li data-target="#slide40" data-slide-to="0" class="active"></li> <li data-target="#slide40" data-slide-to="1" ></li> <li data-target="#slide40" data-slide-to="2" ></li> <li data-target="#slide40" data-slide-to="3" ></li> <li data-target="#slide40" data-slide-to="4" ></li> <li data-target="#slide40" data-slide-to="5" ></li> <li data-target="#slide40" data-slide-to="6" ></li> <li data-target="#slide40" data-slide-to="7" ></li> <li data-target="#slide40" data-slide-to="8" ></li> <li data-target="#slide40" data-slide-to="9" ></li> <li data-target="#slide40" data-slide-to="10" ></li> </ol>--> <div class="carousel-inner"> <div class="item active"> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819777_bassinsetec_20230316_1679902152_361a5189.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819780_bassinsetec_20230316_1679902154_361a5276.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819783_bassinsetec_20230316_1679902157_361a5229.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819786_bassinsetec_20230316_1679902159_361a5262.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819791_bassinsetec_20230322_1679901432_361a6638.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819792_bassinsetec_20230322_1679901462_3d1a1070.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819794_diverschantiers_20230309_1679903802_3d1a0357.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819798_diverschantiers_20230313_1679903130_361a4233.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819799_diverschantiers_20230313_1679903138_361a4538.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819803_diverschantiers_20230313_1679903149_361a4218.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819805_diverschantiers_20230316_1679901876_361a5072.jpg" class="" /> </div> </div> <!-- Controls --> <a class="left carousel-control" href="#slide40" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="right carousel-control" href="#slide40" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> </div> </p>', 'template' => 'default', 'publish_date' => object(Cake\I18n\FrozenTime) {}, 'status' => 'published', '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [ 'body' => true ], '[original]' => [ 'body' => '<p>[slider id=40]</p>' ], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Pages' } $title = 'Travaux du mois de mars 2023' $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) 76, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Travaux du mois de mars 2023', 'slug' => 'travaux-du-mois-de-mars-2023', 'meta' => '', 'header' => '', 'body' => '<p><div id="slide40" class="carousel slide" data-ride="carousel"> <!--<ol class="carousel-indicators"> <li data-target="#slide40" data-slide-to="0" class="active"></li> <li data-target="#slide40" data-slide-to="1" ></li> <li data-target="#slide40" data-slide-to="2" ></li> <li data-target="#slide40" data-slide-to="3" ></li> <li data-target="#slide40" data-slide-to="4" ></li> <li data-target="#slide40" data-slide-to="5" ></li> <li data-target="#slide40" data-slide-to="6" ></li> <li data-target="#slide40" data-slide-to="7" ></li> <li data-target="#slide40" data-slide-to="8" ></li> <li data-target="#slide40" data-slide-to="9" ></li> <li data-target="#slide40" data-slide-to="10" ></li> </ol>--> <div class="carousel-inner"> <div class="item active"> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819777_bassinsetec_20230316_1679902152_361a5189.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819780_bassinsetec_20230316_1679902154_361a5276.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819783_bassinsetec_20230316_1679902157_361a5229.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819786_bassinsetec_20230316_1679902159_361a5262.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819791_bassinsetec_20230322_1679901432_361a6638.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819792_bassinsetec_20230322_1679901462_3d1a1070.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819794_diverschantiers_20230309_1679903802_3d1a0357.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819798_diverschantiers_20230313_1679903130_361a4233.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819799_diverschantiers_20230313_1679903138_361a4538.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819803_diverschantiers_20230313_1679903149_361a4218.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819805_diverschantiers_20230316_1679901876_361a5072.jpg" class="" /> </div> </div> <!-- Controls --> <a class="left carousel-control" href="#slide40" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="right carousel-control" href="#slide40" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> </div> </p>', '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' => 'Travaux du mois de mars 2023', '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) 76, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Travaux du mois de mars 2023', 'slug' => 'travaux-du-mois-de-mars-2023', 'meta' => '', 'header' => '', 'body' => '<p><div id="slide40" class="carousel slide" data-ride="carousel"> <!--<ol class="carousel-indicators"> <li data-target="#slide40" data-slide-to="0" class="active"></li> <li data-target="#slide40" data-slide-to="1" ></li> <li data-target="#slide40" data-slide-to="2" ></li> <li data-target="#slide40" data-slide-to="3" ></li> <li data-target="#slide40" data-slide-to="4" ></li> <li data-target="#slide40" data-slide-to="5" ></li> <li data-target="#slide40" data-slide-to="6" ></li> <li data-target="#slide40" data-slide-to="7" ></li> <li data-target="#slide40" data-slide-to="8" ></li> <li data-target="#slide40" data-slide-to="9" ></li> <li data-target="#slide40" data-slide-to="10" ></li> </ol>--> <div class="carousel-inner"> <div class="item active"> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819777_bassinsetec_20230316_1679902152_361a5189.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819780_bassinsetec_20230316_1679902154_361a5276.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819783_bassinsetec_20230316_1679902157_361a5229.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819786_bassinsetec_20230316_1679902159_361a5262.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819791_bassinsetec_20230322_1679901432_361a6638.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819792_bassinsetec_20230322_1679901462_3d1a1070.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819794_diverschantiers_20230309_1679903802_3d1a0357.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819798_diverschantiers_20230313_1679903130_361a4233.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819799_diverschantiers_20230313_1679903138_361a4538.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819803_diverschantiers_20230313_1679903149_361a4218.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819805_diverschantiers_20230316_1679901876_361a5072.jpg" class="" /> </div> </div> <!-- Controls --> <a class="left carousel-control" href="#slide40" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="right carousel-control" href="#slide40" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> </div> </p>', 'template' => 'default', 'publish_date' => object(Cake\I18n\FrozenTime) {}, 'status' => 'published', '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [ 'body' => true ], '[original]' => [ 'body' => '<p>[slider id=40]</p>' ], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Pages' } $title = 'Travaux du mois de mars 2023' $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) 76, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Travaux du mois de mars 2023', 'slug' => 'travaux-du-mois-de-mars-2023', 'meta' => '', 'header' => '', 'body' => '<p><div id="slide40" class="carousel slide" data-ride="carousel"> <!--<ol class="carousel-indicators"> <li data-target="#slide40" data-slide-to="0" class="active"></li> <li data-target="#slide40" data-slide-to="1" ></li> <li data-target="#slide40" data-slide-to="2" ></li> <li data-target="#slide40" data-slide-to="3" ></li> <li data-target="#slide40" data-slide-to="4" ></li> <li data-target="#slide40" data-slide-to="5" ></li> <li data-target="#slide40" data-slide-to="6" ></li> <li data-target="#slide40" data-slide-to="7" ></li> <li data-target="#slide40" data-slide-to="8" ></li> <li data-target="#slide40" data-slide-to="9" ></li> <li data-target="#slide40" data-slide-to="10" ></li> </ol>--> <div class="carousel-inner"> <div class="item active"> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819777_bassinsetec_20230316_1679902152_361a5189.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819780_bassinsetec_20230316_1679902154_361a5276.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819783_bassinsetec_20230316_1679902157_361a5229.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819786_bassinsetec_20230316_1679902159_361a5262.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819791_bassinsetec_20230322_1679901432_361a6638.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819792_bassinsetec_20230322_1679901462_3d1a1070.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819794_diverschantiers_20230309_1679903802_3d1a0357.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819798_diverschantiers_20230313_1679903130_361a4233.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819799_diverschantiers_20230313_1679903138_361a4538.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819803_diverschantiers_20230313_1679903149_361a4218.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819805_diverschantiers_20230316_1679901876_361a5072.jpg" class="" /> </div> </div> <!-- Controls --> <a class="left carousel-control" href="#slide40" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="right carousel-control" href="#slide40" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> </div> </p>', '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' => 'Travaux du mois de mars 2023', '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) 76, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Travaux du mois de mars 2023', 'slug' => 'travaux-du-mois-de-mars-2023', 'meta' => '', 'header' => '', 'body' => '<p><div id="slide40" class="carousel slide" data-ride="carousel"> <!--<ol class="carousel-indicators"> <li data-target="#slide40" data-slide-to="0" class="active"></li> <li data-target="#slide40" data-slide-to="1" ></li> <li data-target="#slide40" data-slide-to="2" ></li> <li data-target="#slide40" data-slide-to="3" ></li> <li data-target="#slide40" data-slide-to="4" ></li> <li data-target="#slide40" data-slide-to="5" ></li> <li data-target="#slide40" data-slide-to="6" ></li> <li data-target="#slide40" data-slide-to="7" ></li> <li data-target="#slide40" data-slide-to="8" ></li> <li data-target="#slide40" data-slide-to="9" ></li> <li data-target="#slide40" data-slide-to="10" ></li> </ol>--> <div class="carousel-inner"> <div class="item active"> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819777_bassinsetec_20230316_1679902152_361a5189.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819780_bassinsetec_20230316_1679902154_361a5276.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819783_bassinsetec_20230316_1679902157_361a5229.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819786_bassinsetec_20230316_1679902159_361a5262.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819791_bassinsetec_20230322_1679901432_361a6638.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819792_bassinsetec_20230322_1679901462_3d1a1070.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819794_diverschantiers_20230309_1679903802_3d1a0357.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819798_diverschantiers_20230313_1679903130_361a4233.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819799_diverschantiers_20230313_1679903138_361a4538.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819803_diverschantiers_20230313_1679903149_361a4218.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819805_diverschantiers_20230316_1679901876_361a5072.jpg" class="" /> </div> </div> <!-- Controls --> <a class="left carousel-control" href="#slide40" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="right carousel-control" href="#slide40" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> </div> </p>', 'template' => 'default', 'publish_date' => object(Cake\I18n\FrozenTime) {}, 'status' => 'published', '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [ 'body' => true ], '[original]' => [ 'body' => '<p>[slider id=40]</p>' ], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Pages' } $title = 'Travaux du mois de mars 2023' $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) 76, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Travaux du mois de mars 2023', 'slug' => 'travaux-du-mois-de-mars-2023', 'meta' => '', 'header' => '', 'body' => '<p><div id="slide40" class="carousel slide" data-ride="carousel"> <!--<ol class="carousel-indicators"> <li data-target="#slide40" data-slide-to="0" class="active"></li> <li data-target="#slide40" data-slide-to="1" ></li> <li data-target="#slide40" data-slide-to="2" ></li> <li data-target="#slide40" data-slide-to="3" ></li> <li data-target="#slide40" data-slide-to="4" ></li> <li data-target="#slide40" data-slide-to="5" ></li> <li data-target="#slide40" data-slide-to="6" ></li> <li data-target="#slide40" data-slide-to="7" ></li> <li data-target="#slide40" data-slide-to="8" ></li> <li data-target="#slide40" data-slide-to="9" ></li> <li data-target="#slide40" data-slide-to="10" ></li> </ol>--> <div class="carousel-inner"> <div class="item active"> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819777_bassinsetec_20230316_1679902152_361a5189.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819780_bassinsetec_20230316_1679902154_361a5276.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819783_bassinsetec_20230316_1679902157_361a5229.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819786_bassinsetec_20230316_1679902159_361a5262.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819791_bassinsetec_20230322_1679901432_361a6638.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819792_bassinsetec_20230322_1679901462_3d1a1070.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819794_diverschantiers_20230309_1679903802_3d1a0357.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819798_diverschantiers_20230313_1679903130_361a4233.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819799_diverschantiers_20230313_1679903138_361a4538.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819803_diverschantiers_20230313_1679903149_361a4218.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819805_diverschantiers_20230316_1679901876_361a5072.jpg" class="" /> </div> </div> <!-- Controls --> <a class="left carousel-control" href="#slide40" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="right carousel-control" href="#slide40" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> </div> </p>', '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' => 'Travaux du mois de mars 2023', '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) 76, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Travaux du mois de mars 2023', 'slug' => 'travaux-du-mois-de-mars-2023', 'meta' => '', 'header' => '', 'body' => '<p><div id="slide40" class="carousel slide" data-ride="carousel"> <!--<ol class="carousel-indicators"> <li data-target="#slide40" data-slide-to="0" class="active"></li> <li data-target="#slide40" data-slide-to="1" ></li> <li data-target="#slide40" data-slide-to="2" ></li> <li data-target="#slide40" data-slide-to="3" ></li> <li data-target="#slide40" data-slide-to="4" ></li> <li data-target="#slide40" data-slide-to="5" ></li> <li data-target="#slide40" data-slide-to="6" ></li> <li data-target="#slide40" data-slide-to="7" ></li> <li data-target="#slide40" data-slide-to="8" ></li> <li data-target="#slide40" data-slide-to="9" ></li> <li data-target="#slide40" data-slide-to="10" ></li> </ol>--> <div class="carousel-inner"> <div class="item active"> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819777_bassinsetec_20230316_1679902152_361a5189.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819780_bassinsetec_20230316_1679902154_361a5276.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819783_bassinsetec_20230316_1679902157_361a5229.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819786_bassinsetec_20230316_1679902159_361a5262.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819791_bassinsetec_20230322_1679901432_361a6638.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819792_bassinsetec_20230322_1679901462_3d1a1070.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819794_diverschantiers_20230309_1679903802_3d1a0357.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819798_diverschantiers_20230313_1679903130_361a4233.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819799_diverschantiers_20230313_1679903138_361a4538.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819803_diverschantiers_20230313_1679903149_361a4218.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819805_diverschantiers_20230316_1679901876_361a5072.jpg" class="" /> </div> </div> <!-- Controls --> <a class="left carousel-control" href="#slide40" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="right carousel-control" href="#slide40" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> </div> </p>', 'template' => 'default', 'publish_date' => object(Cake\I18n\FrozenTime) {}, 'status' => 'published', '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [ 'body' => true ], '[original]' => [ 'body' => '<p>[slider id=40]</p>' ], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Pages' } $title = 'Travaux du mois de mars 2023' $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) 76, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Travaux du mois de mars 2023', 'slug' => 'travaux-du-mois-de-mars-2023', 'meta' => '', 'header' => '', 'body' => '<p><div id="slide40" class="carousel slide" data-ride="carousel"> <!--<ol class="carousel-indicators"> <li data-target="#slide40" data-slide-to="0" class="active"></li> <li data-target="#slide40" data-slide-to="1" ></li> <li data-target="#slide40" data-slide-to="2" ></li> <li data-target="#slide40" data-slide-to="3" ></li> <li data-target="#slide40" data-slide-to="4" ></li> <li data-target="#slide40" data-slide-to="5" ></li> <li data-target="#slide40" data-slide-to="6" ></li> <li data-target="#slide40" data-slide-to="7" ></li> <li data-target="#slide40" data-slide-to="8" ></li> <li data-target="#slide40" data-slide-to="9" ></li> <li data-target="#slide40" data-slide-to="10" ></li> </ol>--> <div class="carousel-inner"> <div class="item active"> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819777_bassinsetec_20230316_1679902152_361a5189.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819780_bassinsetec_20230316_1679902154_361a5276.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819783_bassinsetec_20230316_1679902157_361a5229.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819786_bassinsetec_20230316_1679902159_361a5262.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819791_bassinsetec_20230322_1679901432_361a6638.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819792_bassinsetec_20230322_1679901462_3d1a1070.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819794_diverschantiers_20230309_1679903802_3d1a0357.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819798_diverschantiers_20230313_1679903130_361a4233.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819799_diverschantiers_20230313_1679903138_361a4538.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819803_diverschantiers_20230313_1679903149_361a4218.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819805_diverschantiers_20230316_1679901876_361a5072.jpg" class="" /> </div> </div> <!-- Controls --> <a class="left carousel-control" href="#slide40" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="right carousel-control" href="#slide40" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> </div> </p>', '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' => 'Travaux du mois de mars 2023', '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) 76, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Travaux du mois de mars 2023', 'slug' => 'travaux-du-mois-de-mars-2023', 'meta' => '', 'header' => '', 'body' => '<p><div id="slide40" class="carousel slide" data-ride="carousel"> <!--<ol class="carousel-indicators"> <li data-target="#slide40" data-slide-to="0" class="active"></li> <li data-target="#slide40" data-slide-to="1" ></li> <li data-target="#slide40" data-slide-to="2" ></li> <li data-target="#slide40" data-slide-to="3" ></li> <li data-target="#slide40" data-slide-to="4" ></li> <li data-target="#slide40" data-slide-to="5" ></li> <li data-target="#slide40" data-slide-to="6" ></li> <li data-target="#slide40" data-slide-to="7" ></li> <li data-target="#slide40" data-slide-to="8" ></li> <li data-target="#slide40" data-slide-to="9" ></li> <li data-target="#slide40" data-slide-to="10" ></li> </ol>--> <div class="carousel-inner"> <div class="item active"> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819777_bassinsetec_20230316_1679902152_361a5189.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819780_bassinsetec_20230316_1679902154_361a5276.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819783_bassinsetec_20230316_1679902157_361a5229.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819786_bassinsetec_20230316_1679902159_361a5262.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819791_bassinsetec_20230322_1679901432_361a6638.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819792_bassinsetec_20230322_1679901462_3d1a1070.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819794_diverschantiers_20230309_1679903802_3d1a0357.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819798_diverschantiers_20230313_1679903130_361a4233.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819799_diverschantiers_20230313_1679903138_361a4538.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819803_diverschantiers_20230313_1679903149_361a4218.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819805_diverschantiers_20230316_1679901876_361a5072.jpg" class="" /> </div> </div> <!-- Controls --> <a class="left carousel-control" href="#slide40" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="right carousel-control" href="#slide40" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> </div> </p>', 'template' => 'default', 'publish_date' => object(Cake\I18n\FrozenTime) {}, 'status' => 'published', '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [ 'body' => true ], '[original]' => [ 'body' => '<p>[slider id=40]</p>' ], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Pages' } $title = 'Travaux du mois de mars 2023' $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) 76, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Travaux du mois de mars 2023', 'slug' => 'travaux-du-mois-de-mars-2023', 'meta' => '', 'header' => '', 'body' => '<p><div id="slide40" class="carousel slide" data-ride="carousel"> <!--<ol class="carousel-indicators"> <li data-target="#slide40" data-slide-to="0" class="active"></li> <li data-target="#slide40" data-slide-to="1" ></li> <li data-target="#slide40" data-slide-to="2" ></li> <li data-target="#slide40" data-slide-to="3" ></li> <li data-target="#slide40" data-slide-to="4" ></li> <li data-target="#slide40" data-slide-to="5" ></li> <li data-target="#slide40" data-slide-to="6" ></li> <li data-target="#slide40" data-slide-to="7" ></li> <li data-target="#slide40" data-slide-to="8" ></li> <li data-target="#slide40" data-slide-to="9" ></li> <li data-target="#slide40" data-slide-to="10" ></li> </ol>--> <div class="carousel-inner"> <div class="item active"> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819777_bassinsetec_20230316_1679902152_361a5189.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819780_bassinsetec_20230316_1679902154_361a5276.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819783_bassinsetec_20230316_1679902157_361a5229.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819786_bassinsetec_20230316_1679902159_361a5262.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819791_bassinsetec_20230322_1679901432_361a6638.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819792_bassinsetec_20230322_1679901462_3d1a1070.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819794_diverschantiers_20230309_1679903802_3d1a0357.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819798_diverschantiers_20230313_1679903130_361a4233.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819799_diverschantiers_20230313_1679903138_361a4538.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819803_diverschantiers_20230313_1679903149_361a4218.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819805_diverschantiers_20230316_1679901876_361a5072.jpg" class="" /> </div> </div> <!-- Controls --> <a class="left carousel-control" href="#slide40" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="right carousel-control" href="#slide40" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> </div> </p>', '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' => 'Travaux du mois de mars 2023', '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) 76, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Travaux du mois de mars 2023', 'slug' => 'travaux-du-mois-de-mars-2023', 'meta' => '', 'header' => '', 'body' => '<p><div id="slide40" class="carousel slide" data-ride="carousel"> <!--<ol class="carousel-indicators"> <li data-target="#slide40" data-slide-to="0" class="active"></li> <li data-target="#slide40" data-slide-to="1" ></li> <li data-target="#slide40" data-slide-to="2" ></li> <li data-target="#slide40" data-slide-to="3" ></li> <li data-target="#slide40" data-slide-to="4" ></li> <li data-target="#slide40" data-slide-to="5" ></li> <li data-target="#slide40" data-slide-to="6" ></li> <li data-target="#slide40" data-slide-to="7" ></li> <li data-target="#slide40" data-slide-to="8" ></li> <li data-target="#slide40" data-slide-to="9" ></li> <li data-target="#slide40" data-slide-to="10" ></li> </ol>--> <div class="carousel-inner"> <div class="item active"> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819777_bassinsetec_20230316_1679902152_361a5189.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819780_bassinsetec_20230316_1679902154_361a5276.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819783_bassinsetec_20230316_1679902157_361a5229.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819786_bassinsetec_20230316_1679902159_361a5262.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819791_bassinsetec_20230322_1679901432_361a6638.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819792_bassinsetec_20230322_1679901462_3d1a1070.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819794_diverschantiers_20230309_1679903802_3d1a0357.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819798_diverschantiers_20230313_1679903130_361a4233.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819799_diverschantiers_20230313_1679903138_361a4538.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819803_diverschantiers_20230313_1679903149_361a4218.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819805_diverschantiers_20230316_1679901876_361a5072.jpg" class="" /> </div> </div> <!-- Controls --> <a class="left carousel-control" href="#slide40" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="right carousel-control" href="#slide40" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> </div> </p>', 'template' => 'default', 'publish_date' => object(Cake\I18n\FrozenTime) {}, 'status' => 'published', '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [ 'body' => true ], '[original]' => [ 'body' => '<p>[slider id=40]</p>' ], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Pages' } $title = 'Travaux du mois de mars 2023' $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) 76, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Travaux du mois de mars 2023', 'slug' => 'travaux-du-mois-de-mars-2023', 'meta' => '', 'header' => '', 'body' => '<p><div id="slide40" class="carousel slide" data-ride="carousel"> <!--<ol class="carousel-indicators"> <li data-target="#slide40" data-slide-to="0" class="active"></li> <li data-target="#slide40" data-slide-to="1" ></li> <li data-target="#slide40" data-slide-to="2" ></li> <li data-target="#slide40" data-slide-to="3" ></li> <li data-target="#slide40" data-slide-to="4" ></li> <li data-target="#slide40" data-slide-to="5" ></li> <li data-target="#slide40" data-slide-to="6" ></li> <li data-target="#slide40" data-slide-to="7" ></li> <li data-target="#slide40" data-slide-to="8" ></li> <li data-target="#slide40" data-slide-to="9" ></li> <li data-target="#slide40" data-slide-to="10" ></li> </ol>--> <div class="carousel-inner"> <div class="item active"> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819777_bassinsetec_20230316_1679902152_361a5189.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819780_bassinsetec_20230316_1679902154_361a5276.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819783_bassinsetec_20230316_1679902157_361a5229.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819786_bassinsetec_20230316_1679902159_361a5262.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819791_bassinsetec_20230322_1679901432_361a6638.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819792_bassinsetec_20230322_1679901462_3d1a1070.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819794_diverschantiers_20230309_1679903802_3d1a0357.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819798_diverschantiers_20230313_1679903130_361a4233.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819799_diverschantiers_20230313_1679903138_361a4538.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819803_diverschantiers_20230313_1679903149_361a4218.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819805_diverschantiers_20230316_1679901876_361a5072.jpg" class="" /> </div> </div> <!-- Controls --> <a class="left carousel-control" href="#slide40" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="right carousel-control" href="#slide40" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> </div> </p>', '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' => 'Travaux du mois de mars 2023', '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) 76, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Travaux du mois de mars 2023', 'slug' => 'travaux-du-mois-de-mars-2023', 'meta' => '', 'header' => '', 'body' => '<p><div id="slide40" class="carousel slide" data-ride="carousel"> <!--<ol class="carousel-indicators"> <li data-target="#slide40" data-slide-to="0" class="active"></li> <li data-target="#slide40" data-slide-to="1" ></li> <li data-target="#slide40" data-slide-to="2" ></li> <li data-target="#slide40" data-slide-to="3" ></li> <li data-target="#slide40" data-slide-to="4" ></li> <li data-target="#slide40" data-slide-to="5" ></li> <li data-target="#slide40" data-slide-to="6" ></li> <li data-target="#slide40" data-slide-to="7" ></li> <li data-target="#slide40" data-slide-to="8" ></li> <li data-target="#slide40" data-slide-to="9" ></li> <li data-target="#slide40" data-slide-to="10" ></li> </ol>--> <div class="carousel-inner"> <div class="item active"> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819777_bassinsetec_20230316_1679902152_361a5189.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819780_bassinsetec_20230316_1679902154_361a5276.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819783_bassinsetec_20230316_1679902157_361a5229.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819786_bassinsetec_20230316_1679902159_361a5262.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819791_bassinsetec_20230322_1679901432_361a6638.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819792_bassinsetec_20230322_1679901462_3d1a1070.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819794_diverschantiers_20230309_1679903802_3d1a0357.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819798_diverschantiers_20230313_1679903130_361a4233.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819799_diverschantiers_20230313_1679903138_361a4538.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819803_diverschantiers_20230313_1679903149_361a4218.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819805_diverschantiers_20230316_1679901876_361a5072.jpg" class="" /> </div> </div> <!-- Controls --> <a class="left carousel-control" href="#slide40" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="right carousel-control" href="#slide40" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> </div> </p>', 'template' => 'default', 'publish_date' => object(Cake\I18n\FrozenTime) {}, 'status' => 'published', '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [ 'body' => true ], '[original]' => [ 'body' => '<p>[slider id=40]</p>' ], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Pages' } $title = 'Travaux du mois de mars 2023' $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) 76, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Travaux du mois de mars 2023', 'slug' => 'travaux-du-mois-de-mars-2023', 'meta' => '', 'header' => '', 'body' => '<p><div id="slide40" class="carousel slide" data-ride="carousel"> <!--<ol class="carousel-indicators"> <li data-target="#slide40" data-slide-to="0" class="active"></li> <li data-target="#slide40" data-slide-to="1" ></li> <li data-target="#slide40" data-slide-to="2" ></li> <li data-target="#slide40" data-slide-to="3" ></li> <li data-target="#slide40" data-slide-to="4" ></li> <li data-target="#slide40" data-slide-to="5" ></li> <li data-target="#slide40" data-slide-to="6" ></li> <li data-target="#slide40" data-slide-to="7" ></li> <li data-target="#slide40" data-slide-to="8" ></li> <li data-target="#slide40" data-slide-to="9" ></li> <li data-target="#slide40" data-slide-to="10" ></li> </ol>--> <div class="carousel-inner"> <div class="item active"> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819777_bassinsetec_20230316_1679902152_361a5189.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819780_bassinsetec_20230316_1679902154_361a5276.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819783_bassinsetec_20230316_1679902157_361a5229.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819786_bassinsetec_20230316_1679902159_361a5262.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819791_bassinsetec_20230322_1679901432_361a6638.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819792_bassinsetec_20230322_1679901462_3d1a1070.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819794_diverschantiers_20230309_1679903802_3d1a0357.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819798_diverschantiers_20230313_1679903130_361a4233.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819799_diverschantiers_20230313_1679903138_361a4538.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819803_diverschantiers_20230313_1679903149_361a4218.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819805_diverschantiers_20230316_1679901876_361a5072.jpg" class="" /> </div> </div> <!-- Controls --> <a class="left carousel-control" href="#slide40" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="right carousel-control" href="#slide40" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> </div> </p>', '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' => 'Travaux du mois de mars 2023', '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) 76, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'title' => 'Travaux du mois de mars 2023', 'slug' => 'travaux-du-mois-de-mars-2023', 'meta' => '', 'header' => '', 'body' => '<p><div id="slide40" class="carousel slide" data-ride="carousel"> <!--<ol class="carousel-indicators"> <li data-target="#slide40" data-slide-to="0" class="active"></li> <li data-target="#slide40" data-slide-to="1" ></li> <li data-target="#slide40" data-slide-to="2" ></li> <li data-target="#slide40" data-slide-to="3" ></li> <li data-target="#slide40" data-slide-to="4" ></li> <li data-target="#slide40" data-slide-to="5" ></li> <li data-target="#slide40" data-slide-to="6" ></li> <li data-target="#slide40" data-slide-to="7" ></li> <li data-target="#slide40" data-slide-to="8" ></li> <li data-target="#slide40" data-slide-to="9" ></li> <li data-target="#slide40" data-slide-to="10" ></li> </ol>--> <div class="carousel-inner"> <div class="item active"> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819777_bassinsetec_20230316_1679902152_361a5189.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819780_bassinsetec_20230316_1679902154_361a5276.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819783_bassinsetec_20230316_1679902157_361a5229.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819786_bassinsetec_20230316_1679902159_361a5262.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819791_bassinsetec_20230322_1679901432_361a6638.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819792_bassinsetec_20230322_1679901462_3d1a1070.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819794_diverschantiers_20230309_1679903802_3d1a0357.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819798_diverschantiers_20230313_1679903130_361a4233.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819799_diverschantiers_20230313_1679903138_361a4538.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819803_diverschantiers_20230313_1679903149_361a4218.jpg" class="" /> </div> <div class="item "> <img src="https://a1-jag.ofrou.ch/thumbnails/default/w1000q100/1681819805_diverschantiers_20230316_1679901876_361a5072.jpg" class="" /> </div> </div> <!-- Controls --> <a class="left carousel-control" href="#slide40" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="right carousel-control" href="#slide40" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> </div> </p>', 'template' => 'default', 'publish_date' => object(Cake\I18n\FrozenTime) {}, 'status' => 'published', '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [ 'body' => true ], '[original]' => [ 'body' => '<p>[slider id=40]</p>' ], '[virtual]' => [], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'Pages' } $title = 'Travaux du mois de mars 2023' $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