Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

新版本导致的错误? #92

Open
xinjilianmeng opened this issue Mar 4, 2024 · 0 comments
Open

新版本导致的错误? #92

xinjilianmeng opened this issue Mar 4, 2024 · 0 comments

Comments

@xinjilianmeng
Copy link

xinjilianmeng commented Mar 4, 2024

SELECT SQL_CALC_FOUND_ROWS * FROM jz_classtype WHERE isshow=1 and (tid in (1) or tids like '%,1,%' ) ORDER BY orders desc,addtime desc,id desc LIMIT 10
Fatal error: Uncaught PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'tid' in 'where clause' in /www/wwwroot/peso.net/frphp/db/DBholder.php:57 Stack trace: #0 /www/wwwroot/peso.net/frphp/db/DBholder.php(57): PDO->query() #1 /www/wwwroot/peso.net/frphp/db/DBholder.php(74): frphp\db\DBholder->query() #2 /www/wwwroot/peso.net/frphp/lib/Model.php(264): frphp\db\DBholder->getArray() #3 /www/wwwroot/peso.net/frphp/extend/Page.php(335): frphp\lib\Model->findPage() #4 /www/wwwroot/peso.net/app/home/c/HomeController.php(249): frphp\extend\Page->go() #5 /www/wwwroot/peso.net/frphp/fr.php(335): app\home\c\HomeController->jizhi() #6 /www/wwwroot/peso.net/frphp/fr.php(94): frphp\frphp->route() #7 /www/wwwroot/peso.net/frphp/fr.php(520): frphp\frphp->run() #8 /www/wwwroot/peso.net/index.php(17): require('...') #9 {main} thrown in /www/wwwroot/peso.net/frphp/db/DBholder.php on line 57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant