Notice (8): Trying to get property of non-object [APP/Controller/CategoriesController.php, line 30]Code Context $this->set($d);
$d['works'] = $this->Paginate->Category->Post->find('all',
$id = "6"
$slug = "sciage"
$cat = array(
"Category" => array(
"id" => "6",
"name" => "Sciage Béton",
"slug" => "sciage",
"post_count" => "0",
"image" => "",
"image1" => "",
"link" => array()
)
)
$d = array(
"cat" => array(
"Category" => array()
)
)
CategoriesController::show() - APP/Controller/CategoriesController.php, line 30
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 473
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 107
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 89
[main] - APP/webroot/index.php, line 96
Notice (8): Trying to get property of non-object [APP/Controller/CategoriesController.php, line 30]Code Context $this->set($d);
$d['works'] = $this->Paginate->Category->Post->find('all',
$id = "6"
$slug = "sciage"
$cat = array(
"Category" => array(
"id" => "6",
"name" => "Sciage Béton",
"slug" => "sciage",
"post_count" => "0",
"image" => "",
"image1" => "",
"link" => array()
)
)
$d = array(
"cat" => array(
"Category" => array()
)
)
CategoriesController::show() - APP/Controller/CategoriesController.php, line 30
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 473
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 107
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 89
[main] - APP/webroot/index.php, line 96
Fatal error: Call to a member function find() on null in /home/opure/ltp/www/csb/app/Controller/CategoriesController.php on line 30