Fatal error: Uncaught Error: Call to a member function fetchAll() on boolean in C:\www\pdo-alura\classes\Categoria.php:14 Stack trace: #0 C:\www\pdo-alura\categorias.php(4): Categoria->listar() #1 {main} thrown in C:\www\pdo-alura\classes\Categoria.php on line 14
quando eu tento acessar categorias...