Notice: Undefined index: articleShareContent
500 Internal Server Error - ContextErrorException
Stack Trace
-
in src/Topxia/WebBundle/Controller/ArticleController.php at line 144
if (empty($defaultSetting)){
$articleShareContent = '';
} else {
$articleShareContent = $defaultSetting['articleShareContent'];
}
$valuesToBeReplace = array('{{articletitle}}', '{{sitename}}');
-
at
ErrorHandler
->handleError
('8', 'Undefined index: articleShareContent', '/mnt/data/www/haoxuehaozhi/haoxuehaozhi/src/Topxia/WebBundle/Controller/ArticleController.php', '144', array('request' => object(Request), 'id' => '20', 'article' => array('id' => '20', 'title' => '2015年4月11日CMA中文考试现已开始接受注册', 'categoryId' => '3', 'tagIds' => array(), 'source' => '', 'sourceUrl' => '', 'publishedTime' => '1420448550', 'body' => '<p class="p" style="margin-left:0.0000pt;text-indent:0.0000pt;text-align:center;background:#FFFFFF;">
<strong><span style="font-size:24px;">2015年4月11日CMA中文考试现已开始接受注册</span></strong>
</p>
<p class="p" style="margin-left:0.0000pt;text-indent:0.0000pt;text-align:center;background:#FFFFFF;">
<strong><span style="font-size:24px;"><br />
</span></strong>
</p>
<p class="p" style="text-indent:0pt;background:#FFFFFF;">
<span style="font-size:18px;">2015年4月11日中文CMA考试现已接受注册,考试注册及考位预约的截止时间如下:</span>
</p>
<p class="p" style="text-indent:0pt;background:#FFFFFF;">
<span style="font-size:18px;">考试注册截止时间: IMA英文网站2015年3月4日晚12点(北京时间),外专局中文网站2015年3月4日下午5点(北京时间);</span>
</p>
<p class="p" style="text-indent:0pt;background:#FFFFFF;">
<span style="font-size:18px;">考位预约截止时间: 2015年3月10日晚12点(北京时间);</span><a href="http://www.imanet.org.cn/about/newView/1179"><span style="font-size:18px;">详情点击</span></a>
</p>
<p class="p" style="text-indent:0pt;background:#FFFFFF;">
<span style="font-size:18px;"> </span>
</p>
<p class="p" style="margin-left:0.0000pt;text-indent:0.0000pt;text-align:center;background:#FFFFFF;">
<span style="font-size:18px;">本活动相关政策最终解释权归IMA所有</span>
</p>', 'thumb' => '', 'originalThumb' => '', 'picture' => '', 'status' => 'published', 'hits' => '4849', 'featured' => '1', 'promoted' => '1', 'sticky' => '1', 'userId' => '2', 'createdTime' => '1420450063', 'updatedTime' => '1420450063', 'uploadFiles' => ''), 'setting' => array('name' => '资讯频道', 'pageNums' => '6'), 'conditions' => array('status' => 'published'), 'defaultSetting' => array('defaultCourseListPictureFileName' => 'courseListPicture4b43756a.png', 'defaultCourseListPicture' => '1', 'defaultCoursePictureFileName' => 'coursePicturec502fce0.png', 'defaultCoursePicture' => '1', 'defaultAvatar' => '1', 'defaultTeacherPicture' => '0', 'courseListPicture' => 'http://image.haoxuehaozhi.com/2015/1021/original/0f5ab60690b63c56cfc6cfcb1a6b572d.png', 'defaultTeacherPictureFileName' => 'teacherPicture53fe89b2.png', 'coursePicture' => 'http://image.haoxuehaozhi.com/2015/1021/original/4e31985a29d797a7ae4f70cea1e61220.png', 'defaultAvatarFileName' => 'avatarac941404.png', 'avatar' => 'http://image.haoxuehaozhi.com/2016/1123/original/5e3e7826758546c89e5bfdf0d30d6bc2.png', 'avatarsmall' => 'http://image.haoxuehaozhi.com/2016/1123/original/4571c0e19a134c249baea9b9bfb6a14b.png'), 'site' => array('name' => '好学好职网校', 'slogan' => '好学好职', 'url' => 'http://www.haoxuehaozhi.com', 'logo' => 'http://image.haoxuehaozhi.com/2018/1009/original/5b20e3122f1645b3a02aa483e87856b6.png', 'favicon' => 'http://qnother.haoxuehaozhi.com/2016/1101/e8c4bd347ef0412d95d98da888df010b.ico', 'qrweb' => 'http://image.haoxuehaozhi.com/2016/1101/original/2a4b8998d4a34135b5e7d0600c7315a6.png', 'qr' => 'http://image.haoxuehaozhi.com/2016/1101/original/2a4b8998d4a34135b5e7d0600c7315a6.png', 'weibo' => 'http://weibo.com/p/1006065542489345', 'seo_keywords' => '好学好职,好学好职网校,好学好职课程中心、电商技能课程,院校合作课程,电商资历架构,电商圈,新时代管理讲堂,慕课,IT技能课程', 'seo_description' => '好学好职是电子商务领域学习及就业一体化云服务平台,课程涵盖电商技能培训,IT技术、电商专本、科,电商工程硕士(GCT),电商高端研修、美国注册管理会计师(CMA)的综合性网校,我们将一如既往的努力,帮助各位同学贡献更优质的课程和以及就业服务。', 'master_email' => 'gongxt@sinotsing.org', 'copyright' => '北京中清研信息技术研究院有限公司', 'icp' => '京ICP备12035284号-10', 'analytics' => '<script type="text/javascript">
//cnzz
var cnzz_protocol = (("https:" == document.location.protocol) ? "https://" : "http://");
var cnzz1 = unescape("%3Cspan id='cnzz_stat_icon_1254562566'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s4.cnzz.com/z_stat.php%3Fid%3D1254562566%26show%3Dpic' type='text/javascript'%3E%3C/script%3E");
//document.write(cnzz1);
var cnzz2 = unescape("%3Cspan style='display:none' id='cnzz_stat_icon_1254825631'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s11.cnzz.com/z_stat.php%3Fid%3D1254825631%26show%3Dpic' type='text/javascript'%3E%3C/script%3E");
// document.write(cnzz2);
//百度
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?9abca33856a50e1c66260dd883c75bd0";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>', 'status' => 'open', 'closed_note' => '')))
in src/Topxia/WebBundle/Controller/ArticleController.php at line 144 - at ArticleController ->detailAction (object(Request), '20')
-
at
call_user_func_array
(array(object(ArticleController), 'detailAction'), array(object(Request), '20'))
in app/bootstrap.php.cache at line 2730 -
at
HttpKernel
->handleRaw
(object(Request), '1')
in app/bootstrap.php.cache at line 2689 -
at
HttpKernel
->handle
(object(Request), '1', true)
in app/bootstrap.php.cache at line 2843 -
at
ContainerAwareHttpKernel
->handle
(object(Request), '1', true)
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php at line 185 -
at
Kernel
->handle
(object(Request))
in web/app.php at line 67