Code Context //if($this->auth['role']!='admin') {
$this->loadModel('PagesUser');
$pages_present = $this->PagesUser->find('first', array('conditions'=>array('user_id'=>$this->auth['id'], '1'=>'1 and page_id in(select id from pages where slug="'.$slug.'")')));
$slug = 're-ouverture-de-la--maison-kids-a--partir-du-mardi-21-juillet-2020'
$p = array(
'Page' => array(
'id' => '388',
'domain' => 'casablanca',
'menu_id' => '3',
'submenu_id' => null,
'type' => '',
'name' => 'RÉ-OUVERTURE DE LA MAISON KIDS A PARTIR DU MARDI 21 JUILLET 2020',
'slug' => 're-ouverture-de-la--maison-kids-a--partir-du-mardi-21-juillet-2020',
'date_page' => '2020-07-21',
'date_page_end' => null,
'terrain_competition' => '',
'type_competition' => '',
'tag' => '',
'description' => '',
'content' => '<p>Nous informons nos chers membres que le Kids Club est désormais ouvert en respect total des mesures sanitaires COVID-19. Pour infos. Contacter 0628.55.56.23</p>
',
'a_la_une' => '0',
'evenement_type_paiement' => '',
'publish_depart' => '0',
'publish_resultat' => '0',
'resultat' => '',
'position' => '0',
'media_id' => '1475',
'view_name' => '',
'created' => '2020-07-21 09:45:16',
'modified' => '2020-08-17 15:35:22',
'thumb' => '/img/uploads/115804372_1598344777012244_7658719353107810125_o.jpg'
),
'Menu' => array(
'id' => '3',
'domain' => 'casablanca',
'name' => 'LA VIE DU CLUB',
'color' => '',
'link' => '',
'type' => 'header'
),
'Thumb' => array(
'id' => '1475',
'ref' => 'Page',
'ref_id' => '388',
'type' => 'pic',
'file' => '/img/uploads/115804372_1598344777012244_7658719353107810125_o.jpg',
'name' => 'Summer secu',
'nature' => 'gallery',
'competition' => '0',
'position' => '0',
'icon' => '/img/uploads/115804372_1598344777012244_7658719353107810125_o.jpg'
),
'Gallery' => array(
(int) 0 => array(
'id' => '1475',
'ref' => 'Page',
'ref_id' => '388',
'type' => 'pic',
'file' => '/img/uploads/115804372_1598344777012244_7658719353107810125_o.jpg',
'name' => 'Summer secu',
'nature' => 'gallery',
'competition' => '0',
'position' => '0',
'icon' => '/img/uploads/115804372_1598344777012244_7658719353107810125_o.jpg'
)
),
'Prive' => array(),
'Depart' => array(),
'Resultat' => array(),
'Partie' => array()
)
PagesController::single() - APP/Controller/PagesController.php, line 46
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 107