Notice (8): Trying to get property of non-object [APP/Controller/CategoriesController.php, line 43]Code Context # Create breadcrumb
$breadcrumbs = array(
strip_tags($parent->parent->name) => '#',
$slug = 'fr/3da4-feuilles-et-blocs-prdcoups/fte-des-pres/fte-des-pres'
$where = [
(int) 0 => '(Categories_slug_translation.content = "fr/3da4-feuilles-et-blocs-prdcoups/fte-des-pres/fte-des-pres" OR Categories.slug = "fr/3da4-feuilles-et-blocs-prdcoups/fte-des-pres/fte-des-pres")',
(int) 1 => '(Categories_active_translation.content = 1 OR Categories.active = 1)'
]
$parent = null
App\Controller\CategoriesController::view() - APP/Controller/CategoriesController.php, line 43
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 429
Cake\Routing\Dispatcher::_invoke() - CORE/src/Routing/Dispatcher.php, line 114
Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 87
[main] - ROOT/webroot/index.php, line 36
Notice (8): Trying to get property of non-object [APP/Controller/CategoriesController.php, line 43]Code Context # Create breadcrumb
$breadcrumbs = array(
strip_tags($parent->parent->name) => '#',
$slug = 'fr/3da4-feuilles-et-blocs-prdcoups/fte-des-pres/fte-des-pres'
$where = [
(int) 0 => '(Categories_slug_translation.content = "fr/3da4-feuilles-et-blocs-prdcoups/fte-des-pres/fte-des-pres" OR Categories.slug = "fr/3da4-feuilles-et-blocs-prdcoups/fte-des-pres/fte-des-pres")',
(int) 1 => '(Categories_active_translation.content = 1 OR Categories.active = 1)'
]
$parent = null
App\Controller\CategoriesController::view() - APP/Controller/CategoriesController.php, line 43
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 429
Cake\Routing\Dispatcher::_invoke() - CORE/src/Routing/Dispatcher.php, line 114
Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 87
[main] - ROOT/webroot/index.php, line 36
Notice (8): Trying to get property of non-object [APP/Controller/CategoriesController.php, line 44]Code Context $breadcrumbs = array(
strip_tags($parent->parent->name) => '#',
strip_tags($parent->name) => Router::url(['controller' => 'Categories', 'action' => 'view', $parent->slug, 'lang' => $this->request->params['lang']])
$slug = 'fr/3da4-feuilles-et-blocs-prdcoups/fte-des-pres/fte-des-pres'
$where = [
(int) 0 => '(Categories_slug_translation.content = "fr/3da4-feuilles-et-blocs-prdcoups/fte-des-pres/fte-des-pres" OR Categories.slug = "fr/3da4-feuilles-et-blocs-prdcoups/fte-des-pres/fte-des-pres")',
(int) 1 => '(Categories_active_translation.content = 1 OR Categories.active = 1)'
]
$parent = null
App\Controller\CategoriesController::view() - APP/Controller/CategoriesController.php, line 44
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 429
Cake\Routing\Dispatcher::_invoke() - CORE/src/Routing/Dispatcher.php, line 114
Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 87
[main] - ROOT/webroot/index.php, line 36
Notice (8): Trying to get property of non-object [APP/Controller/CategoriesController.php, line 44]Code Context $breadcrumbs = array(
strip_tags($parent->parent->name) => '#',
strip_tags($parent->name) => Router::url(['controller' => 'Categories', 'action' => 'view', $parent->slug, 'lang' => $this->request->params['lang']])
$slug = 'fr/3da4-feuilles-et-blocs-prdcoups/fte-des-pres/fte-des-pres'
$where = [
(int) 0 => '(Categories_slug_translation.content = "fr/3da4-feuilles-et-blocs-prdcoups/fte-des-pres/fte-des-pres" OR Categories.slug = "fr/3da4-feuilles-et-blocs-prdcoups/fte-des-pres/fte-des-pres")',
(int) 1 => '(Categories_active_translation.content = 1 OR Categories.active = 1)'
]
$parent = null
App\Controller\CategoriesController::view() - APP/Controller/CategoriesController.php, line 44
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 429
Cake\Routing\Dispatcher::_invoke() - CORE/src/Routing/Dispatcher.php, line 114
Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 87
[main] - ROOT/webroot/index.php, line 36
Notice (8): Trying to get property of non-object [APP/Controller/CategoriesController.php, line 49]Code Context # get sub categories
$categories = $this->Categories->find('list', ['keyField' => 'id', 'valueField' => 'name'])->where(['Categories.category_id' => $parent->id, '(Categories_active_translation.content = 1 OR Categories.active = 1)'])->toArray();
$slug = 'fr/3da4-feuilles-et-blocs-prdcoups/fte-des-pres/fte-des-pres'
$where = [
(int) 0 => '(Categories_slug_translation.content = "fr/3da4-feuilles-et-blocs-prdcoups/fte-des-pres/fte-des-pres" OR Categories.slug = "fr/3da4-feuilles-et-blocs-prdcoups/fte-des-pres/fte-des-pres")',
(int) 1 => '(Categories_active_translation.content = 1 OR Categories.active = 1)'
]
$parent = null
$breadcrumbs = [
'' => '/categorie'
]
App\Controller\CategoriesController::view() - APP/Controller/CategoriesController.php, line 49
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 429
Cake\Routing\Dispatcher::_invoke() - CORE/src/Routing/Dispatcher.php, line 114
Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 87
[main] - ROOT/webroot/index.php, line 36