Fatal error: Uncaught Error: Call to a member function prepare() on string in /var/www/html/abcgifts.com.br/web/class/class.php:24 Stack trace: #0 /var/www/html/abcgifts.com.br/web/class/class.php(42): consulta->pegaDb('SELECT * FROM p...', Array) #1 /var/www/html/abcgifts.com.br/web/pages/produto.php(3): consulta->select('SELECT * FROM p...', Array) #2 /var/www/html/abcgifts.com.br/web/index.php(16): include('/var/www/html/a...') #3 {main} thrown in /var/www/html/abcgifts.com.br/web/class/class.php on line 24