Syntax error, unexpected token AND, near to ' visible='1' AND estado='A'', when parsing: SELECT [DocumentosEvaluaciones].* FROM [DocumentosEvaluaciones] WHERE id_documento = AND visible='1' AND estado='A' (116)
#0 [internal function]: Phalcon\Mvc\Model\Query->parse()
#1 [internal function]: Phalcon\Mvc\Model\Query->execute()
#2 /home/unca/web/unca.edu.pe/public_html/app/controllers/WebController.php(1090): Phalcon\Mvc\Model::find('id_documento = ...')
#3 [internal function]: WebController->web_documentosAction('plan-anual-copi...', 'plan-anual-copi...')
#4 [internal function]: Phalcon\Dispatcher->callActionMethod(Object(WebController), 'web_documentosA...', Array)
#5 [internal function]: Phalcon\Dispatcher->dispatch()
#6 /home/unca/web/unca.edu.pe/public_html/public/index.php(24): Phalcon\Mvc\Application->handle(NULL)
#7 {main}