Warning (2): Invalid argument supplied for foreach() [APP/Controller/AppController.php, line 1122]Code Context}
$this->assign->side_menu['menus']=array();
foreach($source_ids as $m_id){
$menu_data = array( 'Menu' => array( 'id' => '48', 'parent_id' => '16', 'family' => ',1,3,16,48,', 'title' => '访问学者', 'ex_title' => '', 'es_title' => '', 'type' => 'article', 'ex_link' => '', 'level' => '3', 'list_count' => '0', 'child_count' => '0', 'is_nav' => false, 'is_redirect' => false, 'is_content' => false, 'image' => null, 'thumb_width' => '0', 'thumb_height' => '0', 'thumb_method' => '0', 'template' => '{"show":"article_show2.html"}', 'summary' => '', 'keywords' => '', 'description' => '', 'list_order' => null, 'extra' => null ) ) $options = array( (int) 0 => 'limit' ) $front_families = array( (int) 0 => array( 'Menu' => array( 'id' => '1', 'parent_id' => '0', 'family' => ',1,', 'title' => '网站导航', 'ex_title' => 'Guide', 'es_title' => '', 'type' => 'menu', 'ex_link' => '', 'level' => '0', 'list_count' => '0', 'child_count' => '24', 'is_nav' => false, 'is_redirect' => false, 'is_content' => false, 'image' => '', 'thumb_width' => '0', 'thumb_height' => '0', 'thumb_method' => '0', 'template' => '', 'summary' => '', 'keywords' => '', 'description' => '', 'list_order' => '0', 'extra' => '' ) ), (int) 1 => array( 'Menu' => array( 'id' => '3', 'parent_id' => '1', 'family' => ',1,3,', 'title' => '中心概况', 'ex_title' => '', 'es_title' => '', 'type' => 'article', 'ex_link' => '', 'level' => '1', 'list_count' => '0', 'child_count' => '3', 'is_nav' => true, 'is_redirect' => true, 'is_content' => false, 'image' => null, 'thumb_width' => '0', 'thumb_height' => '0', 'thumb_method' => '0', 'template' => '', 'summary' => '', 'keywords' => '', 'description' => '', 'list_order' => null, 'extra' => null ) ), (int) 2 => null, (int) 3 => array( 'Menu' => array( 'id' => '48', 'parent_id' => '16', 'family' => ',1,3,16,48,', 'title' => '访问学者', 'ex_title' => '', 'es_title' => '', 'type' => 'article', 'ex_link' => '', 'level' => '3', 'list_count' => '0', 'child_count' => '0', 'is_nav' => false, 'is_redirect' => false, 'is_content' => false, 'image' => null, 'thumb_width' => '0', 'thumb_height' => '0', 'thumb_method' => '0', 'template' => '{"show":"article_show2.html"}', 'summary' => '', 'keywords' => '', 'description' => '', 'list_order' => null, 'extra' => null ) ) ) $front_families_item = array( 'Menu' => array( 'id' => '48', 'parent_id' => '16', 'family' => ',1,3,16,48,', 'title' => '访问学者', 'ex_title' => '', 'es_title' => '', 'type' => 'article', 'ex_link' => '', 'level' => '3', 'list_count' => '0', 'child_count' => '0', 'is_nav' => false, 'is_redirect' => false, 'is_content' => false, 'image' => null, 'thumb_width' => '0', 'thumb_height' => '0', 'thumb_method' => '0', 'template' => '{"show":"article_show2.html"}', 'summary' => '', 'keywords' => '', 'description' => '', 'list_order' => null, 'extra' => null ) ) $source_ids = nullAppController::_processMenu() - APP/Controller/AppController.php, line 1122 AppController::_getShowMenu() - APP/Controller/AppController.php, line 1070 AppController::show() - APP/Controller/AppController.php, line 608 call_user_func - [internal], line ?? ArticleController::show() - APP/Controller/ArticleController.php, line 68 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 486 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 186 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 161 [main] - APP/webroot/index.php, line 96
Warning (2): Cannot modify header information - headers already sent by (output started at /home/wwwroot/libs/cakephp-2.3.5/lib/Cake/Utility/Debugger.php:806) [APP/Controller/Component/SmartyComponent.php, line 162]Code Context}
header("Content-type:{$this->content_type};charset={$this->charset}");
$template = 'extends:global.html|vstruncture.html|header_footer.html|content_base.html|article_show2.html' $cache_id = null $compile_id = null $parent = nullheader - [internal], line ?? SmartyComponent::display() - APP/Controller/Component/SmartyComponent.php, line 162 SmartyComponent::shutdown() - APP/Controller/Component/SmartyComponent.php, line 65 ObjectCollection::trigger() - CORE/Cake/Utility/ObjectCollection.php, line 132 call_user_func - [internal], line ?? CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 248 Controller::shutdownProcess() - CORE/Cake/Controller/Controller.php, line 684 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 199 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 161 [main] - APP/webroot/index.php, line 96
当前位置:首页 > 中心概况 > Warning (2): key() expects parameter 1 to be array, null given [APP/templates_c/da45feeaa272b4404d57dce2f12791ffe84326b9.extends.article_show2.html.php, line 832]
$_smarty_tpl->tpl_vars['path_menu']->iteration++;
$_smarty_tpl->tpl_vars['path_menu']->last = $_smarty_tpl->tpl_vars['path_menu']->iteration === $_smarty_tpl->tpl_vars['path_menu']->total;
?><?php $_smarty_tpl->tpl_vars['local_mdl'] = new Smarty_variable(key($_smarty_tpl->tpl_vars['path_menu']->value), null, 0);?><?php if (!is_array(current($_smarty_tpl->tpl_vars['path_menu']->value))){?><?php echo current($_smarty_tpl->tpl_vars['path_menu']->value);?>
$_smarty_tpl = object(Smarty_Internal_Template) {
cache_id => null
compile_id => null
caching => false
cache_lifetime => (int) 3600
template_resource => './path.html'
mustCompile => null
has_nocache_code => false
properties => array(
'file_dependency' => array([maximum depth reached]),
'nocache_hash' => '1628970576593a5f3268cf34-60126823',
'function' => array([maximum depth reached])
)
required_plugins => array(
'compiled' => array([maximum depth reached]),
'nocache' => array([maximum depth reached])
)
smarty => object(Smarty) {}
block_data => array()
variable_filters => array()
used_tags => array()
allow_relative_path => false
_capture_stack => array(
(int) 0 => array([maximum depth reached])
)
template_class => 'Smarty_Internal_Template'
tpl_vars => array(
'SCRIPT_NAME' => object(Smarty_Variable) {},
'params' => object(Smarty_Variable) {},
'setting' => object(Smarty_Variable) {},
'mdl' => object(Smarty_Variable) {},
'mdl_name' => object(Smarty_Variable) {},
'args' => object(Smarty_Variable) {},
'root' => object(Smarty_Variable) {},
'rightArr' => object(Smarty_Variable) {},
'meta' => object(Smarty_Variable) {},
'lang' => object(Smarty_Variable) {},
'static_menus' => object(Smarty_Variable) {},
'static_categorys' => object(Smarty_Variable) {},
'system_value' => object(Smarty_Variable) {},
'now' => object(Smarty_Variable) {},
'js' => object(Smarty_Variable) {},
'css' => object(Smarty_Variable) {},
'ie6' => object(Smarty_Variable) {},
'sckm_link' => object(Smarty_Variable) {},
'ad' => object(Smarty_Variable) {},
'index_data' => object(Smarty_Variable) {},
'menu_data' => object(Smarty_Variable) {},
'top_id' => object(Smarty_Variable) {},
'path' => object(Smarty_Variable) {},
'side_menu' => object(Smarty_Variable) {},
'list' => object(Smarty_Variable) {},
'page' => object(Smarty_Variable) {},
'mdl_form' => object(Smarty_Variable) {},
'session' => object(Smarty_Variable) {},
'html' => object(Smarty_Variable) {},
'form' => object(Smarty_Variable) {},
'paginator' => object(Smarty_Variable) {},
'smarty' => object(Smarty_Variable) {},
'local' => object(Smarty_Variable) {},
'level1' => object(Smarty_Variable) {},
'level1_id' => object(Smarty_Variable) {},
'level2' => object(Smarty_Variable) {},
'level2_id' => object(Smarty_Variable) {},
'banner' => object(Smarty_Variable) {},
'item' => object(Smarty_Variable) {},
'child_id' => object(Smarty_Variable) {},
'home' => object(Smarty_Variable) {},
'delimiter' => object(Smarty_Variable) {},
'path_menu' => object(Smarty_Variable) {},
'local_mdl' => object(Smarty_Variable) {}
)
parent => object(Smarty_Internal_Template) {}
config_vars => array()
}
$_from = array(
(int) 0 => array(
'Menu' => array(
'id' => '3',
'parent_id' => '1',
'family' => ',1,3,',
'title' => '中心概况',
'ex_title' => '',
'es_title' => '',
'type' => 'article',
'ex_link' => '',
'level' => '1',
'list_count' => '0',
'child_count' => '3',
'is_nav' => true,
'is_redirect' => true,
'is_content' => false,
'image' => null,
'thumb_width' => '0',
'thumb_height' => '0',
'thumb_method' => '0',
'template' => '',
'summary' => '',
'keywords' => '',
'description' => '',
'list_order' => null,
'extra' => null
)
),
(int) 1 => null,
(int) 2 => array(
'Menu' => array(
'id' => '48',
'parent_id' => '16',
'family' => ',1,3,16,48,',
'title' => '访问学者',
'ex_title' => '',
'es_title' => '',
'type' => 'article',
'ex_link' => '',
'level' => '3',
'list_count' => '0',
'child_count' => '0',
'is_nav' => false,
'is_redirect' => false,
'is_content' => false,
'image' => null,
'thumb_width' => '0',
'thumb_height' => '0',
'thumb_method' => '0',
'template' => '{"show":"article_show2.html"}',
'summary' => '',
'keywords' => '',
'description' => '',
'list_order' => null,
'extra' => null
)
)
)
key - [internal], line ??
content_593a5f3297b488_82123033 - APP/templates_c/da45feeaa272b4404d57dce2f12791ffe84326b9.extends.article_show2.html.php, line 832
content_593a5f32973835_31723864 - APP/templates_c/da45feeaa272b4404d57dce2f12791ffe84326b9.extends.article_show2.html.php, line 818
content_593a5f32aaa605_42285397 - APP/templates_c/da45feeaa272b4404d57dce2f12791ffe84326b9.extends.article_show2.html.php, line 605
Smarty_Internal_TemplateBase::fetch() - ROOT/libs/Vendors/Smarty-3.1.11/libs/sysplugins/smarty_internal_templatebase.php, line 180
SmartyComponent::display() - APP/Controller/Component/SmartyComponent.php, line 163
SmartyComponent::shutdown() - APP/Controller/Component/SmartyComponent.php, line 65
ObjectCollection::trigger() - CORE/Cake/Utility/ObjectCollection.php, line 132
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 248
Controller::shutdownProcess() - CORE/Cake/Controller/Controller.php, line 684
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 199
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 161
[main] - APP/webroot/index.php, line 96
Warning (2): current() expects parameter 1 to be array, null given [APP/templates_c/da45feeaa272b4404d57dce2f12791ffe84326b9.extends.article_show2.html.php, line 832]
$_smarty_tpl->tpl_vars['path_menu']->iteration++;
$_smarty_tpl->tpl_vars['path_menu']->last = $_smarty_tpl->tpl_vars['path_menu']->iteration === $_smarty_tpl->tpl_vars['path_menu']->total;
?><?php $_smarty_tpl->tpl_vars['local_mdl'] = new Smarty_variable(key($_smarty_tpl->tpl_vars['path_menu']->value), null, 0);?><?php if (!is_array(current($_smarty_tpl->tpl_vars['path_menu']->value))){?><?php echo current($_smarty_tpl->tpl_vars['path_menu']->value);?>
$_smarty_tpl = object(Smarty_Internal_Template) {
cache_id => null
compile_id => null
caching => false
cache_lifetime => (int) 3600
template_resource => './path.html'
mustCompile => null
has_nocache_code => false
properties => array(
'file_dependency' => array([maximum depth reached]),
'nocache_hash' => '1628970576593a5f3268cf34-60126823',
'function' => array([maximum depth reached])
)
required_plugins => array(
'compiled' => array([maximum depth reached]),
'nocache' => array([maximum depth reached])
)
smarty => object(Smarty) {}
block_data => array()
variable_filters => array()
used_tags => array()
allow_relative_path => false
_capture_stack => array(
(int) 0 => array([maximum depth reached])
)
template_class => 'Smarty_Internal_Template'
tpl_vars => array(
'SCRIPT_NAME' => object(Smarty_Variable) {},
'params' => object(Smarty_Variable) {},
'setting' => object(Smarty_Variable) {},
'mdl' => object(Smarty_Variable) {},
'mdl_name' => object(Smarty_Variable) {},
'args' => object(Smarty_Variable) {},
'root' => object(Smarty_Variable) {},
'rightArr' => object(Smarty_Variable) {},
'meta' => object(Smarty_Variable) {},
'lang' => object(Smarty_Variable) {},
'static_menus' => object(Smarty_Variable) {},
'static_categorys' => object(Smarty_Variable) {},
'system_value' => object(Smarty_Variable) {},
'now' => object(Smarty_Variable) {},
'js' => object(Smarty_Variable) {},
'css' => object(Smarty_Variable) {},
'ie6' => object(Smarty_Variable) {},
'sckm_link' => object(Smarty_Variable) {},
'ad' => object(Smarty_Variable) {},
'index_data' => object(Smarty_Variable) {},
'menu_data' => object(Smarty_Variable) {},
'top_id' => object(Smarty_Variable) {},
'path' => object(Smarty_Variable) {},
'side_menu' => object(Smarty_Variable) {},
'list' => object(Smarty_Variable) {},
'page' => object(Smarty_Variable) {},
'mdl_form' => object(Smarty_Variable) {},
'session' => object(Smarty_Variable) {},
'html' => object(Smarty_Variable) {},
'form' => object(Smarty_Variable) {},
'paginator' => object(Smarty_Variable) {},
'smarty' => object(Smarty_Variable) {},
'local' => object(Smarty_Variable) {},
'level1' => object(Smarty_Variable) {},
'level1_id' => object(Smarty_Variable) {},
'level2' => object(Smarty_Variable) {},
'level2_id' => object(Smarty_Variable) {},
'banner' => object(Smarty_Variable) {},
'item' => object(Smarty_Variable) {},
'child_id' => object(Smarty_Variable) {},
'home' => object(Smarty_Variable) {},
'delimiter' => object(Smarty_Variable) {},
'path_menu' => object(Smarty_Variable) {},
'local_mdl' => object(Smarty_Variable) {}
)
parent => object(Smarty_Internal_Template) {}
config_vars => array()
}
$_from = array(
(int) 0 => array(
'Menu' => array(
'id' => '3',
'parent_id' => '1',
'family' => ',1,3,',
'title' => '中心概况',
'ex_title' => '',
'es_title' => '',
'type' => 'article',
'ex_link' => '',
'level' => '1',
'list_count' => '0',
'child_count' => '3',
'is_nav' => true,
'is_redirect' => true,
'is_content' => false,
'image' => null,
'thumb_width' => '0',
'thumb_height' => '0',
'thumb_method' => '0',
'template' => '',
'summary' => '',
'keywords' => '',
'description' => '',
'list_order' => null,
'extra' => null
)
),
(int) 1 => null,
(int) 2 => array(
'Menu' => array(
'id' => '48',
'parent_id' => '16',
'family' => ',1,3,16,48,',
'title' => '访问学者',
'ex_title' => '',
'es_title' => '',
'type' => 'article',
'ex_link' => '',
'level' => '3',
'list_count' => '0',
'child_count' => '0',
'is_nav' => false,
'is_redirect' => false,
'is_content' => false,
'image' => null,
'thumb_width' => '0',
'thumb_height' => '0',
'thumb_method' => '0',
'template' => '{"show":"article_show2.html"}',
'summary' => '',
'keywords' => '',
'description' => '',
'list_order' => null,
'extra' => null
)
)
)
current - [internal], line ??
content_593a5f3297b488_82123033 - APP/templates_c/da45feeaa272b4404d57dce2f12791ffe84326b9.extends.article_show2.html.php, line 832
content_593a5f32973835_31723864 - APP/templates_c/da45feeaa272b4404d57dce2f12791ffe84326b9.extends.article_show2.html.php, line 818
content_593a5f32aaa605_42285397 - APP/templates_c/da45feeaa272b4404d57dce2f12791ffe84326b9.extends.article_show2.html.php, line 605
Smarty_Internal_TemplateBase::fetch() - ROOT/libs/Vendors/Smarty-3.1.11/libs/sysplugins/smarty_internal_templatebase.php, line 180
SmartyComponent::display() - APP/Controller/Component/SmartyComponent.php, line 163
SmartyComponent::shutdown() - APP/Controller/Component/SmartyComponent.php, line 65
ObjectCollection::trigger() - CORE/Cake/Utility/ObjectCollection.php, line 132
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 248
Controller::shutdownProcess() - CORE/Cake/Controller/Controller.php, line 684
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 199
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 161
[main] - APP/webroot/index.php, line 96
Warning (2): current() expects parameter 1 to be array, null given [APP/templates_c/da45feeaa272b4404d57dce2f12791ffe84326b9.extends.article_show2.html.php, line 832]
> 访问学者 $_smarty_tpl->tpl_vars['path_menu']->iteration++;
$_smarty_tpl->tpl_vars['path_menu']->last = $_smarty_tpl->tpl_vars['path_menu']->iteration === $_smarty_tpl->tpl_vars['path_menu']->total;
?><?php $_smarty_tpl->tpl_vars['local_mdl'] = new Smarty_variable(key($_smarty_tpl->tpl_vars['path_menu']->value), null, 0);?><?php if (!is_array(current($_smarty_tpl->tpl_vars['path_menu']->value))){?><?php echo current($_smarty_tpl->tpl_vars['path_menu']->value);?>
$_smarty_tpl = object(Smarty_Internal_Template) {
cache_id => null
compile_id => null
caching => false
cache_lifetime => (int) 3600
template_resource => './path.html'
mustCompile => null
has_nocache_code => false
properties => array(
'file_dependency' => array([maximum depth reached]),
'nocache_hash' => '1628970576593a5f3268cf34-60126823',
'function' => array([maximum depth reached])
)
required_plugins => array(
'compiled' => array([maximum depth reached]),
'nocache' => array([maximum depth reached])
)
smarty => object(Smarty) {}
block_data => array()
variable_filters => array()
used_tags => array()
allow_relative_path => false
_capture_stack => array(
(int) 0 => array([maximum depth reached])
)
template_class => 'Smarty_Internal_Template'
tpl_vars => array(
'SCRIPT_NAME' => object(Smarty_Variable) {},
'params' => object(Smarty_Variable) {},
'setting' => object(Smarty_Variable) {},
'mdl' => object(Smarty_Variable) {},
'mdl_name' => object(Smarty_Variable) {},
'args' => object(Smarty_Variable) {},
'root' => object(Smarty_Variable) {},
'rightArr' => object(Smarty_Variable) {},
'meta' => object(Smarty_Variable) {},
'lang' => object(Smarty_Variable) {},
'static_menus' => object(Smarty_Variable) {},
'static_categorys' => object(Smarty_Variable) {},
'system_value' => object(Smarty_Variable) {},
'now' => object(Smarty_Variable) {},
'js' => object(Smarty_Variable) {},
'css' => object(Smarty_Variable) {},
'ie6' => object(Smarty_Variable) {},
'sckm_link' => object(Smarty_Variable) {},
'ad' => object(Smarty_Variable) {},
'index_data' => object(Smarty_Variable) {},
'menu_data' => object(Smarty_Variable) {},
'top_id' => object(Smarty_Variable) {},
'path' => object(Smarty_Variable) {},
'side_menu' => object(Smarty_Variable) {},
'list' => object(Smarty_Variable) {},
'page' => object(Smarty_Variable) {},
'mdl_form' => object(Smarty_Variable) {},
'session' => object(Smarty_Variable) {},
'html' => object(Smarty_Variable) {},
'form' => object(Smarty_Variable) {},
'paginator' => object(Smarty_Variable) {},
'smarty' => object(Smarty_Variable) {},
'local' => object(Smarty_Variable) {},
'level1' => object(Smarty_Variable) {},
'level1_id' => object(Smarty_Variable) {},
'level2' => object(Smarty_Variable) {},
'level2_id' => object(Smarty_Variable) {},
'banner' => object(Smarty_Variable) {},
'item' => object(Smarty_Variable) {},
'child_id' => object(Smarty_Variable) {},
'home' => object(Smarty_Variable) {},
'delimiter' => object(Smarty_Variable) {},
'path_menu' => object(Smarty_Variable) {},
'local_mdl' => object(Smarty_Variable) {}
)
parent => object(Smarty_Internal_Template) {}
config_vars => array()
}
$_from = array(
(int) 0 => array(
'Menu' => array(
'id' => '3',
'parent_id' => '1',
'family' => ',1,3,',
'title' => '中心概况',
'ex_title' => '',
'es_title' => '',
'type' => 'article',
'ex_link' => '',
'level' => '1',
'list_count' => '0',
'child_count' => '3',
'is_nav' => true,
'is_redirect' => true,
'is_content' => false,
'image' => null,
'thumb_width' => '0',
'thumb_height' => '0',
'thumb_method' => '0',
'template' => '',
'summary' => '',
'keywords' => '',
'description' => '',
'list_order' => null,
'extra' => null
)
),
(int) 1 => null,
(int) 2 => array(
'Menu' => array(
'id' => '48',
'parent_id' => '16',
'family' => ',1,3,16,48,',
'title' => '访问学者',
'ex_title' => '',
'es_title' => '',
'type' => 'article',
'ex_link' => '',
'level' => '3',
'list_count' => '0',
'child_count' => '0',
'is_nav' => false,
'is_redirect' => false,
'is_content' => false,
'image' => null,
'thumb_width' => '0',
'thumb_height' => '0',
'thumb_method' => '0',
'template' => '{"show":"article_show2.html"}',
'summary' => '',
'keywords' => '',
'description' => '',
'list_order' => null,
'extra' => null
)
)
)
current - [internal], line ??
content_593a5f3297b488_82123033 - APP/templates_c/da45feeaa272b4404d57dce2f12791ffe84326b9.extends.article_show2.html.php, line 832
content_593a5f32973835_31723864 - APP/templates_c/da45feeaa272b4404d57dce2f12791ffe84326b9.extends.article_show2.html.php, line 818
content_593a5f32aaa605_42285397 - APP/templates_c/da45feeaa272b4404d57dce2f12791ffe84326b9.extends.article_show2.html.php, line 605
Smarty_Internal_TemplateBase::fetch() - ROOT/libs/Vendors/Smarty-3.1.11/libs/sysplugins/smarty_internal_templatebase.php, line 180
SmartyComponent::display() - APP/Controller/Component/SmartyComponent.php, line 163
SmartyComponent::shutdown() - APP/Controller/Component/SmartyComponent.php, line 65
ObjectCollection::trigger() - CORE/Cake/Utility/ObjectCollection.php, line 132
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 248
Controller::shutdownProcess() - CORE/Cake/Controller/Controller.php, line 684
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 199
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 161
[main] - APP/webroot/index.php, line 96
川大美国研究中心 V 1.0.0 2006-2017 @ All Rights Reserved Technical SUPPORT:KING ME
关注微信号