Erro: getConnection() SQLSTATE[HY000] [2002] Connection refused
Fatal error: Uncaught Error: Call to a member function query() on null in /home/commerce/public_html/dao/FormapagtoDao.class.php:1082
Stack trace:
#0 /home/commerce/public_html/controller/FormapagtoController.class.php(111): FormapagtoDao->listarOnde2('formapagto.loja...')
#1 /home/commerce/public_html/mediaplus/controller/Checkoutplus.class.php(4671): FormapagtoController->listarOnde2('formapagto.loja...')
#2 /home/commerce/public_html/loja/template/config-init.php(240): Checkoutplus->get_dadospagamento()
#3 /home/commerce/public_html/loja/produto.php(6): include('/home/commerce/...')
#4 /home/commerce/public_html/index.php(804): require('/home/commerce/...')
#5 {main}
thrown in /home/commerce/public_html/dao/FormapagtoDao.class.php on line 1082