Fatal error: Uncaught Error: Call to a member function setEventsManager() on null in /var/www/html/app/config/services_db.php:41
Stack trace:
#0 [internal function]: Closure->{closure}()
#1 [internal function]: Phalcon\Di\Service->resolve(NULL, Object(Phalcon\Di\FactoryDefault))
#2 [internal function]: Phalcon\Di->get('db', NULL)
#3 [internal function]: Phalcon\Di->getShared('db')
#4 [internal function]: Phalcon\Mvc\Model\Manager->_getConnection(Object(Iws\Models\CmsPage), Array)
#5 [internal function]: Phalcon\Mvc\Model\Manager->getReadConnection(Object(Iws\Models\CmsPage))
#6 [internal function]: Phalcon\Mvc\Model->getReadConnection()
#7 [internal function]: Phalcon\Mvc\Model\MetaData\Strategy\Introspection->getMetaData(Object(Iws\Models\CmsPage), Object(Phalcon\Di\FactoryDefault))
#8 [internal function]: Phalcon\Mvc\Model\MetaData->_initialize(Object(Iws\Models\CmsPage), 'iws\\models\\cmsp...', 'cms_page', '')
#9 [internal function]: Phalcon\Mvc\Model\MetaData->writeMetaDataIndex(Object(Iws\Models\CmsPage), 11, Array)
in /var/www/html/app/config/services_db.php on line 41