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 = 'fermeture-du-parcorus-d'anfa-le-mardi-12-septembre-en-raison-des-courses'
$p = array(
'Page' => array(
'id' => '596',
'domain' => 'casablanca',
'menu_id' => '3',
'submenu_id' => null,
'type' => null,
'name' => 'FERMETURE DU PARCORUS D'ANFA LE MARDI 12 SEPTEMBRE EN RAISON DES COURSES',
'slug' => 'fermeture-du-parcorus-d'anfa-le-mardi-12-septembre-en-raison-des-courses',
'date_page' => '2023-09-12',
'date_page_end' => null,
'terrain_competition' => null,
'type_competition' => null,
'tag' => null,
'description' => '',
'content' => '<p dir="ltr">Cher(e)s membres,</p>
<p dir="ltr">Nous vous informons que le Parcours d'Anfa sera fermé ce Mardi 12 Septembre 2023 en raison des courses hippiques et ce de 12h00 à 16h30.</p>
<p dir="ltr">Nous comptons sur votre habituelle compréhension.</p>
',
'a_la_une' => '0',
'evenement_type_paiement' => null,
'publish_depart' => null,
'publish_resultat' => null,
'resultat' => null,
'position' => null,
'media_id' => '2147',
'view_name' => '',
'created' => '2023-09-07 14:32:26',
'modified' => '2023-09-26 14:56:59',
'thumb' => '/img/uploads/Course-2.jpg'
),
'Menu' => array(
'id' => '3',
'domain' => 'casablanca',
'name' => 'LA VIE DU CLUB',
'color' => '',
'link' => '',
'type' => 'header'
),
'Thumb' => array(
'id' => '2147',
'ref' => 'Page',
'ref_id' => '596',
'type' => 'pic',
'file' => '/img/uploads/Course-2.jpg',
'name' => null,
'nature' => 'gallery',
'competition' => '0',
'position' => '0',
'icon' => '/img/uploads/Course-2.jpg'
),
'Gallery' => array(
(int) 0 => array(
'id' => '2147',
'ref' => 'Page',
'ref_id' => '596',
'type' => 'pic',
'file' => '/img/uploads/Course-2.jpg',
'name' => null,
'nature' => 'gallery',
'competition' => '0',
'position' => '0',
'icon' => '/img/uploads/Course-2.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