Notice (8): Undefined variable: products [APP/View/Acategories/sub_categories.ctp, line 36]Code Context<div class="wrapper">
<?php foreach($products as $k=>$v): $v=current($v); ?>
$viewFile = '/home/sdoukos2016/public_html/app/View/Acategories/sub_categories.ctp'
$dataForView = array(
'refer' => '/',
'allChildren' => array(
(int) 0 => array(
'Acategory' => array(
[maximum depth reached]
),
'Thumb' => array(
[maximum depth reached]
),
'Article' => array([maximum depth reached]),
'nameTranslation' => array(
[maximum depth reached]
),
'contentTranslation' => array(
[maximum depth reached]
),
'Media' => array([maximum depth reached])
),
(int) 1 => array(
'Acategory' => array(
[maximum depth reached]
),
'Thumb' => array(
[maximum depth reached]
),
'Article' => array([maximum depth reached]),
'nameTranslation' => array(
[maximum depth reached]
),
'contentTranslation' => array(
[maximum depth reached]
),
'Media' => array([maximum depth reached])
)
),
'categories_path' => array(
(int) 0 => array(
'Acategory' => array(
[maximum depth reached]
)
)
),
'articles' => array(),
'category' => array(
(int) 0 => array(
'Acategory' => array(
[maximum depth reached]
),
'Thumb' => array(
[maximum depth reached]
),
'Article' => array(
[maximum depth reached]
),
'nameTranslation' => array(
[maximum depth reached]
),
'contentTranslation' => array(
[maximum depth reached]
),
'Media' => array([maximum depth reached])
)
),
'child_products' => array(
(int) 17 => array(),
(int) 18 => array()
),
'subChildren' => array(
(int) 17 => array(),
(int) 18 => array()
),
'title_for_layout' => null,
'lang' => 'gre'
)
$refer = '/'
$allChildren = array(
(int) 0 => array(
'Acategory' => array(
'id' => '17',
'name' => 'Διατροφή',
'slug' => 'diatrofh',
'product_count' => null,
'content' => '',
'parent_id' => '3',
'lft' => '26',
'rght' => '27',
'online' => '1',
'media_id' => null,
'created' => '2019-10-09 19:39:26',
'url' => 'https://sdoukos.eu/articles/show/diatrofh-39',
'footer' => '0',
'menu' => '1',
'locale' => 'gre',
'link' => 'https://sdoukos.eu/articles/show/diatrofh-39'
),
'Thumb' => array(
'id' => null,
'ref' => null,
'ref_id' => null,
'file' => null,
'position' => null,
'title' => null
),
'Article' => array(),
'nameTranslation' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
)
),
'contentTranslation' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
)
),
'Media' => array()
),
(int) 1 => array(
'Acategory' => array(
'id' => '18',
'name' => 'Συνταγές',
'slug' => 'suntages',
'product_count' => null,
'content' => '',
'parent_id' => '3',
'lft' => '28',
'rght' => '29',
'online' => '1',
'media_id' => null,
'created' => '2019-10-10 12:15:22',
'url' => 'https://sdoukos.eu/articles/show/suntages-33',
'footer' => '0',
'menu' => '1',
'locale' => 'gre',
'link' => 'https://sdoukos.eu/articles/show/suntages-33'
),
'Thumb' => array(
'id' => null,
'ref' => null,
'ref_id' => null,
'file' => null,
'position' => null,
'title' => null
),
'Article' => array(),
'nameTranslation' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
)
),
'contentTranslation' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
)
),
'Media' => array()
)
)
$categories_path = array(
(int) 0 => array(
'Acategory' => array(
'id' => '3',
'name' => 'ΧΡΗΣΙΜΑ',
'slug' => 'xrhsima',
'product_count' => '2',
'content' => '',
'parent_id' => null,
'lft' => '25',
'rght' => '30',
'online' => '1',
'media_id' => null,
'created' => '2018-11-12 13:32:56',
'url' => '',
'footer' => '1',
'menu' => '1',
'locale' => 'gre',
'link' => array(
[maximum depth reached]
)
)
)
)
$articles = array()
$category = array(
(int) 0 => array(
'Acategory' => array(
'id' => '3',
'name' => 'ΧΡΗΣΙΜΑ',
'slug' => 'xrhsima',
'product_count' => '2',
'content' => '',
'parent_id' => null,
'lft' => '25',
'rght' => '30',
'online' => '1',
'media_id' => null,
'created' => '2018-11-12 13:32:56',
'url' => '',
'footer' => '1',
'menu' => '1',
'locale' => 'gre',
'link' => array(
[maximum depth reached]
)
),
'Thumb' => array(
'id' => null,
'ref' => null,
'ref_id' => null,
'file' => null,
'position' => null,
'title' => null
),
'Article' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
)
),
'nameTranslation' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
)
),
'contentTranslation' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
)
),
'Media' => array()
)
)
$child_products = array(
(int) 17 => array(),
(int) 18 => array()
)
$subChildren = array(
(int) 17 => array(),
(int) 18 => array()
)
$title_for_layout = null
$lang = 'gre'
$cat_path = array(
'Acategory' => array(
'id' => '3',
'name' => 'ΧΡΗΣΙΜΑ',
'slug' => 'xrhsima',
'product_count' => '2',
'content' => '',
'parent_id' => null,
'lft' => '25',
'rght' => '30',
'online' => '1',
'media_id' => null,
'created' => '2018-11-12 13:32:56',
'url' => '',
'footer' => '1',
'menu' => '1',
'locale' => 'gre',
'link' => array(
'controller' => 'acategories',
'action' => 'show',
'id' => '3',
'slug' => 'xrhsima'
)
)
)
include - APP/View/Acategories/sub_categories.ctp, line 36
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
AcategoriesController::show() - APP/Controller/AcategoriesController.php, line 124
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 92
Warning (2): Invalid argument supplied for foreach() [APP/View/Acategories/sub_categories.ctp, line 36]Code Context<div class="wrapper">
<?php foreach($products as $k=>$v): $v=current($v); ?>
$viewFile = '/home/sdoukos2016/public_html/app/View/Acategories/sub_categories.ctp'
$dataForView = array(
'refer' => '/',
'allChildren' => array(
(int) 0 => array(
'Acategory' => array(
[maximum depth reached]
),
'Thumb' => array(
[maximum depth reached]
),
'Article' => array([maximum depth reached]),
'nameTranslation' => array(
[maximum depth reached]
),
'contentTranslation' => array(
[maximum depth reached]
),
'Media' => array([maximum depth reached])
),
(int) 1 => array(
'Acategory' => array(
[maximum depth reached]
),
'Thumb' => array(
[maximum depth reached]
),
'Article' => array([maximum depth reached]),
'nameTranslation' => array(
[maximum depth reached]
),
'contentTranslation' => array(
[maximum depth reached]
),
'Media' => array([maximum depth reached])
)
),
'categories_path' => array(
(int) 0 => array(
'Acategory' => array(
[maximum depth reached]
)
)
),
'articles' => array(),
'category' => array(
(int) 0 => array(
'Acategory' => array(
[maximum depth reached]
),
'Thumb' => array(
[maximum depth reached]
),
'Article' => array(
[maximum depth reached]
),
'nameTranslation' => array(
[maximum depth reached]
),
'contentTranslation' => array(
[maximum depth reached]
),
'Media' => array([maximum depth reached])
)
),
'child_products' => array(
(int) 17 => array(),
(int) 18 => array()
),
'subChildren' => array(
(int) 17 => array(),
(int) 18 => array()
),
'title_for_layout' => null,
'lang' => 'gre'
)
$refer = '/'
$allChildren = array(
(int) 0 => array(
'Acategory' => array(
'id' => '17',
'name' => 'Διατροφή',
'slug' => 'diatrofh',
'product_count' => null,
'content' => '',
'parent_id' => '3',
'lft' => '26',
'rght' => '27',
'online' => '1',
'media_id' => null,
'created' => '2019-10-09 19:39:26',
'url' => 'https://sdoukos.eu/articles/show/diatrofh-39',
'footer' => '0',
'menu' => '1',
'locale' => 'gre',
'link' => 'https://sdoukos.eu/articles/show/diatrofh-39'
),
'Thumb' => array(
'id' => null,
'ref' => null,
'ref_id' => null,
'file' => null,
'position' => null,
'title' => null
),
'Article' => array(),
'nameTranslation' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
)
),
'contentTranslation' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
)
),
'Media' => array()
),
(int) 1 => array(
'Acategory' => array(
'id' => '18',
'name' => 'Συνταγές',
'slug' => 'suntages',
'product_count' => null,
'content' => '',
'parent_id' => '3',
'lft' => '28',
'rght' => '29',
'online' => '1',
'media_id' => null,
'created' => '2019-10-10 12:15:22',
'url' => 'https://sdoukos.eu/articles/show/suntages-33',
'footer' => '0',
'menu' => '1',
'locale' => 'gre',
'link' => 'https://sdoukos.eu/articles/show/suntages-33'
),
'Thumb' => array(
'id' => null,
'ref' => null,
'ref_id' => null,
'file' => null,
'position' => null,
'title' => null
),
'Article' => array(),
'nameTranslation' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
)
),
'contentTranslation' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
)
),
'Media' => array()
)
)
$categories_path = array(
(int) 0 => array(
'Acategory' => array(
'id' => '3',
'name' => 'ΧΡΗΣΙΜΑ',
'slug' => 'xrhsima',
'product_count' => '2',
'content' => '',
'parent_id' => null,
'lft' => '25',
'rght' => '30',
'online' => '1',
'media_id' => null,
'created' => '2018-11-12 13:32:56',
'url' => '',
'footer' => '1',
'menu' => '1',
'locale' => 'gre',
'link' => array(
[maximum depth reached]
)
)
)
)
$articles = array()
$category = array(
(int) 0 => array(
'Acategory' => array(
'id' => '3',
'name' => 'ΧΡΗΣΙΜΑ',
'slug' => 'xrhsima',
'product_count' => '2',
'content' => '',
'parent_id' => null,
'lft' => '25',
'rght' => '30',
'online' => '1',
'media_id' => null,
'created' => '2018-11-12 13:32:56',
'url' => '',
'footer' => '1',
'menu' => '1',
'locale' => 'gre',
'link' => array(
[maximum depth reached]
)
),
'Thumb' => array(
'id' => null,
'ref' => null,
'ref_id' => null,
'file' => null,
'position' => null,
'title' => null
),
'Article' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
)
),
'nameTranslation' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
)
),
'contentTranslation' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
)
),
'Media' => array()
)
)
$child_products = array(
(int) 17 => array(),
(int) 18 => array()
)
$subChildren = array(
(int) 17 => array(),
(int) 18 => array()
)
$title_for_layout = null
$lang = 'gre'
$cat_path = array(
'Acategory' => array(
'id' => '3',
'name' => 'ΧΡΗΣΙΜΑ',
'slug' => 'xrhsima',
'product_count' => '2',
'content' => '',
'parent_id' => null,
'lft' => '25',
'rght' => '30',
'online' => '1',
'media_id' => null,
'created' => '2018-11-12 13:32:56',
'url' => '',
'footer' => '1',
'menu' => '1',
'locale' => 'gre',
'link' => array(
'controller' => 'acategories',
'action' => 'show',
'id' => '3',
'slug' => 'xrhsima'
)
)
)
include - APP/View/Acategories/sub_categories.ctp, line 36
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
AcategoriesController::show() - APP/Controller/AcategoriesController.php, line 124
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 92