我的位置: 首页 > >

类型:
    Syntax error, unexpected token ORDER, near to ' BY sort DESC LIMIT :APL0: OFFSET :APL1:', when parsing: SELECT [Multiple\Frontend\Models\Common_Category].* FROM [Multiple\Frontend\Models\Common_Category] WHERE tid= ORDER BY sort DESC LIMIT :APL0: OFFSET :APL1: (156)
    #0 [internal function]: Phalcon\Mvc\Model\Query->parse()
    #1 [internal function]: Phalcon\Mvc\Model\Query->execute()
    #2 /home/wwwroot/www.wxqw.com/apps/frontend/models/Common_Category.php(52): Phalcon\Mvc\Model::find(Array)
    #3 /home/wwwroot/www.wxqw.com/apps/library/Template/Tpl.php(634): Multiple\Frontend\Models\Common_Category->getDataByWhere('tid=', 'sort DESC', 100)
    #4 /home/wwwroot/www.wxqw.com/cache/compiled-templates/%%home%%wwwroot%%www.wxqw.com%%apps%%frontend%%views%%huiweixin%%lanmu.html.compiled(81): Template\Tpl::getHuiweixinCateogry(100, '0', 'tid=', 0, 'sort DESC', Array)
    #5 [internal function]: unknown()
    #6 [internal function]: Phalcon\Mvc\View\Engine\Volt->render('/home/wwwroot/w...', Array, true)
    #7 [internal function]: Phalcon\Mvc\View->_engineRender(Array, 'lanmu', true, true, NULL)
    #8 [internal function]: Phalcon\Mvc\View->render('article', 'huiweixin')
    #9 /home/wwwroot/www.wxqw.com/public/index.php(65): Phalcon\Mvc\Application->handle()
    #10 /home/wwwroot/www.wxqw.com/public/index.php(72): Application->main()
    #11 {main}