System Error

[8] ErrorException in 43f5ab2c45fe50a13aad7bfadb835e07.php line 700

未定义变量: index_articles

  1. </a>
  2. <a href="javascript:void(0)">
  3. <i class="iconfont" style="background:#57c15b">&#xe74f;</i>
  4. <p class="vip_item_text"><?php echo \think\Lang::get('secure_transaction'); ?></p>
  5. </a>
  6. <div class="clear"></div>
  7. </div>
  8. </div>
  9. <div class="notice_list">
  10. <?php foreach($index_articles as $i_a): ?>
  11. <a title="<?php echo $i_a['article_title']; ?>" href="<?php if($i_a['article_url'] !=''): ?><?php echo $i_a['article_url']; else: ?><?php echo url('Article/show',['article_id'=>$i_a['article_id']]); endif; ?>" target="_blank">
  12. <span><?php echo $i_a['article_title']; ?></span>
  13. </a>
  14. <?php endforeach; ?>
  15. </div>
  16. </div>
  17. </div>
  18. </div>
  19. <!--HomeFocusLayout End-->

Call Stack

  1. in 43f5ab2c45fe50a13aad7bfadb835e07.php line 700
  2. at Error::appError(8, 'Undefined variable: ...', '/www/wwwroot/haiwaic...', 700, ['cacheFile' => '/www/wwwroot/haiwaic...', 'vars' => ['countrySide' => '2', 'show_article' => ['notice' => ['ac_id' => 1, 'ac_code' => 'notice', 'ac_name' => '商城公告', ...]], 'article_list' => [['ac_id' => 4, 'ac_code' => 'payment', 'ac_name' => '帮助中心', ...], ['ac_id' => 5, 'ac_code' => 'sold', 'ac_name' => '支付方式', ...], ['ac_id' => 7, 'ac_code' => 'about', 'ac_name' => '关于我们', ...], ...], ...], 'countrySide' => '2', ...]) in 43f5ab2c45fe50a13aad7bfadb835e07.php line 700
  3. at include('/www/wwwroot/haiwaic...') in File.php line 53
  4. at File->read('/www/wwwroot/haiwaic...', ['countrySide' => '2', 'show_article' => ['notice' => ['ac_id' => 1, 'ac_code' => 'notice', 'ac_name' => '商城公告', ...]], 'article_list' => [['ac_id' => 4, 'ac_code' => 'payment', 'ac_name' => '帮助中心', ...], ['ac_id' => 5, 'ac_code' => 'sold', 'ac_name' => '支付方式', ...], ['ac_id' => 7, 'ac_code' => 'about', 'ac_name' => '关于我们', ...], ...], ...]) in Template.php line 188
  5. at Template->fetch('/www/wwwroot/haiwaic...', ['countrySide' => '2', 'show_article' => ['notice' => ['ac_id' => 1, 'ac_code' => 'notice', 'ac_name' => '商城公告', ...]], 'article_list' => [['ac_id' => 4, 'ac_code' => 'payment', 'ac_name' => '帮助中心', ...], ['ac_id' => 5, 'ac_code' => 'sold', 'ac_name' => '支付方式', ...], ['ac_id' => 7, 'ac_code' => 'about', 'ac_name' => '关于我们', ...], ...], ...], []) in Think.php line 86
  6. at Think->fetch('/www/wwwroot/haiwaic...', ['countrySide' => '2', 'show_article' => ['notice' => ['ac_id' => 1, 'ac_code' => 'notice', 'ac_name' => '商城公告', ...]], 'article_list' => [['ac_id' => 4, 'ac_code' => 'payment', 'ac_name' => '帮助中心', ...], ['ac_id' => 5, 'ac_code' => 'sold', 'ac_name' => '支付方式', ...], ['ac_id' => 7, 'ac_code' => 'about', 'ac_name' => '关于我们', ...], ...], ...], []) in View.php line 163
  7. at View->fetch('default/mall/search/...', ['countrySide' => '2', 'show_article' => ['notice' => ['ac_id' => 1, 'ac_code' => 'notice', 'ac_name' => '商城公告', ...]], 'article_list' => [['ac_id' => 4, 'ac_code' => 'payment', 'ac_name' => '帮助中心', ...], ['ac_id' => 5, 'ac_code' => 'sold', 'ac_name' => '支付方式', ...], ['ac_id' => 7, 'ac_code' => 'about', 'ac_name' => '关于我们', ...], ...], ...], ['__ROOT__' => '', '__URL__' => '/home/search', '__STATIC__' => '/static', ...], []) in Controller.php line 120
  8. at Controller->fetch('default/mall/search/...') in Search.php line 219
  9. at Search->index()
  10. at ReflectionMethod->invokeArgs(object(Search), []) in App.php line 343
  11. at App::invokeMethod([object(Search), 'index'], []) in App.php line 611
  12. at App::module(['home', 'search', 'index'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 456
  13. at App::exec(['type' => 'module', 'module' => ['home', 'search', 'index']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  14. at App::run() in start.php line 19
  15. at require('/www/wwwroot/haiwaic...') in index.php line 21

Environment Variables

GET Data

cate_id
680
key
2
order
2
POST Data
empty
Files
empty

Cookies

cart_goods_num
0

Session

home

Fatal error: Uncaught think\exception\ErrorException: A non well formed numeric value encountered in /www/wwwroot/haiwaichongzhi.com.cn/thinkphp/library/think/Model.php:516 Stack trace: #0 [internal function]: think\Error::appError(8, 'A non well form...', '/www/wwwroot/ha...', 516, Array) #1 /www/wwwroot/haiwaichongzhi.com.cn/thinkphp/library/think/Model.php(516): date('Y-m-d H:i:s', '2020-05-17 16:4...') #2 /www/wwwroot/haiwaichongzhi.com.cn/thinkphp/library/think/Model.php(615): think\Model->formatDateTime('2020-05-17 16:4...', 'Y-m-d H:i:s') #3 /www/wwwroot/haiwaichongzhi.com.cn/thinkphp/library/think/Model.php(883): think\Model->getAttr('create_time') #4 /www/wwwroot/haiwaichongzhi.com.cn/thinkphp/library/think/Model.php(2273): think\Model->toArray() #5 [internal function]: think\Model->jsonSerialize() #6 /www/wwwroot/haiwaichongzhi.com.cn/thinkphp/tpl/think_exception.tpl(423): json_encode(Array, 128) #7 /www/wwwroot/haiwaichongzhi.com.cn/thinkphp/library/think/exception/Handle.php(178): include('/www/wwwroot/ha...') in /www/wwwroot/haiwaichongzhi.com.cn/thinkphp/library/think/Model.php on line 516

[1] ErrorException in Model.php line 516

Uncaught think\exception\ErrorException: A non well formed numeric value encountered in /www/wwwroot/haiwaichongzhi.com.cn/thinkphp/library/think/Model.php:516
Stack trace:
#0 [internal function]: think\Error::appError(8, 'A non well form...', '/www/wwwroot/ha...', 516, Array)
#1 /www/wwwroot/haiwaichongzhi.com.cn/thinkphp/library/think/Model.php(516): date('Y-m-d H:i:s', '2020-05-17 16:4...')
#2 /www/wwwroot/haiwaichongzhi.com.cn/thinkphp/library/think/Model.php(615): think\Model->formatDateTime('2020-05-17 16:4...', 'Y-m-d H:i:s')
#3 /www/wwwroot/haiwaichongzhi.com.cn/thinkphp/library/think/Model.php(883): think\Model->getAttr('create_time')
#4 /www/wwwroot/haiwaichongzhi.com.cn/thinkphp/library/think/Model.php(2273): think\Model->toArray()
#5 [internal function]: think\Model->jsonSerialize()
#6 /www/wwwroot/haiwaichongzhi.com.cn/thinkphp/tpl/think_exception.tpl(423): json_encode(Array, 128)
#7 /www/wwwroot/haiwaichongzhi.com.cn/thinkphp/library/think/exception/Handle.php(178): include('/www/wwwroot/ha...')

  1. * @param mixed $format 日期格式
  2. * @param bool $timestamp 是否进行时间戳转换
  3. * @return mixed
  4. */
  5. protected function formatDateTime($time, $format, $timestamp = false)
  6. {
  7. if (false !== strpos($format, '\\')) {
  8. $time = new $format($time);
  9. } elseif (!$timestamp && false !== $format) {
  10. $time = date($format, $time);
  11. }
  12. return $time;
  13. }
  14. /**
  15. * 数据写入 类型转换
  16. * @access public
  17. * @param mixed $value 值
  18. * @param string|array $type 要转换的类型

Call Stack

  1. in Model.php line 516
  2. at Error::appShutdown()

Environment Variables

GET Data

cate_id
680
key
2
order
2
POST Data
empty
Files
empty

Cookies

cart_goods_num
0

Session

home

Fatal error: Uncaught think\exception\ErrorException: A non well formed numeric value encountered in /www/wwwroot/haiwaichongzhi.com.cn/thinkphp/library/think/Model.php:516 Stack trace: #0 [internal function]: think\Error::appError(8, 'A non well form...', '/www/wwwroot/ha...', 516, Array) #1 /www/wwwroot/haiwaichongzhi.com.cn/thinkphp/library/think/Model.php(516): date('Y-m-d H:i:s', '2020-05-17 16:4...') #2 /www/wwwroot/haiwaichongzhi.com.cn/thinkphp/library/think/Model.php(615): think\Model->formatDateTime('2020-05-17 16:4...', 'Y-m-d H:i:s') #3 /www/wwwroot/haiwaichongzhi.com.cn/thinkphp/library/think/Model.php(883): think\Model->getAttr('create_time') #4 /www/wwwroot/haiwaichongzhi.com.cn/thinkphp/library/think/Model.php(2273): think\Model->toArray() #5 [internal function]: think\Model->jsonSerialize() #6 /www/wwwroot/haiwaichongzhi.com.cn/thinkphp/tpl/think_exception.tpl(423): json_encode(Array, 128) #7 /www/wwwroot/haiwaichongzhi.com.cn/thinkphp/library/think/exception/Handle.php(178): include('/www/wwwroot/ha...') in /www/wwwroot/haiwaichongzhi.com.cn/thinkphp/library/think/Model.php on line 516