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/bijoux-accessoires/fermoir/fermoirs-mousquetons'
$where = [
(int) 0 => '(Categories_slug_translation.content = "fr/bijoux-accessoires/fermoir/fermoirs-mousquetons" OR Categories.slug = "fr/bijoux-accessoires/fermoir/fermoirs-mousquetons")',
(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/bijoux-accessoires/fermoir/fermoirs-mousquetons'
$where = [
(int) 0 => '(Categories_slug_translation.content = "fr/bijoux-accessoires/fermoir/fermoirs-mousquetons" OR Categories.slug = "fr/bijoux-accessoires/fermoir/fermoirs-mousquetons")',
(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/bijoux-accessoires/fermoir/fermoirs-mousquetons'
$where = [
(int) 0 => '(Categories_slug_translation.content = "fr/bijoux-accessoires/fermoir/fermoirs-mousquetons" OR Categories.slug = "fr/bijoux-accessoires/fermoir/fermoirs-mousquetons")',
(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/bijoux-accessoires/fermoir/fermoirs-mousquetons'
$where = [
(int) 0 => '(Categories_slug_translation.content = "fr/bijoux-accessoires/fermoir/fermoirs-mousquetons" OR Categories.slug = "fr/bijoux-accessoires/fermoir/fermoirs-mousquetons")',
(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/bijoux-accessoires/fermoir/fermoirs-mousquetons'
$where = [
(int) 0 => '(Categories_slug_translation.content = "fr/bijoux-accessoires/fermoir/fermoirs-mousquetons" OR Categories.slug = "fr/bijoux-accessoires/fermoir/fermoirs-mousquetons")',
(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