Column 'doctrina' doesn't belong to any of the selected models (1), when preparing: SELECT [Models\LedIssue].* FROM [Models\LedIssue] WHERE ([idMagazine] = :APR0:) AND (id = doctrina-administrativa) ORDER BY publishDate is null desc, publishDate desc
#0 [internal function]: Phalcon\Mvc\Model\Query->_getQualified(Array)
#1 [internal function]: Phalcon\Mvc\Model\Query->_getExpression(Array, true)
#2 [internal function]: Phalcon\Mvc\Model\Query->_getExpression(Array, true)
#3 [internal function]: Phalcon\Mvc\Model\Query->_getExpression(Array, true)
#4 [internal function]: Phalcon\Mvc\Model\Query->_getExpression(Array, true)
#5 [internal function]: Phalcon\Mvc\Model\Query->_getExpression(Array)
#6 [internal function]: Phalcon\Mvc\Model\Query->_prepareSelect()
#7 [internal function]: Phalcon\Mvc\Model\Query->parse()
#8 [internal function]: Phalcon\Mvc\Model\Query->execute()
#9 [internal function]: Phalcon\Mvc\Model::find(Array)
#10 [internal function]: Phalcon\Mvc\Model\Manager->getRelationRecords(Object(Phalcon\Mvc\Model\Relation), NULL, Object(Models\LedMagazine), Array)
#11 [internal function]: Phalcon\Mvc\Model->_getRelatedRecords('Models\\LedMagaz...', 'getIssue', Array)
#12 /var/www/revistas.lefebvre.es/app/controllers/BaseController.php(180): Phalcon\Mvc\Model->__call('getIssue', Array)
#13 [internal function]: BaseController->onConstruct()
#14 [internal function]: Phalcon\Mvc\Controller->__construct()
#15 [internal function]: Phalcon\Di->get('OldController', NULL)
#16 [internal function]: Phalcon\Di->getShared('OldController')
#17 [internal function]: Phalcon\Dispatcher->dispatch()
#18 /var/www/revistas.lefebvre.es/html/index.php(50): Phalcon\Mvc\Application->handle()
#19 {main}