Notice (8) : Undefined index: id [APP/controllers/posts_controller.php , line 188 ]Code |
Context $this->Post->locale = $oneLanguage['code'];
$this->Post->recursive = -1;
$languagePost = $this->Post->read(null, $post['id']); $url = "espais-compartits-amb-claudio-lomnitz"
$language = array(
"id" => "1",
"code" => "cat",
"url_code" => "ca",
"name" => "Català",
"active" => "1",
"default" => "1",
"weight" => "0"
)
$post = array()
$activeLanguages = array(
array(
"id" => "1",
"code" => "cat",
"url_code" => "ca",
"name" => "Català",
"active" => "1",
"default" => "1",
"weight" => "0"
),
array(
"id" => "2",
"code" => "spa",
"url_code" => "es",
"name" => "Castellano",
"active" => "1",
"default" => "0",
"weight" => "10"
),
array(
"id" => "3",
"code" => "eng",
"url_code" => "en",
"name" => "English",
"active" => "1",
"default" => "0",
"weight" => "20"
)
)
$languageList = array()
$oneLanguage = array(
"id" => "1",
"code" => "cat",
"url_code" => "ca",
"name" => "Català",
"active" => "1",
"default" => "1",
"weight" => "0"
)
$languageUrl = array(
"myLanguage" => "ca",
"controller" => "posts",
"action" => "view"
) PostsController::view() - APP/controllers/posts_controller.php, line 188
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83 Notice (8) : Undefined index: name [APP/controllers/posts_controller.php , line 210 ]Code |
Context $this->set('languageList', $languageList);
$this->set('title_for_layout', $this->Functions->fck2tooltip($post['name'])); $url = "espais-compartits-amb-claudio-lomnitz"
$language = array(
"id" => "1",
"code" => "cat",
"url_code" => "ca",
"name" => "Català",
"active" => "1",
"default" => "1",
"weight" => "0"
)
$post = array()
$activeLanguages = array(
array(
"id" => "1",
"code" => "cat",
"url_code" => "ca",
"name" => "Català",
"active" => "1",
"default" => "1",
"weight" => "0"
),
array(
"id" => "2",
"code" => "spa",
"url_code" => "es",
"name" => "Castellano",
"active" => "1",
"default" => "0",
"weight" => "10"
),
array(
"id" => "3",
"code" => "eng",
"url_code" => "en",
"name" => "English",
"active" => "1",
"default" => "0",
"weight" => "20"
)
)
$languageList = array(
array(
"name" => "Català",
"url" => array(),
"selected" => false
),
array(
"name" => "Castellano",
"url" => array(),
"selected" => false
),
array(
"name" => "English",
"url" => array(),
"selected" => false
)
)
$oneLanguage = array(
"id" => "3",
"code" => "eng",
"url_code" => "en",
"name" => "English",
"active" => "1",
"default" => "0",
"weight" => "20"
)
$languageUrl = array(
"myLanguage" => "en",
"controller" => "home",
"action" => "index"
)
$languagePost = false
$currentUrl = "/ca/post/espais-compartits-amb-claudio-lomnitz" PostsController::view() - APP/controllers/posts_controller.php, line 210
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83
public space: