Fatal error: Uncaught Phalcon\Mvc\Model\Exception: Column 'category' doesn't belong to any of the selected models (1), when preparing: SELECT [Shared\Models\Article].* FROM [Shared\Models\Article] WHERE category = :categoryPermalink: AND permalink = :articlePermalink: AND isPublished = 1 LIMIT :APL0: in /home/running/apps/shared/daos/ArticleDao.php:128
Stack trace:
#0 [internal function]: Phalcon\Mvc\Model\Query->_getQualified()
#1 [internal function]: Phalcon\Mvc\Model\Query->_getExpression()
#2 [internal function]: Phalcon\Mvc\Model\Query->_getExpression()
#3 [internal function]: Phalcon\Mvc\Model\Query->_getExpression()
#4 [internal function]: Phalcon\Mvc\Model\Query->_getExpression()
#5 [internal function]: Phalcon\Mvc\Model\Query->_prepareSelect()
#6 [internal function]: Phalcon\Mvc\Model\Query->parse()
#7 [internal function]: Phalcon\Mvc\Model\Query->execute()
#8 /home/running/apps/shared/daos/ArticleDao.php(128): Phalcon\Mvc\Model::findFirst()
#9 /home/running/apps/shared/services/ArticleService.php(107): Shared\Da in /home/running/apps/shared/daos/ArticleDao.php on line 128