-
Trang chủ
-
-
Warning (2): file_get_contents(./televisions.json) [function.file-get-contents]: failed to open stream: No such file or directory [APP/View/Layouts/default.ctp, line 55]Code Context <ul aria-labelledby="dropdownSubMenu3" class="dropdown-menu border-0 shadow">
<?php
$televisionsjson = file_get_contents(Configure::read('Site.file_path').'/televisions.json');
$viewFile = '/home/toplistvi.com/public_html/View/Layouts/default.ctp'
$dataForView = array(
'code' => (int) 500,
'name' => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->',
'message' => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->',
'url' => '/bac-giang/luc-nam/tim-kiem-cua-hang-ban-thuc-an-ngon',
'error' => object(FatalErrorException) {
[protected] _attributes => array([maximum depth reached])
[protected] _messageTemplate => ''
[protected] _responseHeaders => null
[protected] message => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
[protected] code => (int) 500
[protected] file => '/home/toplistvi.com/public_html/View/Layouts/default.ctp'
[protected] line => (int) 149
},
'_serialize' => array(
(int) 0 => 'code',
(int) 1 => 'name',
(int) 2 => 'message',
(int) 3 => 'url'
),
'content_for_layout' => '<h2>Fatal Error</h2>
<p class="error">
<strong>Error: </strong>
Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer-> <br>
<strong>File: </strong>
/home/toplistvi.com/public_html/View/Layouts/default.ctp <br>
<strong>Line: </strong>
149</p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create public_html/View/Errors/fatal_error.ctp</p>
',
'scripts_for_layout' => '',
'title_for_layout' => 'Errors'
)
$code = (int) 500
$name = 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
$message = 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
$url = '/bac-giang/luc-nam/tim-kiem-cua-hang-ban-thuc-an-ngon'
$error = object(FatalErrorException) {
[protected] _attributes => array()
[protected] _messageTemplate => ''
[protected] _responseHeaders => null
[protected] message => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
[protected] code => (int) 500
[protected] file => '/home/toplistvi.com/public_html/View/Layouts/default.ctp'
[protected] line => (int) 149
}
$_serialize = array(
(int) 0 => 'code',
(int) 1 => 'name',
(int) 2 => 'message',
(int) 3 => 'url'
)
$content_for_layout = '<h2>Fatal Error</h2>
<p class="error">
<strong>Error: </strong>
Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer-> <br>
<strong>File: </strong>
/home/toplistvi.com/public_html/View/Layouts/default.ctp <br>
<strong>Line: </strong>
149</p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create public_html/View/Errors/fatal_error.ctp</p>
'
$scripts_for_layout = ''
$title_for_layout = 'Errors'
file_get_contents - [internal], line ??
include - APP/View/Layouts/default.ctp, line 55
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::renderLayout() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 546
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 481
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
ExceptionRenderer::_outputMessage() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php, line 292
ExceptionRenderer::_cakeError() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php, line 213
ExceptionRenderer::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ErrorHandler.php, line 127
ErrorHandler::handleFatalError() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ErrorHandler.php, line 269
ErrorHandler::handleError() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ErrorHandler.php, line 212
App::_checkFatalError() - APP/Vendor/cakephp/cakephp/lib/Cake/Core/App.php, line 970
App::shutdown() - APP/Vendor/cakephp/cakephp/lib/Cake/Core/App.php, line 943
[main] - [internal], line ??
Warning (2): Invalid argument supplied for foreach() [APP/View/Layouts/default.ctp, line 57]Code Context $televisionsjson = file_get_contents(Configure::read('Site.file_path').'/televisions.json');
$televisions_json = json_decode($televisionsjson, true);
foreach ($televisions_json as $key => $t) {
$viewFile = '/home/toplistvi.com/public_html/View/Layouts/default.ctp'
$dataForView = array(
'code' => (int) 500,
'name' => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->',
'message' => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->',
'url' => '/bac-giang/luc-nam/tim-kiem-cua-hang-ban-thuc-an-ngon',
'error' => object(FatalErrorException) {
[protected] _attributes => array([maximum depth reached])
[protected] _messageTemplate => ''
[protected] _responseHeaders => null
[protected] message => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
[protected] code => (int) 500
[protected] file => '/home/toplistvi.com/public_html/View/Layouts/default.ctp'
[protected] line => (int) 149
},
'_serialize' => array(
(int) 0 => 'code',
(int) 1 => 'name',
(int) 2 => 'message',
(int) 3 => 'url'
),
'content_for_layout' => '<h2>Fatal Error</h2>
<p class="error">
<strong>Error: </strong>
Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer-> <br>
<strong>File: </strong>
/home/toplistvi.com/public_html/View/Layouts/default.ctp <br>
<strong>Line: </strong>
149</p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create public_html/View/Errors/fatal_error.ctp</p>
',
'scripts_for_layout' => '',
'title_for_layout' => 'Errors'
)
$code = (int) 500
$name = 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
$message = 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
$url = '/bac-giang/luc-nam/tim-kiem-cua-hang-ban-thuc-an-ngon'
$error = object(FatalErrorException) {
[protected] _attributes => array()
[protected] _messageTemplate => ''
[protected] _responseHeaders => null
[protected] message => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
[protected] code => (int) 500
[protected] file => '/home/toplistvi.com/public_html/View/Layouts/default.ctp'
[protected] line => (int) 149
}
$_serialize = array(
(int) 0 => 'code',
(int) 1 => 'name',
(int) 2 => 'message',
(int) 3 => 'url'
)
$content_for_layout = '<h2>Fatal Error</h2>
<p class="error">
<strong>Error: </strong>
Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer-> <br>
<strong>File: </strong>
/home/toplistvi.com/public_html/View/Layouts/default.ctp <br>
<strong>Line: </strong>
149</p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create public_html/View/Errors/fatal_error.ctp</p>
'
$scripts_for_layout = ''
$title_for_layout = 'Errors'
$televisionsjson = false
$televisions_json = null
include - APP/View/Layouts/default.ctp, line 57
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::renderLayout() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 546
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 481
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
ExceptionRenderer::_outputMessage() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php, line 292
ExceptionRenderer::_cakeError() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php, line 213
ExceptionRenderer::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ErrorHandler.php, line 127
ErrorHandler::handleFatalError() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ErrorHandler.php, line 269
ErrorHandler::handleError() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ErrorHandler.php, line 212
App::_checkFatalError() - APP/Vendor/cakephp/cakephp/lib/Cake/Core/App.php, line 970
App::shutdown() - APP/Vendor/cakephp/cakephp/lib/Cake/Core/App.php, line 943
[main] - [internal], line ??
Warning (2): file_get_contents(./categories.json) [function.file-get-contents]: failed to open stream: No such file or directory [APP/View/Layouts/default.ctp, line 71]Code Context <ul aria-labelledby="dropdownSubMenu4" class="dropdown-menu border-0 shadow">
<?php
$categoriesjson = file_get_contents(Configure::read('Site.file_path').'/categories.json');
$viewFile = '/home/toplistvi.com/public_html/View/Layouts/default.ctp'
$dataForView = array(
'code' => (int) 500,
'name' => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->',
'message' => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->',
'url' => '/bac-giang/luc-nam/tim-kiem-cua-hang-ban-thuc-an-ngon',
'error' => object(FatalErrorException) {
[protected] _attributes => array([maximum depth reached])
[protected] _messageTemplate => ''
[protected] _responseHeaders => null
[protected] message => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
[protected] code => (int) 500
[protected] file => '/home/toplistvi.com/public_html/View/Layouts/default.ctp'
[protected] line => (int) 149
},
'_serialize' => array(
(int) 0 => 'code',
(int) 1 => 'name',
(int) 2 => 'message',
(int) 3 => 'url'
),
'content_for_layout' => '<h2>Fatal Error</h2>
<p class="error">
<strong>Error: </strong>
Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer-> <br>
<strong>File: </strong>
/home/toplistvi.com/public_html/View/Layouts/default.ctp <br>
<strong>Line: </strong>
149</p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create public_html/View/Errors/fatal_error.ctp</p>
',
'scripts_for_layout' => '',
'title_for_layout' => 'Errors'
)
$code = (int) 500
$name = 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
$message = 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
$url = '/bac-giang/luc-nam/tim-kiem-cua-hang-ban-thuc-an-ngon'
$error = object(FatalErrorException) {
[protected] _attributes => array()
[protected] _messageTemplate => ''
[protected] _responseHeaders => null
[protected] message => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
[protected] code => (int) 500
[protected] file => '/home/toplistvi.com/public_html/View/Layouts/default.ctp'
[protected] line => (int) 149
}
$_serialize = array(
(int) 0 => 'code',
(int) 1 => 'name',
(int) 2 => 'message',
(int) 3 => 'url'
)
$content_for_layout = '<h2>Fatal Error</h2>
<p class="error">
<strong>Error: </strong>
Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer-> <br>
<strong>File: </strong>
/home/toplistvi.com/public_html/View/Layouts/default.ctp <br>
<strong>Line: </strong>
149</p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create public_html/View/Errors/fatal_error.ctp</p>
'
$scripts_for_layout = ''
$title_for_layout = 'Errors'
$televisionsjson = false
$televisions_json = null
file_get_contents - [internal], line ??
include - APP/View/Layouts/default.ctp, line 71
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::renderLayout() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 546
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 481
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
ExceptionRenderer::_outputMessage() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php, line 292
ExceptionRenderer::_cakeError() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php, line 213
ExceptionRenderer::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ErrorHandler.php, line 127
ErrorHandler::handleFatalError() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ErrorHandler.php, line 269
ErrorHandler::handleError() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ErrorHandler.php, line 212
App::_checkFatalError() - APP/Vendor/cakephp/cakephp/lib/Cake/Core/App.php, line 970
App::shutdown() - APP/Vendor/cakephp/cakephp/lib/Cake/Core/App.php, line 943
[main] - [internal], line ??
Warning (2): Invalid argument supplied for foreach() [APP/View/Layouts/default.ctp, line 73]Code Context $categoriesjson = file_get_contents(Configure::read('Site.file_path').'/categories.json');
$categories_json = json_decode($categoriesjson, true);
foreach ($categories_json as $key => $c) {
$viewFile = '/home/toplistvi.com/public_html/View/Layouts/default.ctp'
$dataForView = array(
'code' => (int) 500,
'name' => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->',
'message' => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->',
'url' => '/bac-giang/luc-nam/tim-kiem-cua-hang-ban-thuc-an-ngon',
'error' => object(FatalErrorException) {
[protected] _attributes => array([maximum depth reached])
[protected] _messageTemplate => ''
[protected] _responseHeaders => null
[protected] message => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
[protected] code => (int) 500
[protected] file => '/home/toplistvi.com/public_html/View/Layouts/default.ctp'
[protected] line => (int) 149
},
'_serialize' => array(
(int) 0 => 'code',
(int) 1 => 'name',
(int) 2 => 'message',
(int) 3 => 'url'
),
'content_for_layout' => '<h2>Fatal Error</h2>
<p class="error">
<strong>Error: </strong>
Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer-> <br>
<strong>File: </strong>
/home/toplistvi.com/public_html/View/Layouts/default.ctp <br>
<strong>Line: </strong>
149</p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create public_html/View/Errors/fatal_error.ctp</p>
',
'scripts_for_layout' => '',
'title_for_layout' => 'Errors'
)
$code = (int) 500
$name = 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
$message = 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
$url = '/bac-giang/luc-nam/tim-kiem-cua-hang-ban-thuc-an-ngon'
$error = object(FatalErrorException) {
[protected] _attributes => array()
[protected] _messageTemplate => ''
[protected] _responseHeaders => null
[protected] message => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
[protected] code => (int) 500
[protected] file => '/home/toplistvi.com/public_html/View/Layouts/default.ctp'
[protected] line => (int) 149
}
$_serialize = array(
(int) 0 => 'code',
(int) 1 => 'name',
(int) 2 => 'message',
(int) 3 => 'url'
)
$content_for_layout = '<h2>Fatal Error</h2>
<p class="error">
<strong>Error: </strong>
Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer-> <br>
<strong>File: </strong>
/home/toplistvi.com/public_html/View/Layouts/default.ctp <br>
<strong>Line: </strong>
149</p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create public_html/View/Errors/fatal_error.ctp</p>
'
$scripts_for_layout = ''
$title_for_layout = 'Errors'
$televisionsjson = false
$televisions_json = null
$categoriesjson = false
$categories_json = null
include - APP/View/Layouts/default.ctp, line 73
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::renderLayout() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 546
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 481
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
ExceptionRenderer::_outputMessage() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php, line 292
ExceptionRenderer::_cakeError() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php, line 213
ExceptionRenderer::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ErrorHandler.php, line 127
ErrorHandler::handleFatalError() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ErrorHandler.php, line 269
ErrorHandler::handleError() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ErrorHandler.php, line 212
App::_checkFatalError() - APP/Vendor/cakephp/cakephp/lib/Cake/Core/App.php, line 970
App::shutdown() - APP/Vendor/cakephp/cakephp/lib/Cake/Core/App.php, line 943
[main] - [internal], line ??
Warning (2): file_get_contents(./cities.json) [function.file-get-contents]: failed to open stream: No such file or directory [APP/View/Layouts/default.ctp, line 87]Code Context <ul aria-labelledby="dropdownSubMenu5" class="dropdown-menu border-0 shadow">
<?php
$citiesjson = file_get_contents(Configure::read('Site.file_path').'/cities.json');
$viewFile = '/home/toplistvi.com/public_html/View/Layouts/default.ctp'
$dataForView = array(
'code' => (int) 500,
'name' => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->',
'message' => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->',
'url' => '/bac-giang/luc-nam/tim-kiem-cua-hang-ban-thuc-an-ngon',
'error' => object(FatalErrorException) {
[protected] _attributes => array([maximum depth reached])
[protected] _messageTemplate => ''
[protected] _responseHeaders => null
[protected] message => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
[protected] code => (int) 500
[protected] file => '/home/toplistvi.com/public_html/View/Layouts/default.ctp'
[protected] line => (int) 149
},
'_serialize' => array(
(int) 0 => 'code',
(int) 1 => 'name',
(int) 2 => 'message',
(int) 3 => 'url'
),
'content_for_layout' => '<h2>Fatal Error</h2>
<p class="error">
<strong>Error: </strong>
Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer-> <br>
<strong>File: </strong>
/home/toplistvi.com/public_html/View/Layouts/default.ctp <br>
<strong>Line: </strong>
149</p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create public_html/View/Errors/fatal_error.ctp</p>
',
'scripts_for_layout' => '',
'title_for_layout' => 'Errors'
)
$code = (int) 500
$name = 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
$message = 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
$url = '/bac-giang/luc-nam/tim-kiem-cua-hang-ban-thuc-an-ngon'
$error = object(FatalErrorException) {
[protected] _attributes => array()
[protected] _messageTemplate => ''
[protected] _responseHeaders => null
[protected] message => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
[protected] code => (int) 500
[protected] file => '/home/toplistvi.com/public_html/View/Layouts/default.ctp'
[protected] line => (int) 149
}
$_serialize = array(
(int) 0 => 'code',
(int) 1 => 'name',
(int) 2 => 'message',
(int) 3 => 'url'
)
$content_for_layout = '<h2>Fatal Error</h2>
<p class="error">
<strong>Error: </strong>
Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer-> <br>
<strong>File: </strong>
/home/toplistvi.com/public_html/View/Layouts/default.ctp <br>
<strong>Line: </strong>
149</p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create public_html/View/Errors/fatal_error.ctp</p>
'
$scripts_for_layout = ''
$title_for_layout = 'Errors'
$televisionsjson = false
$televisions_json = null
$categoriesjson = false
$categories_json = null
file_get_contents - [internal], line ??
include - APP/View/Layouts/default.ctp, line 87
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::renderLayout() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 546
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 481
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
ExceptionRenderer::_outputMessage() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php, line 292
ExceptionRenderer::_cakeError() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php, line 213
ExceptionRenderer::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ErrorHandler.php, line 127
ErrorHandler::handleFatalError() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ErrorHandler.php, line 269
ErrorHandler::handleError() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ErrorHandler.php, line 212
App::_checkFatalError() - APP/Vendor/cakephp/cakephp/lib/Cake/Core/App.php, line 970
App::shutdown() - APP/Vendor/cakephp/cakephp/lib/Cake/Core/App.php, line 943
[main] - [internal], line ??
Warning (2): Invalid argument supplied for foreach() [APP/View/Layouts/default.ctp, line 89]Code Context $citiesjson = file_get_contents(Configure::read('Site.file_path').'/cities.json');
$cities_json = json_decode($citiesjson, true);
foreach ($cities_json as $key => $c) {
$viewFile = '/home/toplistvi.com/public_html/View/Layouts/default.ctp'
$dataForView = array(
'code' => (int) 500,
'name' => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->',
'message' => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->',
'url' => '/bac-giang/luc-nam/tim-kiem-cua-hang-ban-thuc-an-ngon',
'error' => object(FatalErrorException) {
[protected] _attributes => array([maximum depth reached])
[protected] _messageTemplate => ''
[protected] _responseHeaders => null
[protected] message => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
[protected] code => (int) 500
[protected] file => '/home/toplistvi.com/public_html/View/Layouts/default.ctp'
[protected] line => (int) 149
},
'_serialize' => array(
(int) 0 => 'code',
(int) 1 => 'name',
(int) 2 => 'message',
(int) 3 => 'url'
),
'content_for_layout' => '<h2>Fatal Error</h2>
<p class="error">
<strong>Error: </strong>
Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer-> <br>
<strong>File: </strong>
/home/toplistvi.com/public_html/View/Layouts/default.ctp <br>
<strong>Line: </strong>
149</p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create public_html/View/Errors/fatal_error.ctp</p>
',
'scripts_for_layout' => '',
'title_for_layout' => 'Errors'
)
$code = (int) 500
$name = 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
$message = 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
$url = '/bac-giang/luc-nam/tim-kiem-cua-hang-ban-thuc-an-ngon'
$error = object(FatalErrorException) {
[protected] _attributes => array()
[protected] _messageTemplate => ''
[protected] _responseHeaders => null
[protected] message => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
[protected] code => (int) 500
[protected] file => '/home/toplistvi.com/public_html/View/Layouts/default.ctp'
[protected] line => (int) 149
}
$_serialize = array(
(int) 0 => 'code',
(int) 1 => 'name',
(int) 2 => 'message',
(int) 3 => 'url'
)
$content_for_layout = '<h2>Fatal Error</h2>
<p class="error">
<strong>Error: </strong>
Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer-> <br>
<strong>File: </strong>
/home/toplistvi.com/public_html/View/Layouts/default.ctp <br>
<strong>Line: </strong>
149</p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create public_html/View/Errors/fatal_error.ctp</p>
'
$scripts_for_layout = ''
$title_for_layout = 'Errors'
$televisionsjson = false
$televisions_json = null
$categoriesjson = false
$categories_json = null
$citiesjson = false
$cities_json = null
include - APP/View/Layouts/default.ctp, line 89
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::renderLayout() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 546
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 481
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
ExceptionRenderer::_outputMessage() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php, line 292
ExceptionRenderer::_cakeError() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php, line 213
ExceptionRenderer::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ErrorHandler.php, line 127
ErrorHandler::handleFatalError() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ErrorHandler.php, line 269
ErrorHandler::handleError() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ErrorHandler.php, line 212
App::_checkFatalError() - APP/Vendor/cakephp/cakephp/lib/Cake/Core/App.php, line 970
App::shutdown() - APP/Vendor/cakephp/cakephp/lib/Cake/Core/App.php, line 943
[main] - [internal], line ??
Warning (2): file_get_contents(./routes.json) [function.file-get-contents]: failed to open stream: No such file or directory [APP/View/Layouts/default.ctp, line 103]Code Context <ul aria-labelledby="dropdownSubMenu6" class="dropdown-menu border-0 shadow">
<?php
$routesjson = file_get_contents(Configure::read('Site.file_path').'/routes.json');
$viewFile = '/home/toplistvi.com/public_html/View/Layouts/default.ctp'
$dataForView = array(
'code' => (int) 500,
'name' => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->',
'message' => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->',
'url' => '/bac-giang/luc-nam/tim-kiem-cua-hang-ban-thuc-an-ngon',
'error' => object(FatalErrorException) {
[protected] _attributes => array([maximum depth reached])
[protected] _messageTemplate => ''
[protected] _responseHeaders => null
[protected] message => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
[protected] code => (int) 500
[protected] file => '/home/toplistvi.com/public_html/View/Layouts/default.ctp'
[protected] line => (int) 149
},
'_serialize' => array(
(int) 0 => 'code',
(int) 1 => 'name',
(int) 2 => 'message',
(int) 3 => 'url'
),
'content_for_layout' => '<h2>Fatal Error</h2>
<p class="error">
<strong>Error: </strong>
Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer-> <br>
<strong>File: </strong>
/home/toplistvi.com/public_html/View/Layouts/default.ctp <br>
<strong>Line: </strong>
149</p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create public_html/View/Errors/fatal_error.ctp</p>
',
'scripts_for_layout' => '',
'title_for_layout' => 'Errors'
)
$code = (int) 500
$name = 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
$message = 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
$url = '/bac-giang/luc-nam/tim-kiem-cua-hang-ban-thuc-an-ngon'
$error = object(FatalErrorException) {
[protected] _attributes => array()
[protected] _messageTemplate => ''
[protected] _responseHeaders => null
[protected] message => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
[protected] code => (int) 500
[protected] file => '/home/toplistvi.com/public_html/View/Layouts/default.ctp'
[protected] line => (int) 149
}
$_serialize = array(
(int) 0 => 'code',
(int) 1 => 'name',
(int) 2 => 'message',
(int) 3 => 'url'
)
$content_for_layout = '<h2>Fatal Error</h2>
<p class="error">
<strong>Error: </strong>
Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer-> <br>
<strong>File: </strong>
/home/toplistvi.com/public_html/View/Layouts/default.ctp <br>
<strong>Line: </strong>
149</p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create public_html/View/Errors/fatal_error.ctp</p>
'
$scripts_for_layout = ''
$title_for_layout = 'Errors'
$televisionsjson = false
$televisions_json = null
$categoriesjson = false
$categories_json = null
$citiesjson = false
$cities_json = null
file_get_contents - [internal], line ??
include - APP/View/Layouts/default.ctp, line 103
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::renderLayout() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 546
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 481
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
ExceptionRenderer::_outputMessage() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php, line 292
ExceptionRenderer::_cakeError() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php, line 213
ExceptionRenderer::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ErrorHandler.php, line 127
ErrorHandler::handleFatalError() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ErrorHandler.php, line 269
ErrorHandler::handleError() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ErrorHandler.php, line 212
App::_checkFatalError() - APP/Vendor/cakephp/cakephp/lib/Cake/Core/App.php, line 970
App::shutdown() - APP/Vendor/cakephp/cakephp/lib/Cake/Core/App.php, line 943
[main] - [internal], line ??
Warning (2): Invalid argument supplied for foreach() [APP/View/Layouts/default.ctp, line 105]Code Context $routesjson = file_get_contents(Configure::read('Site.file_path').'/routes.json');
$routes_json = json_decode($routesjson, true);
foreach ($routes_json as $key => $r) {
$viewFile = '/home/toplistvi.com/public_html/View/Layouts/default.ctp'
$dataForView = array(
'code' => (int) 500,
'name' => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->',
'message' => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->',
'url' => '/bac-giang/luc-nam/tim-kiem-cua-hang-ban-thuc-an-ngon',
'error' => object(FatalErrorException) {
[protected] _attributes => array([maximum depth reached])
[protected] _messageTemplate => ''
[protected] _responseHeaders => null
[protected] message => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
[protected] code => (int) 500
[protected] file => '/home/toplistvi.com/public_html/View/Layouts/default.ctp'
[protected] line => (int) 149
},
'_serialize' => array(
(int) 0 => 'code',
(int) 1 => 'name',
(int) 2 => 'message',
(int) 3 => 'url'
),
'content_for_layout' => '<h2>Fatal Error</h2>
<p class="error">
<strong>Error: </strong>
Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer-> <br>
<strong>File: </strong>
/home/toplistvi.com/public_html/View/Layouts/default.ctp <br>
<strong>Line: </strong>
149</p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create public_html/View/Errors/fatal_error.ctp</p>
',
'scripts_for_layout' => '',
'title_for_layout' => 'Errors'
)
$code = (int) 500
$name = 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
$message = 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
$url = '/bac-giang/luc-nam/tim-kiem-cua-hang-ban-thuc-an-ngon'
$error = object(FatalErrorException) {
[protected] _attributes => array()
[protected] _messageTemplate => ''
[protected] _responseHeaders => null
[protected] message => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
[protected] code => (int) 500
[protected] file => '/home/toplistvi.com/public_html/View/Layouts/default.ctp'
[protected] line => (int) 149
}
$_serialize = array(
(int) 0 => 'code',
(int) 1 => 'name',
(int) 2 => 'message',
(int) 3 => 'url'
)
$content_for_layout = '<h2>Fatal Error</h2>
<p class="error">
<strong>Error: </strong>
Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer-> <br>
<strong>File: </strong>
/home/toplistvi.com/public_html/View/Layouts/default.ctp <br>
<strong>Line: </strong>
149</p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create public_html/View/Errors/fatal_error.ctp</p>
'
$scripts_for_layout = ''
$title_for_layout = 'Errors'
$televisionsjson = false
$televisions_json = null
$categoriesjson = false
$categories_json = null
$citiesjson = false
$cities_json = null
$routesjson = false
$routes_json = null
include - APP/View/Layouts/default.ctp, line 105
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::renderLayout() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 546
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 481
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
ExceptionRenderer::_outputMessage() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php, line 292
ExceptionRenderer::_cakeError() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php, line 213
ExceptionRenderer::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ErrorHandler.php, line 127
ErrorHandler::handleFatalError() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ErrorHandler.php, line 269
ErrorHandler::handleError() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ErrorHandler.php, line 212
App::_checkFatalError() - APP/Vendor/cakephp/cakephp/lib/Cake/Core/App.php, line 970
App::shutdown() - APP/Vendor/cakephp/cakephp/lib/Cake/Core/App.php, line 943
[main] - [internal], line ??
Warning (2): file_get_contents(./airports.json) [function.file-get-contents]: failed to open stream: No such file or directory [APP/View/Layouts/default.ctp, line 119]Code Context <ul aria-labelledby="dropdownSubMenu7" class="dropdown-menu border-0 shadow">
<?php
$airportsjson = file_get_contents(Configure::read('Site.file_path').'/airports.json');
$viewFile = '/home/toplistvi.com/public_html/View/Layouts/default.ctp'
$dataForView = array(
'code' => (int) 500,
'name' => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->',
'message' => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->',
'url' => '/bac-giang/luc-nam/tim-kiem-cua-hang-ban-thuc-an-ngon',
'error' => object(FatalErrorException) {
[protected] _attributes => array([maximum depth reached])
[protected] _messageTemplate => ''
[protected] _responseHeaders => null
[protected] message => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
[protected] code => (int) 500
[protected] file => '/home/toplistvi.com/public_html/View/Layouts/default.ctp'
[protected] line => (int) 149
},
'_serialize' => array(
(int) 0 => 'code',
(int) 1 => 'name',
(int) 2 => 'message',
(int) 3 => 'url'
),
'content_for_layout' => '<h2>Fatal Error</h2>
<p class="error">
<strong>Error: </strong>
Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer-> <br>
<strong>File: </strong>
/home/toplistvi.com/public_html/View/Layouts/default.ctp <br>
<strong>Line: </strong>
149</p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create public_html/View/Errors/fatal_error.ctp</p>
',
'scripts_for_layout' => '',
'title_for_layout' => 'Errors'
)
$code = (int) 500
$name = 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
$message = 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
$url = '/bac-giang/luc-nam/tim-kiem-cua-hang-ban-thuc-an-ngon'
$error = object(FatalErrorException) {
[protected] _attributes => array()
[protected] _messageTemplate => ''
[protected] _responseHeaders => null
[protected] message => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
[protected] code => (int) 500
[protected] file => '/home/toplistvi.com/public_html/View/Layouts/default.ctp'
[protected] line => (int) 149
}
$_serialize = array(
(int) 0 => 'code',
(int) 1 => 'name',
(int) 2 => 'message',
(int) 3 => 'url'
)
$content_for_layout = '<h2>Fatal Error</h2>
<p class="error">
<strong>Error: </strong>
Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer-> <br>
<strong>File: </strong>
/home/toplistvi.com/public_html/View/Layouts/default.ctp <br>
<strong>Line: </strong>
149</p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create public_html/View/Errors/fatal_error.ctp</p>
'
$scripts_for_layout = ''
$title_for_layout = 'Errors'
$televisionsjson = false
$televisions_json = null
$categoriesjson = false
$categories_json = null
$citiesjson = false
$cities_json = null
$routesjson = false
$routes_json = null
file_get_contents - [internal], line ??
include - APP/View/Layouts/default.ctp, line 119
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::renderLayout() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 546
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 481
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
ExceptionRenderer::_outputMessage() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php, line 292
ExceptionRenderer::_cakeError() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php, line 213
ExceptionRenderer::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ErrorHandler.php, line 127
ErrorHandler::handleFatalError() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ErrorHandler.php, line 269
ErrorHandler::handleError() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ErrorHandler.php, line 212
App::_checkFatalError() - APP/Vendor/cakephp/cakephp/lib/Cake/Core/App.php, line 970
App::shutdown() - APP/Vendor/cakephp/cakephp/lib/Cake/Core/App.php, line 943
[main] - [internal], line ??
Warning (2): Invalid argument supplied for foreach() [APP/View/Layouts/default.ctp, line 121]Code Context $airportsjson = file_get_contents(Configure::read('Site.file_path').'/airports.json');
$airports_json = json_decode($airportsjson, true);
foreach ($airports_json as $key => $a) {
$viewFile = '/home/toplistvi.com/public_html/View/Layouts/default.ctp'
$dataForView = array(
'code' => (int) 500,
'name' => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->',
'message' => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->',
'url' => '/bac-giang/luc-nam/tim-kiem-cua-hang-ban-thuc-an-ngon',
'error' => object(FatalErrorException) {
[protected] _attributes => array([maximum depth reached])
[protected] _messageTemplate => ''
[protected] _responseHeaders => null
[protected] message => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
[protected] code => (int) 500
[protected] file => '/home/toplistvi.com/public_html/View/Layouts/default.ctp'
[protected] line => (int) 149
},
'_serialize' => array(
(int) 0 => 'code',
(int) 1 => 'name',
(int) 2 => 'message',
(int) 3 => 'url'
),
'content_for_layout' => '<h2>Fatal Error</h2>
<p class="error">
<strong>Error: </strong>
Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer-> <br>
<strong>File: </strong>
/home/toplistvi.com/public_html/View/Layouts/default.ctp <br>
<strong>Line: </strong>
149</p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create public_html/View/Errors/fatal_error.ctp</p>
',
'scripts_for_layout' => '',
'title_for_layout' => 'Errors'
)
$code = (int) 500
$name = 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
$message = 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
$url = '/bac-giang/luc-nam/tim-kiem-cua-hang-ban-thuc-an-ngon'
$error = object(FatalErrorException) {
[protected] _attributes => array()
[protected] _messageTemplate => ''
[protected] _responseHeaders => null
[protected] message => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
[protected] code => (int) 500
[protected] file => '/home/toplistvi.com/public_html/View/Layouts/default.ctp'
[protected] line => (int) 149
}
$_serialize = array(
(int) 0 => 'code',
(int) 1 => 'name',
(int) 2 => 'message',
(int) 3 => 'url'
)
$content_for_layout = '<h2>Fatal Error</h2>
<p class="error">
<strong>Error: </strong>
Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer-> <br>
<strong>File: </strong>
/home/toplistvi.com/public_html/View/Layouts/default.ctp <br>
<strong>Line: </strong>
149</p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create public_html/View/Errors/fatal_error.ctp</p>
'
$scripts_for_layout = ''
$title_for_layout = 'Errors'
$televisionsjson = false
$televisions_json = null
$categoriesjson = false
$categories_json = null
$citiesjson = false
$cities_json = null
$routesjson = false
$routes_json = null
$airportsjson = false
$airports_json = null
include - APP/View/Layouts/default.ctp, line 121
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::renderLayout() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 546
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 481
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
ExceptionRenderer::_outputMessage() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php, line 292
ExceptionRenderer::_cakeError() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php, line 213
ExceptionRenderer::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ErrorHandler.php, line 127
ErrorHandler::handleFatalError() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ErrorHandler.php, line 269
ErrorHandler::handleError() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ErrorHandler.php, line 212
App::_checkFatalError() - APP/Vendor/cakephp/cakephp/lib/Cake/Core/App.php, line 970
App::shutdown() - APP/Vendor/cakephp/cakephp/lib/Cake/Core/App.php, line 943
[main] - [internal], line ??
Warning (2): file_get_contents(./services.json) [function.file-get-contents]: failed to open stream: No such file or directory [APP/View/Layouts/default.ctp, line 137]Code Context <ul aria-labelledby="dropdownSubMenu8" class="dropdown-menu border-0 shadow">
<?php
$servicesjson = file_get_contents(Configure::read('Site.file_path').'/services.json');
$viewFile = '/home/toplistvi.com/public_html/View/Layouts/default.ctp'
$dataForView = array(
'code' => (int) 500,
'name' => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->',
'message' => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->',
'url' => '/bac-giang/luc-nam/tim-kiem-cua-hang-ban-thuc-an-ngon',
'error' => object(FatalErrorException) {
[protected] _attributes => array([maximum depth reached])
[protected] _messageTemplate => ''
[protected] _responseHeaders => null
[protected] message => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
[protected] code => (int) 500
[protected] file => '/home/toplistvi.com/public_html/View/Layouts/default.ctp'
[protected] line => (int) 149
},
'_serialize' => array(
(int) 0 => 'code',
(int) 1 => 'name',
(int) 2 => 'message',
(int) 3 => 'url'
),
'content_for_layout' => '<h2>Fatal Error</h2>
<p class="error">
<strong>Error: </strong>
Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer-> <br>
<strong>File: </strong>
/home/toplistvi.com/public_html/View/Layouts/default.ctp <br>
<strong>Line: </strong>
149</p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create public_html/View/Errors/fatal_error.ctp</p>
',
'scripts_for_layout' => '',
'title_for_layout' => 'Errors'
)
$code = (int) 500
$name = 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
$message = 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
$url = '/bac-giang/luc-nam/tim-kiem-cua-hang-ban-thuc-an-ngon'
$error = object(FatalErrorException) {
[protected] _attributes => array()
[protected] _messageTemplate => ''
[protected] _responseHeaders => null
[protected] message => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
[protected] code => (int) 500
[protected] file => '/home/toplistvi.com/public_html/View/Layouts/default.ctp'
[protected] line => (int) 149
}
$_serialize = array(
(int) 0 => 'code',
(int) 1 => 'name',
(int) 2 => 'message',
(int) 3 => 'url'
)
$content_for_layout = '<h2>Fatal Error</h2>
<p class="error">
<strong>Error: </strong>
Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer-> <br>
<strong>File: </strong>
/home/toplistvi.com/public_html/View/Layouts/default.ctp <br>
<strong>Line: </strong>
149</p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create public_html/View/Errors/fatal_error.ctp</p>
'
$scripts_for_layout = ''
$title_for_layout = 'Errors'
$televisionsjson = false
$televisions_json = null
$categoriesjson = false
$categories_json = null
$citiesjson = false
$cities_json = null
$routesjson = false
$routes_json = null
$airportsjson = false
$airports_json = null
file_get_contents - [internal], line ??
include - APP/View/Layouts/default.ctp, line 137
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::renderLayout() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 546
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 481
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
ExceptionRenderer::_outputMessage() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php, line 292
ExceptionRenderer::_cakeError() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php, line 213
ExceptionRenderer::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ErrorHandler.php, line 127
ErrorHandler::handleFatalError() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ErrorHandler.php, line 269
ErrorHandler::handleError() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ErrorHandler.php, line 212
App::_checkFatalError() - APP/Vendor/cakephp/cakephp/lib/Cake/Core/App.php, line 970
App::shutdown() - APP/Vendor/cakephp/cakephp/lib/Cake/Core/App.php, line 943
[main] - [internal], line ??
Warning (2): Invalid argument supplied for foreach() [APP/View/Layouts/default.ctp, line 139]Code Context $servicesjson = file_get_contents(Configure::read('Site.file_path').'/services.json');
$services_json = json_decode($servicesjson, true);
foreach ($services_json as $key => $s) {
$viewFile = '/home/toplistvi.com/public_html/View/Layouts/default.ctp'
$dataForView = array(
'code' => (int) 500,
'name' => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->',
'message' => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->',
'url' => '/bac-giang/luc-nam/tim-kiem-cua-hang-ban-thuc-an-ngon',
'error' => object(FatalErrorException) {
[protected] _attributes => array([maximum depth reached])
[protected] _messageTemplate => ''
[protected] _responseHeaders => null
[protected] message => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
[protected] code => (int) 500
[protected] file => '/home/toplistvi.com/public_html/View/Layouts/default.ctp'
[protected] line => (int) 149
},
'_serialize' => array(
(int) 0 => 'code',
(int) 1 => 'name',
(int) 2 => 'message',
(int) 3 => 'url'
),
'content_for_layout' => '<h2>Fatal Error</h2>
<p class="error">
<strong>Error: </strong>
Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer-> <br>
<strong>File: </strong>
/home/toplistvi.com/public_html/View/Layouts/default.ctp <br>
<strong>Line: </strong>
149</p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create public_html/View/Errors/fatal_error.ctp</p>
',
'scripts_for_layout' => '',
'title_for_layout' => 'Errors'
)
$code = (int) 500
$name = 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
$message = 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
$url = '/bac-giang/luc-nam/tim-kiem-cua-hang-ban-thuc-an-ngon'
$error = object(FatalErrorException) {
[protected] _attributes => array()
[protected] _messageTemplate => ''
[protected] _responseHeaders => null
[protected] message => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
[protected] code => (int) 500
[protected] file => '/home/toplistvi.com/public_html/View/Layouts/default.ctp'
[protected] line => (int) 149
}
$_serialize = array(
(int) 0 => 'code',
(int) 1 => 'name',
(int) 2 => 'message',
(int) 3 => 'url'
)
$content_for_layout = '<h2>Fatal Error</h2>
<p class="error">
<strong>Error: </strong>
Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer-> <br>
<strong>File: </strong>
/home/toplistvi.com/public_html/View/Layouts/default.ctp <br>
<strong>Line: </strong>
149</p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create public_html/View/Errors/fatal_error.ctp</p>
'
$scripts_for_layout = ''
$title_for_layout = 'Errors'
$televisionsjson = false
$televisions_json = null
$categoriesjson = false
$categories_json = null
$citiesjson = false
$cities_json = null
$routesjson = false
$routes_json = null
$airportsjson = false
$airports_json = null
$servicesjson = false
$services_json = null
include - APP/View/Layouts/default.ctp, line 139
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::renderLayout() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 546
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 481
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
ExceptionRenderer::_outputMessage() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php, line 292
ExceptionRenderer::_cakeError() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php, line 213
ExceptionRenderer::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ErrorHandler.php, line 127
ErrorHandler::handleFatalError() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ErrorHandler.php, line 269
ErrorHandler::handleError() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ErrorHandler.php, line 212
App::_checkFatalError() - APP/Vendor/cakephp/cakephp/lib/Cake/Core/App.php, line 970
App::shutdown() - APP/Vendor/cakephp/cakephp/lib/Cake/Core/App.php, line 943
[main] - [internal], line ??
Notice (8): Undefined variable: Function [APP/View/Layouts/default.ctp, line 149]Code Context <ul aria-labelledby="dropdownSubMenu8" class="dropdown-menu border-0 shadow">
<?php
$types = $Function->location_types('', 15);
$viewFile = '/home/toplistvi.com/public_html/View/Layouts/default.ctp'
$dataForView = array(
'code' => (int) 500,
'name' => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->',
'message' => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->',
'url' => '/bac-giang/luc-nam/tim-kiem-cua-hang-ban-thuc-an-ngon',
'error' => object(FatalErrorException) {
[protected] _attributes => array([maximum depth reached])
[protected] _messageTemplate => ''
[protected] _responseHeaders => null
[protected] message => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
[protected] code => (int) 500
[protected] file => '/home/toplistvi.com/public_html/View/Layouts/default.ctp'
[protected] line => (int) 149
},
'_serialize' => array(
(int) 0 => 'code',
(int) 1 => 'name',
(int) 2 => 'message',
(int) 3 => 'url'
),
'content_for_layout' => '<h2>Fatal Error</h2>
<p class="error">
<strong>Error: </strong>
Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer-> <br>
<strong>File: </strong>
/home/toplistvi.com/public_html/View/Layouts/default.ctp <br>
<strong>Line: </strong>
149</p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create public_html/View/Errors/fatal_error.ctp</p>
',
'scripts_for_layout' => '',
'title_for_layout' => 'Errors'
)
$code = (int) 500
$name = 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
$message = 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
$url = '/bac-giang/luc-nam/tim-kiem-cua-hang-ban-thuc-an-ngon'
$error = object(FatalErrorException) {
[protected] _attributes => array()
[protected] _messageTemplate => ''
[protected] _responseHeaders => null
[protected] message => 'Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer->'
[protected] code => (int) 500
[protected] file => '/home/toplistvi.com/public_html/View/Layouts/default.ctp'
[protected] line => (int) 149
}
$_serialize = array(
(int) 0 => 'code',
(int) 1 => 'name',
(int) 2 => 'message',
(int) 3 => 'url'
)
$content_for_layout = '<h2>Fatal Error</h2>
<p class="error">
<strong>Error: </strong>
Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Database Er...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('pdo_error', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('pdo_error')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(281): ExceptionRenderer-> <br>
<strong>File: </strong>
/home/toplistvi.com/public_html/View/Layouts/default.ctp <br>
<strong>Line: </strong>
149</p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create public_html/View/Errors/fatal_error.ctp</p>
'
$scripts_for_layout = ''
$title_for_layout = 'Errors'
$televisionsjson = false
$televisions_json = null
$categoriesjson = false
$categories_json = null
$citiesjson = false
$cities_json = null
$routesjson = false
$routes_json = null
$airportsjson = false
$airports_json = null
$servicesjson = false
$services_json = null
include - APP/View/Layouts/default.ctp, line 149
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::renderLayout() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 546
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 481
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
ExceptionRenderer::_outputMessage() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php, line 292
ExceptionRenderer::_cakeError() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php, line 213
ExceptionRenderer::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ErrorHandler.php, line 127
ErrorHandler::handleFatalError() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ErrorHandler.php, line 269
ErrorHandler::handleError() - APP/Vendor/cakephp/cakephp/lib/Cake/Error/ErrorHandler.php, line 212
App::_checkFatalError() - APP/Vendor/cakephp/cakephp/lib/Cake/Core/App.php, line 970
App::shutdown() - APP/Vendor/cakephp/cakephp/lib/Cake/Core/App.php, line 943
[main] - [internal], line ??
Fatal error: Uncaught Error: Call to a member function location_types() on null in /home/toplistvi.com/public_html/View/Layouts/default.ctp:149
Stack trace:
#0 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(971): include()
#1 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(933): View->_evaluate('/home/toplistvi...', Array)
#2 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(546): View->_render('/home/toplistvi...')
#3 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/View/View.php(481): View->renderLayout('<h2>Fatal Error...', 'default')
#4 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php(963): View->render('fatalError', 'default')
#5 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(292): Controller->render('fatalError')
#6 /home/toplistvi.com/public_html/Vendor/cakephp/cakephp/lib/Cake/Error/ExceptionRenderer.php(213): ExceptionRenderer in /home/toplistvi.com/public_html/View/Layouts/default.ctp on line 149