Hi,出错了!

获取表`baidu_keywords`信息发生错误

错误位置

/www/wwwroot/www.xiaoshuo688.com/kuxin/model.php  LINE: 297

287                 $fields = [];
288                 if ($tableInfo = $this->db()->fetchAll("SHOW FIELDS FROM {$tablename}")) {
289                     foreach ($tableInfo as $v) {
290                         if ($v['Key'] == 'PRI')
291                             $pks[] = strtolower($v['Field']);
292                         $fields[strtolower($v['Field'])] = strpos($v['Type'], 'int') !== false;
293                     }
294                     DI::Cache()->set('tablefield_' . $tablename, $fields);
295                     return $fields;
296                 } else {
297                     trigger_error('获取表' . $tablename . '信息发生错误 ', E_USER_ERROR);
298                     return false;
299                 }
300             });
301             Registry::set('tablefield_' . $tablename, $fields);
302             return $fields;
303         });
304     }
305 
306     public function getPk(): string
307     {
TRACE
#0  include() called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/response.php:332]
#1  Kuxin\Response::error(获取表`baidu_keywords`信息发生错误 , /www/wwwroot/www.xiaoshuo688.com/kuxin/model.php, 297) called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/kuxin.php:188]
#2  Kuxin\Kuxin::error(256, 获取表`baidu_keywords`信息发生错误 , /www/wwwroot/www.xiaoshuo688.com/kuxin/model.php, 297, Array ([tablename] => `baidu_keywords`,[fields] => Array (),[tableInfo] => ))
#3  trigger_error(获取表`baidu_keywords`信息发生错误 , 256) called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/model.php:297]
#4  Kuxin\Model->Kuxin\{closure}(tablefield_`baidu_keywords`) called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/cache.php:81]
#5  Kuxin\Cache->debugGet(tablefield_`baidu_keywords`, Closure Object ()) called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/model.php:300]
#6  Kuxin\Model->Kuxin\{closure}(tablefield_`baidu_keywords`) called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/registry.php:32]
#7  Kuxin\Registry::get(tablefield_`baidu_keywords`, Closure Object ()) called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/model.php:303]
#8  Kuxin\Model->getTableField(`baidu_keywords`) called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/model.php:691]
#9  Kuxin\Model->parseWhereCondition(Array ([0] => Array ([novel_id] => 831608))) called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/model.php:683]
#10 Kuxin\Model->parseWhere() called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/model.php:482]
#11 Kuxin\Model->select() called at [/www/wwwroot/www.xiaoshuo688.com/app/model/keywords/baidu.php:19]
#12 App\Model\Keywords\Baidu::id(831608) called at [/www/wwwroot/www.xiaoshuo688.com/app/model/keywords/tags.php:28]
#13 App\Model\Keywords\Tags::Baidu(831608) called at [/www/wwwroot/www.xiaoshuo688.com/app/model/keywords/tags.php:-1073741825]
#14 App\Model\Keywords\Tags::Novelname(831608) called at [/www/wwwroot/www.xiaoshuo688.com/app/model/novel/novel.php:245]
#15 App\Model\Novel\Novel->getFullInfo(831608, Array ([0] => author,[1] => category,[2] => last,[3] => data,[4] => source,[5] => tag)) called at [/www/wwwroot/www.xiaoshuo688.com/app/improve/web.php:313]
#16 App\Improve\Web->getNovelInfo() called at [/www/wwwroot/www.xiaoshuo688.com/app/controller/novel/chapter.php:29]
#17 App\Controller\Novel\Chapter->read() called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/kuxin.php:109]
#18 Kuxin\Kuxin::start() called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/kuxin.php:202]
#19 include(/www/wwwroot/www.xiaoshuo688.com/kuxin/kuxin.php) called at [/www/wwwroot/www.xiaoshuo688.com/public/index.php:34]
文件加载
/www/wwwroot/www.xiaoshuo688.com/public/index.php
/www/wwwroot/www.xiaoshuo688.com/kuxin/kuxin.php
/www/wwwroot/www.xiaoshuo688.com/kuxin/loader.php
/www/wwwroot/www.xiaoshuo688.com/kuxin/config.php
/www/wwwroot/www.xiaoshuo688.com/app/config/kuxin.php
/www/wwwroot/www.xiaoshuo688.com/env.php
/www/wwwroot/www.xiaoshuo688.com/kuxin/helper/arr.php
/www/wwwroot/www.xiaoshuo688.com/app/config/const.php
/www/wwwroot/www.xiaoshuo688.com/kuxin/registry.php
/www/wwwroot/www.xiaoshuo688.com/app/helper.php
/www/wwwroot/www.xiaoshuo688.com/app/version.php
/www/wwwroot/www.xiaoshuo688.com/kuxin/plugin.php
/www/wwwroot/www.xiaoshuo688.com/kuxin/helper/serialize.php
/www/wwwroot/www.xiaoshuo688.com/app/plugin/configcache/configcache.php
/www/wwwroot/www.xiaoshuo688.com/kuxin/di.php
/www/wwwroot/www.xiaoshuo688.com/kuxin/cache.php
/www/wwwroot/www.xiaoshuo688.com/kuxin/cache/memcached.php
/www/wwwroot/www.xiaoshuo688.com/kuxin/db/mysql.php
/www/wwwroot/www.xiaoshuo688.com/kuxin/helper/json.php
/www/wwwroot/www.xiaoshuo688.com/kuxin/router.php
/www/wwwroot/www.xiaoshuo688.com/app/controller/novel/chapter.php
/www/wwwroot/www.xiaoshuo688.com/app/improve/web.php
/www/wwwroot/www.xiaoshuo688.com/kuxin/controller.php
/www/wwwroot/www.xiaoshuo688.com/app/model/stat/stat.php
/www/wwwroot/www.xiaoshuo688.com/app/improve/model.php
/www/wwwroot/www.xiaoshuo688.com/kuxin/model.php
/www/wwwroot/www.xiaoshuo688.com/kuxin/traits/instance.php
/www/wwwroot/www.xiaoshuo688.com/app/model/spider.php
/www/wwwroot/www.xiaoshuo688.com/app/model/user/user.php
/www/wwwroot/www.xiaoshuo688.com/kuxin/cookie.php
/www/wwwroot/www.xiaoshuo688.com/kuxin/input.php
/www/wwwroot/www.xiaoshuo688.com/kuxin/view.php
/www/wwwroot/www.xiaoshuo688.com/app/component/domain.php
/www/wwwroot/www.xiaoshuo688.com/kuxin/request.php
/www/wwwroot/www.xiaoshuo688.com/kuxin/filter.php
/www/wwwroot/www.xiaoshuo688.com/app/model/novel/novel.php
/www/wwwroot/www.xiaoshuo688.com/app/provider/novel.php
/www/wwwroot/www.xiaoshuo688.com/kuxin/storage.php
/www/wwwroot/www.xiaoshuo688.com/kuxin/storage/file.php
/www/wwwroot/www.xiaoshuo688.com/app/model/keywords/tags.php
/www/wwwroot/www.xiaoshuo688.com/app/model/keywords/baidu.php
/www/wwwroot/www.xiaoshuo688.com/kuxin/response.php
/www/wwwroot/www.xiaoshuo688.com/kuxin/tpl/error.php