Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, string given in /home2/anatob29/public_html/loja/classe/classeBase/ProdutoBase.php:428
Stack trace:
#0 /home2/anatob29/public_html/loja/classe/Produto.php(46): ProdutoBase::buscarProdutosRelacionados('221', '19')
#1 /home2/anatob29/public_html/loja/classe/classeBase/ProdutoBase.php(243): Produto::montarArrayProdutoDetalhes(Array)
#2 /home2/anatob29/public_html/loja/classe/classeBase/ProdutoBase.php(235): ProdutoBase::montarArrayProduto(Array)
#3 /home2/anatob29/public_html/loja/classe/classeBase/ProdutoBase.php(222): ProdutoBase::retornarArrayProduto(Object(RecordsetMysql))
#4 /home2/anatob29/public_html/loja/classe/classeBase/ProdutoBase.php(176): ProdutoBase::buscaProdutos()
#5 /home2/anatob29/public_html/loja/controle/ProdutoControle.php(118): ProdutoBase::buscaProduto(221)
#6 /home2/anatob29/public_html/vendor/lotusti/modulo_sistemasite/carregarrota.php(30) : eval()'d code(1): ProdutoControle::produto_detalhe()
#7 /home2/anatob29/public_html/vendor/lotusti/modulo_sistemasite/carregarrota.php(30): eval()
#8 /home2/anatob29/public_html/vendor/lotusti/modulo_sistema/nucleo/Carregar.php(576): include('/home2/anatob29...')
#9 /home2/anatob29/public_html/vendor/lotusti/modulo_sistema/nucleo/Carregar.php(122): Carregar::incluir('vendor/lotusti/...', false)
#10 /home2/anatob29/public_html/index.php(12): Carregar::sistemaProjeto('carregarrota.ph...')
#11 {main}
thrown in /home2/anatob29/public_html/loja/classe/classeBase/ProdutoBase.php on line 428