Notice (8): Undefined offset: 0 [APP/View/Acategories/show.ctp, line 5]Code Context<?php $blog_id = $this->requestAction(array('controller' => 'acategories', 'action' => 'get_blog_id'));?>
<?php if((!empty($blog_id))&&($articles[0]['Article']['acategory_id']==$blog_id)):?>
$viewFile = '/home/alouminiazois/public_html/app/View/Acategories/show.ctp'
$dataForView = array(
'refer' => '/',
'allChildren' => array(),
'categories_path' => array(
(int) 0 => array(
'Acategory' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'Acategory' => array(
[maximum depth reached]
)
)
),
'articles' => array(),
'category' => array(
'Acategory' => array(
'id' => '33',
'name' => 'Νεα',
'slug' => 'arthrografia',
'product_count' => null,
'content' => '',
'parent_id' => '3',
'lft' => '4',
'rght' => '5',
'online' => '1',
'media_id' => null,
'created' => '2021-06-10 16:39:08',
'url' => '',
'footer' => '0',
'menu' => '1',
'home' => '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(),
'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()
),
'title_for_layout' => 'Νεα',
'lang' => 'gre'
)
$refer = '/'
$allChildren = array()
$categories_path = array(
(int) 0 => array(
'Acategory' => array(
'id' => '3',
'name' => 'ΕΡΓΑ',
'slug' => 'erga',
'product_count' => '3',
'content' => '',
'parent_id' => null,
'lft' => '3',
'rght' => '6',
'online' => '1',
'media_id' => null,
'created' => '2019-04-09 23:13:50',
'url' => '',
'footer' => '1',
'menu' => '1',
'home' => '0',
'locale' => 'gre',
'link' => array(
[maximum depth reached]
)
)
),
(int) 1 => array(
'Acategory' => array(
'id' => '33',
'name' => 'Νεα',
'slug' => 'arthrografia',
'product_count' => null,
'content' => '',
'parent_id' => '3',
'lft' => '4',
'rght' => '5',
'online' => '1',
'media_id' => null,
'created' => '2021-06-10 16:39:08',
'url' => '',
'footer' => '0',
'menu' => '1',
'home' => '1',
'locale' => 'gre',
'link' => array(
[maximum depth reached]
)
)
)
)
$articles = array()
$category = array(
'Acategory' => array(
'id' => '33',
'name' => 'Νεα',
'slug' => 'arthrografia',
'product_count' => null,
'content' => '',
'parent_id' => '3',
'lft' => '4',
'rght' => '5',
'online' => '1',
'media_id' => null,
'created' => '2021-06-10 16:39:08',
'url' => '',
'footer' => '0',
'menu' => '1',
'home' => '1',
'locale' => 'gre',
'link' => array(
'controller' => 'acategories',
'action' => 'show',
'id' => '33',
'slug' => 'arthrografia'
)
),
'Thumb' => array(
'id' => null,
'ref' => null,
'ref_id' => null,
'file' => null,
'position' => null,
'title' => null
),
'Article' => array(),
'nameTranslation' => array(
(int) 0 => array(
'id' => '2749',
'locale' => 'gre',
'model' => 'Acategory',
'foreign_key' => '33',
'field' => 'name',
'content' => 'Νεα'
),
(int) 1 => array(
'id' => '2751',
'locale' => 'eng',
'model' => 'Acategory',
'foreign_key' => '33',
'field' => 'name',
'content' => ''
)
),
'contentTranslation' => array(
(int) 0 => array(
'id' => '2750',
'locale' => 'gre',
'model' => 'Acategory',
'foreign_key' => '33',
'field' => 'content',
'content' => ''
),
(int) 1 => array(
'id' => '2752',
'locale' => 'eng',
'model' => 'Acategory',
'foreign_key' => '33',
'field' => 'content',
'content' => ''
)
),
'Media' => array()
)
$title_for_layout = 'Νεα'
$lang = 'gre'
$blog_id = '1'
include - APP/View/Acategories/show.ctp, line 5
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 968
AcategoriesController::show() - APP/Controller/AcategoriesController.php, line 83
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 92