Syntax error, unexpected token LIMIT, near to ' :APL0:', when parsing: SELECT [Webclients\Frontend\Models\Offer].* FROM [Webclients\Frontend\Models\Offer] WHERE customer_id = 31 and id = LIMIT :APL0: (129)
#0 [internal function]: Phalcon\Mvc\Model\Query\Lang::parsePHQL()
#1 [internal function]: Phalcon\Mvc\Model\Query->parse()
#2 [internal function]: Phalcon\Mvc\Model\Query->execute()
#3 /var/www/inventario/webclients/apps/frontend/models/Offer.php(179): Phalcon\Mvc\Model::findFirst()
#4 /var/www/inventario/webclients/apps/frontend/controllers/PromocionDetalleController.php(35): Webclients\Frontend\Models\Offer::findFirst()
#5 [internal function]: Webclients\Frontend\Controllers\PromocionDetalleController->indexAction()
#6 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->callActionMethod()
#7 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->dispatch()
#8 /var/www/inventario/webclients/public/index.php(48): Phalcon\Mvc\Application->handle()
#9 {main}