Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Produto has a deprecated constructor in /home/storage/3/9a/8c/oficinainforma/public_html/editora/classes/classProduto.php on line 2

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Fabricante has a deprecated constructor in /home/storage/3/9a/8c/oficinainforma/public_html/editora/classes/classFabricante.php on line 2

Fatal error: Uncaught Error: Call to undefined function mysql_query() in /home/storage/3/9a/8c/oficinainforma/public_html/editora/classes/classProduto.php:94 Stack trace: #0 /home/storage/3/9a/8c/oficinainforma/public_html/editora/classes/classProduto.php(45): Produto->getRegProduto(216) #1 /home/storage/3/9a/8c/oficinainforma/public_html/editora/loja/produto-single.php(19): Produto->Produto(216, Object(mysqli)) #2 {main} thrown in /home/storage/3/9a/8c/oficinainforma/public_html/editora/classes/classProduto.php on line 94