Warning (2): count(): Parameter must be an array or an object that implements Countable [APP/View/Elements/Homepage/homepage-row.ctp, line 9]Code Context <div class="homepage-row">
<div class="homepage-row-header"><?php echo($txt); ?></div>
<?php if(count($datasource['Article'])) { foreach($datasource['Article'] as $k => $article){ if($k >= $start && $k < ($max + $start)) {?>
$viewFile = '/home/passe049/public_html/app/View/Elements/Homepage/homepage-row.ctp'
$dataForView = array(
'homepages' => array(
(int) 0 => array(
'Homepage' => array(
[maximum depth reached]
),
'Homepageelement' => array(
[maximum depth reached]
)
)
),
'ogdata' => array(
'og:url' => 'https://www.passetempsquebec.com/site/passetempsquebec',
'og:title' => 'Passe-Temps Québec | Boutique de Hobby à Saint-Eustache',
'og:site_name' => 'Passe-Temps Québec | Boutique de Hobby à Saint-Eustache',
'og:description' => '',
'og:image' => 'https://www.passetempsquebec.com/uploaded/Website-150971469180728200-image_homepage.jpg'
),
'isprint' => false,
'isModal' => false,
'meta_description' => '',
'meta_keywords' => '',
'title_for_layout' => 'Passe-Temps Québec | Boutique de Hobby à Saint-Eustache',
'sections' => array(
(int) 150971575910614200 => 'Passe-Temps Québec',
(int) 0 => '---'
),
'websites' => array(
(int) 150971469180728200 => 'passetempsquebec'
),
'slideshowpics' => array(),
'provinces' => array(
'QC' => 'Québec',
'AB' => 'Alberta',
'BC' => 'Colombie-Britannique',
'PE' => 'Île-Prince-Édouard',
'MB' => 'Manitoba',
'NB' => 'Nouveau-Brunswick',
'NS' => 'Nouvelle-Écosse',
'ON' => 'Ontario',
'SK' => 'Saskatchewan',
'NL' => 'Terre-Neuve & Labr.',
'NT' => 'Territoires-du-N-O',
'YT' => 'Yukon'
),
'menu_footer_2' => array(),
'menu_footer_1' => array(),
'menu_dropdown_2' => array(),
'menu_dropdown_1' => array(),
'menu_2' => array(),
'menu_1' => array(),
'lang' => 'fr',
'isLogged' => null,
'isSuperAdmin' => false,
'isAdmin' => false,
'isAjax' => false,
'element_id' => '164324686102827100',
'txt' => '',
'element_class' => 'container',
'item_class' => 'homelink',
'element_style' => 'margin: 80px auto;',
'item_style' => '',
'isFullWidth' => false,
'section_id' => '150971601683198500',
'datasource' => array(),
'elementvariables' => array()
)
$homepages = array(
(int) 0 => array(
'Homepage' => array(
'id' => '164324682736601100',
'position' => '0',
'website_id' => '150971469180728200',
'class' => '',
'isFullWidth' => false,
'title_fr' => 'Accueil',
'title_en' => 'Home',
'created' => '2022-01-26 20:27:07',
'modified' => '2022-01-26 20:27:17'
),
'Homepageelement' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
)
)
)
)
$ogdata = array(
'og:url' => 'https://www.passetempsquebec.com/site/passetempsquebec',
'og:title' => 'Passe-Temps Québec | Boutique de Hobby à Saint-Eustache',
'og:site_name' => 'Passe-Temps Québec | Boutique de Hobby à Saint-Eustache',
'og:description' => '',
'og:image' => 'https://www.passetempsquebec.com/uploaded/Website-150971469180728200-image_homepage.jpg'
)
$isprint = false
$isModal = false
$meta_description = ''
$meta_keywords = ''
$title_for_layout = 'Passe-Temps Québec | Boutique de Hobby à Saint-Eustache'
$sections = array(
(int) 150971575910614200 => 'Passe-Temps Québec',
(int) 0 => '---'
)
$websites = array(
(int) 150971469180728200 => 'passetempsquebec'
)
$slideshowpics = array()
$provinces = array(
'QC' => 'Québec',
'AB' => 'Alberta',
'BC' => 'Colombie-Britannique',
'PE' => 'Île-Prince-Édouard',
'MB' => 'Manitoba',
'NB' => 'Nouveau-Brunswick',
'NS' => 'Nouvelle-Écosse',
'ON' => 'Ontario',
'SK' => 'Saskatchewan',
'NL' => 'Terre-Neuve & Labr.',
'NT' => 'Territoires-du-N-O',
'YT' => 'Yukon'
)
$menu_footer_2 = array()
$menu_footer_1 = array()
$menu_dropdown_2 = array()
$menu_dropdown_1 = array()
$menu_2 = array()
$menu_1 = array()
$lang = 'fr'
$isLogged = null
$isSuperAdmin = false
$isAdmin = false
$isAjax = false
$element_id = '164324686102827100'
$txt = ''
$element_class = 'container'
$item_class = 'homelink'
$element_style = 'margin: 80px auto;'
$item_style = ''
$isFullWidth = false
$section_id = '150971601683198500'
$datasource = array()
$elementvariables = array()
$start = (int) 0
$max = (int) 10
$aclass = ''
$decorate = false
include - APP/View/Elements/Homepage/homepage-row.ctp, line 9
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::_renderElement() - CORE/Cake/View/View.php, line 1224
View::element() - CORE/Cake/View/View.php, line 418
include - APP/View/Homepages/index.ctp, line 18
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::render() - CORE/Cake/View/View.php, line 473
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 135