Fatal error: Uncaught Error: Call to a member function rowCount() on null in /home/genialflex/www/controller/controllerProdutos.php:35 Stack trace: #0 /home/genialflex/www/produtos.php(31): ControllerProdutos->listarProdutos(Object(PDO), '52d52a5134da9f4...', NULL, NULL, NULL) #1 {main} thrown in /home/genialflex/www/controller/controllerProdutos.php on line 35