Erro: SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client
Fatal error: Uncaught Error: Call to a member function query() on null in /home/tecadprojetos/webapps/ROOT/com/fabriciojf/persistence/PostDAO.class.php:328
Stack trace:
#0 /home/tecadprojetos/webapps/ROOT/com/fabriciojf/persistence/DaoGenerico.class.php(41): PostDAO->findForId('5')
#1 /home/tecadprojetos/webapps/ROOT/com/fabriciojf/action/LerPostAction.class.php(24): Dao::findForId('5', 'Post')
#2 /home/tecadprojetos/webapps/ROOT/ActionFactory.class.php(15): LerPostAction->execute()
#3 /home/tecadprojetos/webapps/ROOT/do.php(23): ActionFactory::sendAction('LerPost')
#4 /home/tecadprojetos/webapps/ROOT/do.php(14): FrontController::sendRedirect('LerPost')
#5 /home/tecadprojetos/webapps/ROOT/do.php(11): FrontController::main('LerPost')
#6 {main}
thrown in /home/tecadprojetos/webapps/ROOT/com/fabriciojf/persistence/PostDAO.class.php on line 328