Notice (8): Undefined variable: end_id [APP/Controller/WorksController.php, line 69]Code Context $next_id = key(array_slice($list_works, 1, 1, true));
}
elseif($work['Work']['id'] == $end_id){
$id = '17'
$slug = 'tissot-swissmatic'
$work = array(
'Work' => array(
'id' => '17',
'title' => 'Swissmatic',
'slug' => 'swissmatic',
'client' => 'Tissot',
'year' => '2017',
'content' => '<div>TVC Europe for Tissot</div><div><br></div><div>Agency : Creative Doing</div><div>Production : Soldats</div><div>Director : Guillaume Allantaz</div><div>Art Director : Jérôme Masi</div><div><span style="font-size: 1rem;"><br></span></div><div><span style="font-size: 1rem;">Dop : Antoine Carpentier</span><br></div><div>Camera Assistant : Beranger Brillante</div><div>Light : Greg Pedat</div><div>Director assistant : Victoria Weiss</div><div>Production director : Tom Bertrand</div><div>Etalonnage : Digital District </div><div><br></div><div><span style="font-size: 1rem;">Music : The Rapture "In the grace of your love"</span></div><div><span style="font-size: 1rem;"><br></span></div><div><br></div>',
'img_slider' => '/img/works/17.jpg',
'slider_home' => '0',
'created' => '2018-05-15 11:34:05',
'modified' => '2019-01-31 09:21:50',
'online' => '0',
'link' => array(
'controller' => 'works',
'action' => 'view',
'id' => '17',
'slug' => 'swissmatic'
)
),
'Media' => array(
(int) 89 => array(
'id' => '89',
'ref' => 'Work',
'ref_id' => '17',
'file' => null,
'video_url' => 'https://player.vimeo.com/video/243661880',
'position' => '1'
)
),
'Filter' => array(
(int) 0 => array(
'id' => '2',
'title' => 'Art Direction',
'position' => '2',
'FiltersWork' => array(
[maximum depth reached]
)
)
)
)
$medias = array(
(int) 0 => array(
'WorksMedia' => array(
'id' => '89',
'ref' => 'Work',
'ref_id' => '17',
'file' => null,
'video_url' => 'https://player.vimeo.com/video/243661880',
'position' => '1'
)
)
)
$order_slider = array(
'Setting' => array(
'id' => '13',
'title' => 'Work ordre affichage des projets',
'description' => 'Choix de l'ordre d'affichage des projets sur la page work',
'value' => 'year DESC',
'wysiwyg' => false,
'bool' => false,
'img' => false,
'img_alt' => null
)
)
$list_works = array(
(int) 25 => '25',
(int) 24 => '24',
(int) 23 => '23',
(int) 21 => '21',
(int) 19 => '19',
(int) 15 => '15',
(int) 13 => '13',
(int) 9 => '9',
(int) 14 => '14',
(int) 1 => '1',
(int) 12 => '12',
(int) 5 => '5',
(int) 27 => '27',
(int) 26 => '26',
(int) 2 => '2'
)
$x = (int) 15
$k = (int) 2
$v = '2'
$first_id = (int) 25
WorksController::view() - APP/Controller/WorksController.php, line 69
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 118
Notice (8): Undefined variable: prev_id [APP/Controller/WorksController.php, line 76]Code Context }
$work_prev = $this->Work->find('first', array('conditions' => array('id' => $prev_id)));
$id = '17'
$slug = 'tissot-swissmatic'
$work = array(
'Work' => array(
'id' => '17',
'title' => 'Swissmatic',
'slug' => 'swissmatic',
'client' => 'Tissot',
'year' => '2017',
'content' => '<div>TVC Europe for Tissot</div><div><br></div><div>Agency : Creative Doing</div><div>Production : Soldats</div><div>Director : Guillaume Allantaz</div><div>Art Director : Jérôme Masi</div><div><span style="font-size: 1rem;"><br></span></div><div><span style="font-size: 1rem;">Dop : Antoine Carpentier</span><br></div><div>Camera Assistant : Beranger Brillante</div><div>Light : Greg Pedat</div><div>Director assistant : Victoria Weiss</div><div>Production director : Tom Bertrand</div><div>Etalonnage : Digital District </div><div><br></div><div><span style="font-size: 1rem;">Music : The Rapture "In the grace of your love"</span></div><div><span style="font-size: 1rem;"><br></span></div><div><br></div>',
'img_slider' => '/img/works/17.jpg',
'slider_home' => '0',
'created' => '2018-05-15 11:34:05',
'modified' => '2019-01-31 09:21:50',
'online' => '0',
'link' => array(
'controller' => 'works',
'action' => 'view',
'id' => '17',
'slug' => 'swissmatic'
)
),
'Media' => array(
(int) 89 => array(
'id' => '89',
'ref' => 'Work',
'ref_id' => '17',
'file' => null,
'video_url' => 'https://player.vimeo.com/video/243661880',
'position' => '1'
)
),
'Filter' => array(
(int) 0 => array(
'id' => '2',
'title' => 'Art Direction',
'position' => '2',
'FiltersWork' => array(
[maximum depth reached]
)
)
)
)
$medias = array(
(int) 0 => array(
'WorksMedia' => array(
'id' => '89',
'ref' => 'Work',
'ref_id' => '17',
'file' => null,
'video_url' => 'https://player.vimeo.com/video/243661880',
'position' => '1'
)
)
)
$order_slider = array(
'Setting' => array(
'id' => '13',
'title' => 'Work ordre affichage des projets',
'description' => 'Choix de l'ordre d'affichage des projets sur la page work',
'value' => 'year DESC',
'wysiwyg' => false,
'bool' => false,
'img' => false,
'img_alt' => null
)
)
$list_works = array(
(int) 25 => '25',
(int) 24 => '24',
(int) 23 => '23',
(int) 21 => '21',
(int) 19 => '19',
(int) 15 => '15',
(int) 13 => '13',
(int) 9 => '9',
(int) 14 => '14',
(int) 1 => '1',
(int) 12 => '12',
(int) 5 => '5',
(int) 27 => '27',
(int) 26 => '26',
(int) 2 => '2'
)
$x = (int) 15
$k = (int) 2
$v = '2'
$first_id = (int) 25
WorksController::view() - APP/Controller/WorksController.php, line 76
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 118
Notice (8): Undefined variable: next_id [APP/Controller/WorksController.php, line 79]Code Context $this->set('work_prev', $work_prev);
$work_next = $this->Work->find('first', array('conditions' => array('id' => $next_id)));
$id = '17'
$slug = 'tissot-swissmatic'
$work = array(
'Work' => array(
'id' => '17',
'title' => 'Swissmatic',
'slug' => 'swissmatic',
'client' => 'Tissot',
'year' => '2017',
'content' => '<div>TVC Europe for Tissot</div><div><br></div><div>Agency : Creative Doing</div><div>Production : Soldats</div><div>Director : Guillaume Allantaz</div><div>Art Director : Jérôme Masi</div><div><span style="font-size: 1rem;"><br></span></div><div><span style="font-size: 1rem;">Dop : Antoine Carpentier</span><br></div><div>Camera Assistant : Beranger Brillante</div><div>Light : Greg Pedat</div><div>Director assistant : Victoria Weiss</div><div>Production director : Tom Bertrand</div><div>Etalonnage : Digital District </div><div><br></div><div><span style="font-size: 1rem;">Music : The Rapture "In the grace of your love"</span></div><div><span style="font-size: 1rem;"><br></span></div><div><br></div>',
'img_slider' => '/img/works/17.jpg',
'slider_home' => '0',
'created' => '2018-05-15 11:34:05',
'modified' => '2019-01-31 09:21:50',
'online' => '0',
'link' => array(
'controller' => 'works',
'action' => 'view',
'id' => '17',
'slug' => 'swissmatic'
)
),
'Media' => array(
(int) 89 => array(
'id' => '89',
'ref' => 'Work',
'ref_id' => '17',
'file' => null,
'video_url' => 'https://player.vimeo.com/video/243661880',
'position' => '1'
)
),
'Filter' => array(
(int) 0 => array(
'id' => '2',
'title' => 'Art Direction',
'position' => '2',
'FiltersWork' => array(
[maximum depth reached]
)
)
)
)
$medias = array(
(int) 0 => array(
'WorksMedia' => array(
'id' => '89',
'ref' => 'Work',
'ref_id' => '17',
'file' => null,
'video_url' => 'https://player.vimeo.com/video/243661880',
'position' => '1'
)
)
)
$order_slider = array(
'Setting' => array(
'id' => '13',
'title' => 'Work ordre affichage des projets',
'description' => 'Choix de l'ordre d'affichage des projets sur la page work',
'value' => 'year DESC',
'wysiwyg' => false,
'bool' => false,
'img' => false,
'img_alt' => null
)
)
$list_works = array(
(int) 25 => '25',
(int) 24 => '24',
(int) 23 => '23',
(int) 21 => '21',
(int) 19 => '19',
(int) 15 => '15',
(int) 13 => '13',
(int) 9 => '9',
(int) 14 => '14',
(int) 1 => '1',
(int) 12 => '12',
(int) 5 => '5',
(int) 27 => '27',
(int) 26 => '26',
(int) 2 => '2'
)
$x = (int) 15
$k = (int) 2
$v = '2'
$first_id = (int) 25
$work_prev = array()
WorksController::view() - APP/Controller/WorksController.php, line 79
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 118