升级后报错
https://www.liulangla.cn/bbs/show-3882.html
这个页面电脑端打开没有问题
手机就报错
求大佬指导
atConnection->query('SELECT `id` FROM `qb...', ['where_AND_url' => ['https://www.liulangl...', 2], 'where_AND_type' => [2, 1]], false, true) in Query.php line 227
atQuery->query('SELECT `id` FROM `qb...', ['where_AND_url' => ['https://www.liulangl...', 2], 'where_AND_type' => [2, 1]], false, true) in Query.php line 2436
atQuery->getPdo() in Query.php line 413
atQuery->value('id') in Shorturl.php line 30
atShorturl::getId('https://www.liulangl...', 2, 1, 0) in Wxapp.php line 150
atWxapp->wxapp_codeimg('https://www.liulangl...', 1, '', 0) in common.php line 77
at fun('wxapp@wxapp_codeimg', '/index.php/bbs/show-...', 1) in wap_1737b37226ec688bcac4241a7b1803cc.php line 767
at include('/home/ftp/h/hostsiai...') in File.php line 53
atFile->read('/home/ftp/h/hostsiai...', ['auto_tpl_base_layout' => '/home/ftp/h/hostsiai...', 'haibao' => 'content/haibao', 'admin' => true, ...]) in Template.php line 189
atTemplate->fetch('/home/ftp/h/hostsiai...', ['auto_tpl_base_layout' => '/home/ftp/h/hostsiai...', 'haibao' => 'content/haibao', 'admin' => true, ...], []) in Think.php line 86
atThink->fetch('/home/ftp/h/hostsiai...', ['auto_tpl_base_layout' => '/home/ftp/h/hostsiai...', 'haibao' => 'content/haibao', 'admin' => true, ...], []) in View.php line 163
atView->fetch('/home/ftp/h/hostsiai...', ['auto_tpl_base_layout' => '/home/ftp/h/hostsiai...', 'haibao' => 'content/haibao', 'admin' => true, ...], ['__ROOT__' => '', '__URL__' => '/index.php/bbs/conte...', '__STATIC__' => '/public/static', ...], []) in Controller.php line 120
atController->fetch('/home/ftp/h/hostsiai...', ['admin' => true, 'userdb' => ['idcardpic' => '', 'id' => '1', 'uid' => 1, ...], 'timestamp' => 1716412027, ...], [], []) in Base.php line 424
atBase->fetch('/home/ftp/h/hostsiai...', ['admin' => true, 'userdb' => ['idcardpic' => '', 'id' => '1', 'uid' => 1, ...], 'timestamp' => 1716412027, ...]) in C.php line 257
atC->show('3882') in Content.php line 27
atContent->show('3882')
atReflectionMethod->invokeArgs(object(Content), ['3882']) in App.php line 348
atApp::invokeMethod([object(Content), 'show'], []) in App.php line 612
atApp::module(['bbs', 'content', 'show'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 461
atApp::exec(['type' => 'module', 'module' => ['bbs', 'content', 'show'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
atApp::run() in start.php line 19
at require('/home/ftp/h/hostsiai...') in index.php line 29
SQLSTATE | 42S22 |
Driver Error Code | 1054 |
Driver Error Message | Unknown column 'wxapp_id' in 'where clause' |
Error Code | 10501 |
Error Message | SQLSTATE[42S22]: Column not found: 1054 Unknown column 'wxapp_id' in 'where clause' |
Error SQL | SELECT `id` FROM `qb_shorturl` WHERE `url` = 'https://www.liulangla.cn/index.php/bbs/show-3882.html'; AND `type` = 2 AND `wxapp_id` = '' LIMIT 1 |
type | mysql |
hostname | 127.0.0.1 |
database | hostsiai |
hostport | 3306 |
dsn | |
params | [] |
charset | utf8 |
prefix | qb_ |
debug | true |
deploy | 0 |
rw_separate | false |
master_num | 1 |
slave_no | |
fields_strict | false |
result_type | 2 |
resultset_type | array |
auto_timestamp | false |
datetime_format | Y-m-d H:i:s |
sql_explain | false |
builder | |
query | \think\db\Query |
break_reconnect | false |