Code Context
public static function handleError($code, $description, $file = null, $line = null, $context = null) {
parent::handleError($code, $description, $file, $line, $context) ;
$viewFile = '/var/www/html/YourVocb/app/View/Elements/news/other_news.ctp'
$dataForView = array(
'selected_source' => 'yahoo',
'sources' => array(
'yahoo' => 'Yahoo'
),
'other_news_boxs' => array(),
'selected_category' => '',
'categorys' => array(
'economy' => 'Kinh tế',
'international' => 'Quốc tế',
'domestic' => 'Trong nước',
'entertainment' => 'Giải trí',
'sport' => 'Thể thao',
'life' => 'Đời sống'
),
'newsBox' => object(NewsBox) {
service => object(NewsService) {}
[protected] id => (int) 0
[protected] title => ''
[protected] content => ''
[protected] link => ''
[protected] img_link => ''
[protected] created => ''
[protected] category_name => ''
[protected] language => 'jp'
[protected] source => null
[protected] bookmark => false
[protected] pub_date => null
[protected] img => null
},
'user_id' => null,
'title' => 'Tin tức tiếng Nhật',
'isMobile' => false,
'newsBoxs' => array(),
'jp_news' => true
)
$selected_source = 'yahoo'
$sources = array(
'yahoo' => 'Yahoo'
)
$other_news_boxs = array()
$selected_category = ''
$categorys = array(
'economy' => 'Kinh tế',
'international' => 'Quốc tế',
'domestic' => 'Trong nước',
'entertainment' => 'Giải trí',
'sport' => 'Thể thao',
'life' => 'Đời sống'
)
$newsBox = object(NewsBox) {
service => object(NewsService) {}
[protected] id => (int) 0
[protected] title => ''
[protected] content => ''
[protected] link => ''
[protected] img_link => ''
[protected] created => ''
[protected] category_name => ''
[protected] language => 'jp'
[protected] source => null
[protected] bookmark => false
[protected] pub_date => null
[protected] img => null
}
$user_id = null
$title = 'Tin tức tiếng Nhật'
$isMobile = false
$newsBoxs = array()
$jp_news = true
AppExceptionHandler::handleError() - APP/Lib/AppExceptionHandler.php, line 11
include - APP/View/Elements/news/other_news.ctp, line 32
View::_evaluate() - CORE/Cake/View/View.php, line 931
View::_render() - CORE/Cake/View/View.php, line 893
View::_renderElement() - CORE/Cake/View/View.php, line 1191
View::element() - CORE/Cake/View/View.php, line 408
include - APP/View/News/detail.ctp, line 236
View::_evaluate() - CORE/Cake/View/View.php, line 931
View::_render() - CORE/Cake/View/View.php, line 893
View::render() - CORE/Cake/View/View.php, line 462
Controller::render() - CORE/Cake/Controller/Controller.php, line 952
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 194
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 108