Fatal error: Uncaught PDOException: PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/maltaimoveis/www/core/Database.php:10
Stack trace:
#0 /home/maltaimoveis/www/core/Database.php(10): PDO->__construct('mysql:dbname=ma...', 'malta', 'Unsoft2015')
#1 /home/maltaimoveis/www/core/Model.php(18): core\Database::getInstance()
#2 /home/maltaimoveis/www/core/Model.php(13): core\Model::_checkH()
#3 /home/maltaimoveis/www/src/models/ImovelDAO.php(17): core\Model->__construct()
#4 /home/maltaimoveis/www/src/controllers/ImovelController.php(422): src\models\ImovelDAO->__construct(Object(src\handlers\Imovel))
#5 /home/maltaimoveis/www/core/RouterBase.php(56): src\controllers\ImovelController->detalhe(Array)
#6 /home/maltaimoveis/www/public/index.php(8): core\RouterBase->run(Array)
#7 {main}
Next PDOException: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/maltaimoveis/www/core/Database.php:10
Stack trace:
#0 /home/maltaimoveis in /home/maltaimoveis/www/core/Database.php on line 10