WordPress.org

Forums

WooCommerce Correios
[resolved] Erro após atualização (4 posts)

  1. Wendell Christian
    Member
    Posted 2 years ago #

    Boa tarde Cláudio,

    Atualizei o WordPress para 3.9.1 e o Plugin para a versão 2.0.2 e agora me aparece o seguinte erro na página do carrinho:

    Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 1: parser error : Extra content at the end of the document in /(diretorio)/plugins/woocommerce-correios/includes/class-wc-correios-connect.php on line 479

    Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: 99</Erro><MsgErro>Input string was not in a correct format.</MsgErro></cServico> in /(diretorio)/plugins/woocommerce-correios/includes/class-wc-correios-connect.php on line 479

    Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /(diretorio)/plugins/woocommerce-correios/includes/class-wc-correios-connect.php on line 479

    Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /(diretorio)/plugins/woocommerce-correios/includes/class-wc-correios-connect.php:479 Stack trace: #0 /(diretorio)/plugins/woocommerce-correios/includes/class-wc-correios-connect.php(479): SimpleXMLElement->__construct('<cServico><Codi...', 16384) #1 /(diretorio)/plugins/woocommerce-correios/includes/class-wc-correios-shipping.php(386): WC_Correios_Connect->get_shipping() #2 /(diretorio)/plugins/woocommerce-correios/includes/class-wc-correios-shipping.php(410): WC_Correios_Shipping->correios_calculate(Array) #3 /(diretorio)/plugins/woocommerce/includes/class-wc-shipping.php(357): WC_Correios_Shipping->calculate_shipping(Array) #4 /(diretorio)/plugins/woocommerce/includes/class-wc-shipping.php(248): WC_Shipping->calculate_shipping_for_package(Array) #5 /(diretorio) in /(diretorio)/plugins/woocommerce-correios/includes/class-wc-correios-connect.php on line 479

    https://wordpress.org/plugins/woocommerce-correios/

  2. Claudio Sanches
    Member
    Plugin Author

    Posted 2 years ago #

    Ativa o log do plugin, tenta cotar frete e me manda o conteúdo do log usando o pastebin.com

  3. Wendell Christian
    Member
    Posted 2 years ago #

    Claudio,

    Fui efetuar um teste hoje e o erro não aconteceu, acredito que o erro era nos próprios Correios pois eu não efetuei nenhuma mudança. Mas contudo obrigado pelo rápido suporte.

  4. Claudio Sanches
    Member
    Plugin Author

    Posted 2 years ago #

    Sem problema.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce Correios
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.