SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for integer: "" LINE 1: ...onal_area" WHERE "view_personal_area"."id_area" = '' AND "vi... ^
#0 [internal function]: PDOStatement->execute()
#1 [internal function]: Phalcon\Db\Adapter\Pdo->executePrepared(Object(PDOStatement), Array, Array)
#2 [internal function]: Phalcon\Db\Adapter\Pdo->query('SELECT "view_pe...', Array, Array)
#3 [internal function]: Phalcon\Mvc\Model\Query->_executeSelect(Array, Array, Array)
#4 [internal function]: Phalcon\Mvc\Model\Query->execute()
#5 /home/unaaa/web/unaaa.edu.pe/public_html/app/controllers/WebController.php(891): Phalcon\Mvc\Model::findFirst('id_area='' AND ...')
#6 [internal function]: WebController->areasAction('proyectos-inves...', 'proyectos-inves...')
#7 [internal function]: Phalcon\Dispatcher->callActionMethod(Object(WebController), 'areasAction', Array)
#8 [internal function]: Phalcon\Dispatcher->dispatch()
#9 /home/unaaa/web/unaaa.edu.pe/public_html/public/index.php(27): Phalcon\Mvc\Application->handle(NULL)
#10 {main}