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 = 'exposition-lions-club---agir-pour-l'autisme-du-25-au-29-au-club-house-d'anfa'
$p = array(
'Page' => array(
'id' => '578',
'domain' => 'casablanca',
'menu_id' => '3',
'submenu_id' => null,
'type' => null,
'name' => 'EXPOSITION LIONS CLUB - AGIR POUR L'AUTISME DU 25 AU 29 AU CLUB HOUSE D'ANFA',
'slug' => 'exposition-lions-club---agir-pour-l'autisme-du-25-au-29-au-club-house-d'anfa',
'date_page' => '2023-05-25',
'date_page_end' => null,
'terrain_competition' => null,
'type_competition' => null,
'tag' => null,
'description' => '',
'content' => '<p>Cher(e)s membres, </p>
<p>Le RGAM en partenariat avec Lions Club organise un vernissage du Jeudi 25 au Lundi 29 Mai 2023 au profit des enfants autistes au Club House d'Anfa à partir de 18h30. Soyez nombreux !</p>
<p>Battons nous ensemble pour apporter de la lumière dans la vie des enfants autistes et leurs familles</p>
',
'a_la_une' => '0',
'evenement_type_paiement' => null,
'publish_depart' => null,
'publish_resultat' => null,
'resultat' => null,
'position' => null,
'media_id' => '2112',
'view_name' => '',
'created' => '2023-05-15 15:04:22',
'modified' => '2023-05-29 10:07:40',
'thumb' => '/img/uploads/Exposition_lions_club.jpg'
),
'Menu' => array(
'id' => '3',
'domain' => 'casablanca',
'name' => 'LA VIE DU CLUB',
'color' => '',
'link' => '',
'type' => 'header'
),
'Thumb' => array(
'id' => '2112',
'ref' => 'Page',
'ref_id' => '578',
'type' => 'pic',
'file' => '/img/uploads/Exposition_lions_club.jpg',
'name' => null,
'nature' => 'gallery',
'competition' => '0',
'position' => '0',
'icon' => '/img/uploads/Exposition_lions_club.jpg'
),
'Gallery' => array(
(int) 0 => array(
'id' => '2112',
'ref' => 'Page',
'ref_id' => '578',
'type' => 'pic',
'file' => '/img/uploads/Exposition_lions_club.jpg',
'name' => null,
'nature' => 'gallery',
'competition' => '0',
'position' => '0',
'icon' => '/img/uploads/Exposition_lions_club.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