Erro: SQLSTATE[HY000] [2049] Connection using old (pre-4.1.1) authentication protocol refused (client option 'secure_auth' enabled)
Fatal error: Uncaught Error: Call to a member function query() on null in /home/darc/darc/userhtml/com/fabriciojf/persistence/ConfigDAO.class.php:166 Stack trace: #0 /home/darc/darc/userhtml/com/fabriciojf/action/HomeAction.class.php(24): ConfigDAO->findForParametro('page-inicial') #1 /home/darc/darc/userhtml/ActionFactory.class.php(15): HomeAction->execute() #2 /home/darc/darc/userhtml/do.php(21): ActionFactory::sendAction('Home') #3 /home/darc/darc/userhtml/index.php(5): FrontController::sendRedirect('Home') #4 {main} thrown in /home/darc/darc/userhtml/com/fabriciojf/persistence/ConfigDAO.class.php on line 166