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 = 'rencontre-feminine-sur-le-parcours-de-mohammedia'
$p = array(
'Page' => array(
'id' => '431',
'domain' => 'casablanca',
'menu_id' => '3',
'submenu_id' => null,
'type' => '',
'name' => 'RENCONTRE FEMININE SUR LE PARCOURS DE MOHAMMEDIA',
'slug' => 'rencontre-feminine-sur-le-parcours-de-mohammedia',
'date_page' => '2021-02-23',
'date_page_end' => null,
'terrain_competition' => '',
'type_competition' => '',
'tag' => '',
'description' => '',
'content' => '<p>Nos chers golfeuses se sont retrouvées ce matin sur le beau Parcours de mohammedia pour une rencontre sportive 100% feminine <img alt="⛳" height="16" referrerpolicy="origin-when-cross-origin" src="https://static.xx.fbcdn.net/images/emoji.php/v9/t1/1.5/16/26f3.png" width="16" /></p>
<p>Un bel accueil leur a été reservé par le Staff du site de mohammedia que nous remercions !</p>
',
'a_la_une' => '0',
'evenement_type_paiement' => '',
'publish_depart' => '0',
'publish_resultat' => '0',
'resultat' => '',
'position' => '0',
'media_id' => '1604',
'view_name' => '',
'created' => '2021-02-24 11:11:04',
'modified' => '2021-03-04 11:44:22',
'thumb' => '/img/uploads/152730707_1794372537409466_7017552548167851894_n.jpg'
),
'Menu' => array(
'id' => '3',
'domain' => 'casablanca',
'name' => 'LA VIE DU CLUB',
'color' => '',
'link' => '',
'type' => 'header'
),
'Thumb' => array(
'id' => '1604',
'ref' => 'Page',
'ref_id' => '431',
'type' => 'pic',
'file' => '/img/uploads/152730707_1794372537409466_7017552548167851894_n.jpg',
'name' => '',
'nature' => 'gallery',
'competition' => '0',
'position' => '0',
'icon' => '/img/uploads/152730707_1794372537409466_7017552548167851894_n.jpg'
),
'Gallery' => array(
(int) 0 => array(
'id' => '1604',
'ref' => 'Page',
'ref_id' => '431',
'type' => 'pic',
'file' => '/img/uploads/152730707_1794372537409466_7017552548167851894_n.jpg',
'name' => '',
'nature' => 'gallery',
'competition' => '0',
'position' => '0',
'icon' => '/img/uploads/152730707_1794372537409466_7017552548167851894_n.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