ERROR: SQLSTATE[HY000] [1045] Access denied for user 'paraleg'@'localhost' (using password: YES)
Fatal error: Uncaught Error: Call to a member function prepare() on null in /home/paraleg/public_html/docalterador/App/Persistence/GeralDAO.php:214 Stack trace: #0 /home/paraleg/public_html/docalterador/App/Persistence/GeralDAO.php(18): App\Persistence\GeralDAO->pesquisarProdutos() #1 /home/paraleg/public_html/docalterador/App/Controller/Servicos.php(42): App\Persistence\GeralDAO->__construct() #2 /home/paraleg/public_html/docalterador/App/View/paginas/corpoServicos.php(4): App\Controller\Servicos->produtos() #3 /home/paraleg/public_html/docalterador/App/Src/Classes/ClassRender.php(46): include_once('/home/paraleg/p...') #4 /home/paraleg/public_html/docalterador/App/View/Layout.php(46): App\Src\Classes\ClassRender->AddMain() #5 /home/paraleg/public_html/docalterador/App/Src/Classes/ClassRender.php(22): include('/home/paraleg/p...') #6 /home/paraleg/public_html/docalterador/App/Controller/Servicos.php(25): App\Src\Classes\ClassRender->renderLayout() #7 /home/paraleg/public_html/docalterador/App/Src/Traits/TraitsUrlParser.p in /home/paraleg/public_html/docalterador/App/Persistence/GeralDAO.php on line 214