=> '', 'place_of_birth' => '', 'gender' => 0, 'popularity' => 0, 'imdb_id' => '', 'comments' => 0, 'last_updated' => '', 'also_known_as' => array(), 'subject' => '', 'known_for' => '' ); if($_GET['id'] > 0){ $this->cms_content->table = 'cms_actors'; $_actor_row = $this->cms_content->get($_GET['id']); if($_actor_row){ $_actor_profile['id'] = isset($_actor_row['id']) ? (int)$_actor_row['id'] : 0; $_actor_profile['tmdb_id'] = isset($_actor_row['tmdb_id']) ? (int)$_actor_row['tmdb_id'] : 0; $_actor_profile['cid'] = isset($_actor_row['cid']) ? (int)$_actor_row['cid'] : 0; $_actor_profile['name'] = isset($_actor_row['title']) ? trim($_actor_row['title']) : ''; $_actor_profile['alias'] = isset($_actor_row['alias']) ? $_actor_row['alias'] : ''; $_actor_profile['cover'] = !empty($_actor_row['profile_path']) ? $_actor_row['profile_path'] : (isset($_actor_row['pic']) ? $_actor_row['pic'] : ''); $_actor_profile['url'] = $_actor_profile['id'] ? ($this->_cfg['weburl'].'actor/'.$_actor_profile['id'].'.html') : ''; $_actor_profile['intro'] = isset($_actor_row['intro']) ? $_actor_row['intro'] : ''; $_actor_profile['biography'] = isset($_actor_row['biography']) ? $_actor_row['biography'] : ''; $_actor_profile['birthday'] = !empty($_actor_row['birthday']) ? $_actor_row['birthday'] : ''; $_actor_profile['deathday'] = !empty($_actor_row['deathday']) ? $_actor_row['deathday'] : ''; $_actor_profile['place_of_birth'] = !empty($_actor_row['place_of_birth']) ? $_actor_row['place_of_birth'] : ''; $_actor_profile['gender'] = isset($_actor_row['gender']) ? (int)$_actor_row['gender'] : 0; $_actor_profile['popularity'] = isset($_actor_row['popularity']) ? (float)$_actor_row['popularity'] : 0; $_actor_profile['imdb_id'] = isset($_actor_row['imdb_id']) ? $_actor_row['imdb_id'] : ''; $_actor_profile['comments'] = isset($_actor_row['comments']) ? (int)$_actor_row['comments'] : 0; $_actor_profile['last_updated'] = isset($_actor_row['last_updated']) ? $_actor_row['last_updated'] : ''; $_actor_profile['also_known_as'] = !empty($_actor_row['also_known_as']) ? (array)json_decode($_actor_row['also_known_as'], true) : array(); if(!empty($_actor_row['movie_credits'])){ $_movie_credits = json_decode($_actor_row['movie_credits'], true); if(is_array($_movie_credits)){ $_actor_profile['works'] = count($_movie_credits); if(!empty($_movie_credits[0]['title'])){ $_actor_profile['subject'] = $_movie_credits[0]['title']; $_actor_profile['known_for'] = $_movie_credits[0]['title']; } } } try{ $this->cms_content_views->table = 'cms_actors_views'; $_actor_view_row = $this->cms_content_views->get($_GET['id']); if($_actor_view_row && isset($_actor_view_row['views'])){ $_actor_profile['views'] = (int)$_actor_view_row['views']; } }catch(Exception $e){ $_actor_profile['views'] = 0; } } } $this->assign('cfg', $this->_cfg); $this->assign('cfg_var', $this->_var); $this->assign('_actor_profile', $_actor_profile); $GLOBALS['_top_cid'] = $_GET['cid']; $GLOBALS['run'] = &$this; $_ENV['_theme'] = &$this->_cfg['theme']; $this->display('actor_detail.htm'); } } Lecms 3.0.4 错误

错误信息

错误位置

基本信息

程序流程

SQL

$_GET

$_POST

$_COOKIE

包含文件

其他信息