Problema no chekout
-
Estou com um erro na hora que vai finalizar a compra, aparece a seguinte mensagem “Internal Server Error” e n?o finaliza a compra.
Desativei o puglin do Melhor Envio e deixei o dos Correios normal, e funcionou perfeitamente.
Olhei nos logs com o puglin do Melhor Envio ativo, e me deparei com isso:
[10-Aug-2020 13:47:46 UTC] PHP Fatal error: Uncaught Error: Cannot use object of type stdClass as array in /home2/dlinf598/public_html/oculoshorizon.com.br/wp-content/plugins/melhor-envio-cotacao/Services/OrderQuotationService.php:82
Stack trace:
#0 /home2/dlinf598/public_html/oculoshorizon.com.br/wp-content/plugins/melhor-envio-cotacao/Services/OrderQuotationService.php(53): Services\OrderQuotationService->setKeyAsCodeService(Array)
#1 /home2/dlinf598/public_html/oculoshorizon.com.br/wp-content/plugins/melhor-envio-cotacao/Services/QuotationService.php(27): Services\OrderQuotationService->saveQuotation(1458, Array)
#2 /home2/dlinf598/public_html/oculoshorizon.com.br/wp-content/plugins/melhor-envio-cotacao/Controllers/CotationController.php(24): Services\QuotationService->calculateQuotationByOrderId(1458)
#3 /home2/dlinf598/public_html/oculoshorizon.com.br/wp-includes/class-wp-hook.php(289): Controllers\CotationController->makeCotationOrder(1458)
#4 /home2/dlinf598/public_html/oculoshorizon.com.br/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filt in /home2/dlinf598/public_html/oculoshorizon.com.br/wp-content/plugins/melhor-envio-cotacao/Services/OrderQuotationService.php on line 82Aguardo retorno.
The page I need help with: [log in to see the link]
- The topic ‘Problema no chekout’ is closed to new replies.