Notice: Trying to access array offset on value of type bool in /home/jpboutiq/public_html/loja/tdecommerce/produtodetalhe.php on line 47

Notice: Trying to access array offset on value of type bool in /home/jpboutiq/public_html/loja/tdecommerce/produtodetalhe.php on line 47

Fatal error: Uncaught Error: Call to a member function fetch() on bool in /home/jpboutiq/public_html/loja/tdecommerce/funcoes.php:216 Stack trace: #0 /home/jpboutiq/public_html/loja/tdecommerce/produtodetalhe.php(47): getSRCImagemPrincipal(NULL, NULL) #1 /home/jpboutiq/public_html/loja/tdecommerce/content.php(8): include('/home/jpboutiq/...') #2 /home/jpboutiq/public_html/loja/tdecommerce/template.php(83): include('/home/jpboutiq/...') #3 /home/jpboutiq/public_html/loja/tdecommerce/index.php(187): include('/home/jpboutiq/...') #4 {main} thrown in /home/jpboutiq/public_html/loja/tdecommerce/funcoes.php on line 216