分享
  • 收藏
  • 举报
    X
    SQLSTATE[42S22]: Column not found: 1054 Unknown column 'status' in 'where clause'
    2538
    1

    新安装系统,cms模块报错


    [10501] PDOExceptionin Connection.php line 388

    SQLSTATE[42S22]: Column not found: 1054 Unknown column 'status' in 'where clause'

                $this->PDOStatement->execute();            // 调试结束            $this->debug(false);            // 返回结果集            return $this->getResult($pdo, $procedure);        } catch (\PDOException $e) {            if ($this->isBreak($e)) {                return $this->close()->query($sql, $bind, $master, $pdo);            }            throw new PDOException($e, $this->config, $this->getLastsql());        } catch (\Throwable $e) {            if ($this->isBreak($e)) {                return $this->close()->query($sql, $bind, $master, $pdo);            }            throw $e;        } catch (\Exception $e) {            if ($this->isBreak($e)) {                return $this->close()->query($sql, $bind, $master, $pdo);            }
           

    Call Stack

    1. in Connection.php line 388

    2. atConnection->query('SELECT * FROM `qb_cm...', ['where_AND_id' => ['17', 1]], false, false) in Query.php line 227

    3. atQuery->query('SELECT * FROM `qb_cm...', ['where_AND_id' => ['17', 1]], false, false) in Query.php line 2619

    4. atQuery->find() in C.php line 398

    5. atC::getMidById('17') in C.php line 163

    6. atC->show('17') in Content.php line 27

    7. atContent->show('17')

    8. atReflectionMethod->invokeArgs(object(Content), ['17']) in App.php line 348

    9. atApp::invokeMethod([object(Content), 'show'], []) in App.php line 612

    10. atApp::module(['cms', 'content', 'show'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 462

    11. atApp::exec(['type' => 'module', 'module' => ['cms', 'content', 'show'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139

    12. atApp::run() in start.php line 19

    13. at require('/home/wwwroot/www.75...') in index.php line 29



    求助怎么处理!!!

    5
    赏礼
    赏钱
    收藏
    点击回复
        全部留言
    • 1
    • admin 超级管理员 消费:3.04元 2020-04-26 09:42 09:426楼
      进后台升级一下.升级后.刷新一下后台
    0 赏钱 赏礼回复
    更多回复
        你可能感兴趣的主题
    恢复多功能编辑器
  • 3 1
  • 推荐内容
    扫一扫访问手机版
    请选择要切换的马甲:

     
    网页即时交流
    QQ咨询
    咨询热线
    020-28998648