Syntax error, unexpected token AND, near to ' status = 0 ORDER BY company_id desc LIMIT :APL0:', when parsing: SELECT [TblCompany].* FROM [TblCompany] WHERE company_id != and status = 0 ORDER BY company_id desc LIMIT :APL0: (114)
#0 [internal function]: Phalcon\Mvc\Model\Query->parse()
#1 [internal function]: Phalcon\Mvc\Model\Query->execute()
#2 /home/pho583fb/public_html/app/models/TblCompany.php(166): Phalcon\Mvc\Model::find(Array)
#3 /home/pho583fb/public_html/app/controllers/DoanhnghiepController.php(128): TblCompany::find(Array)
#4 [internal function]: doanhnghiepController->detailAction('etgroup-nha-san...')
#5 [internal function]: Phalcon\Dispatcher->callActionMethod(Object(doanhnghiepController), 'detailAction', Array)
#6 [internal function]: Phalcon\Dispatcher->dispatch()
#7 /home/pho583fb/public_html/public/index.php(37): Phalcon\Mvc\Application->handle()
#8 {main}