SQLSTATE[08004] [1040] Too many connections
#0 [internal function]: PDO->__construct('mysql:host=loca...', 'phattrie', '@phattrie@123@', Array) #1 [internal function]: Phalcon\Db\Adapter\Pdo->connect(Array) #2 /home/phattrie/public_html/app/config/services.php(80): Phalcon\Db\Adapter\Pdo->__construct(Array) #3 [internal function]: Closure->{closure}() #4 [internal function]: Phalcon\Di\Service->resolve(NULL, Object(Phalcon\Di\FactoryDefault)) #5 [internal function]: Phalcon\Di->get('db', NULL) #6 [internal function]: Phalcon\Di->getShared('db') #7 [internal function]: Phalcon\Mvc\Model\Manager->_getConnection(Object(Common), NULL) #8 [internal function]: Phalcon\Mvc\Model\Manager->getReadConnection(Object(Common)) #9 [internal function]: Phalcon\Mvc\Model->getReadConnection() #10 [internal function]: Phalcon\Mvc\Model\MetaData\Strategy\Introspection->getMetaData(Object(Common), Object(Phalcon\Di\FactoryDefault)) #11 [internal function]: Phalcon\Mvc\Model\MetaData->_initialize(Object(Common), 'common-common', 'common', '') #12 [internal function]: Phalcon\Mvc\Model\MetaData->readMetaData(Object(Common)) #13 [internal function]: Phalcon\Mvc\Model\MetaData->hasAttribute(Object(Common), '_type') #14 [internal function]: Phalcon\Mvc\Model\Query->_getQualified(Array) #15 [internal function]: Phalcon\Mvc\Model\Query->_getExpression(Array, true) #16 [internal function]: Phalcon\Mvc\Model\Query->_getExpression(Array) #17 [internal function]: Phalcon\Mvc\Model\Query->_prepareSelect() #18 [internal function]: Phalcon\Mvc\Model\Query->parse() #19 [internal function]: Phalcon\Mvc\Model\Query->execute() #20 /home/phattrie/public_html/app/models/Common.php(46): Phalcon\Mvc\Model::find('_type=1') #21 /home/phattrie/public_html/app/config/router.php(26): Common::find('_type=1') #22 /home/phattrie/public_html/index.php(41): include('/home/phattrie/...') #23 {main}