WooFrance Dépannage et support WordPress WooCommerce Forums Forum de Support WooCommerce WooCommerce – “ERREUR LORS DU TRAITEMENT DE LA COMMANDE. VEUILLEZ ESSAYER DE NOUVEAU.”

3 sujets de 1 à 3 (sur un total de 3)
  • Auteur
    Messages
  • #445696
    faustine
    Participant
    Points: 13 pts
    Bonjour,
    J’ai un soucis avec les commandes sur un site. Le message “ERREUR LORS DU TRAITEMENT DE LA COMMANDE. VEUILLEZ ESSAYER DE NOUVEAU.” s’affiche pour tous et ne permet pas le paiement en ligne. Avant cela marchait très bien.
    Version PHP 7.4 stable
    Version wp et woocommerce à jour + toutes les extensions à jour
    Thème à jour
    Rapports WooCommerce : aucune erreur à corriger

    Je n’arrive pas à voir d’où cela vient… une idée ?

    Je précise qu’il s’agit d’un site avec une partie e-commerce, pour vendre des produits sans livraison, ce sont des formations.

    Précision 2 : j’ai essayé de cocher la case “autoriser à créer un compte en cours d’achat” mais cela n’a rien changé.

    Bon après midi,
    Faustine.

    depanagewp
    #446143
    faustine
    Participant
    Points: 13 pts

    Re bonjour,

    J’ai ce message dans les logs :

    Uncaught TypeError: Argument 1 passed to WC_Order::set_billing_address() must be of the type array, string given, called in /home/network/www/wp-content/plugins/woocommerce/includes/class-wc-checkout.php on line 362 and defined in /home/network/www/wp-content/plugins/woocommerce/includes/class-wc-order.php:1084

    <hr style=”border-right-width: 0px; border-left-width: 0px; border-top-style: solid; border-top-color: #dcdcde; border-bottom-style: solid; border-bottom-color: #f6f7f7; overflow-wrap: break-word; color: #50575e; font-family: -apple-system, system-ui, ‘Segoe UI’, Roboto, Oxygen-Sans, Ubuntu, Cantarell, ‘Helvetica Neue’, sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: #f6f7f7; text-decoration-thickness: initial;” />

    Stack trace:

    <hr style=”border-right-width: 0px; border-left-width: 0px; border-top-style: solid; border-top-color: #dcdcde; border-bottom-style: solid; border-bottom-color: #f6f7f7; overflow-wrap: break-word; color: #50575e; font-family: -apple-system, system-ui, ‘Segoe UI’, Roboto, Oxygen-Sans, Ubuntu, Cantarell, ‘Helvetica Neue’, sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: #f6f7f7; text-decoration-thickness: initial;” />

    #0 /home/network/www/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(362): WC_Order->set_billing_address(‘2 Impasse Dutil…’)

    <hr style=”border-right-width: 0px; border-left-width: 0px; border-top-style: solid; border-top-color: #dcdcde; border-bottom-style: solid; border-bottom-color: #f6f7f7; overflow-wrap: break-word; color: #50575e; font-family: -apple-system, system-ui, ‘Segoe UI’, Roboto, Oxygen-Sans, Ubuntu, Cantarell, ‘Helvetica Neue’, sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: #f6f7f7; text-decoration-thickness: initial;” />

    #1 /home/network/www/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1183): WC_Checkout->create_order(Array)

    <hr style=”border-right-width: 0px; border-left-width: 0px; border-top-style: solid; border-top-color: #dcdcde; border-bottom-style: solid; border-bottom-color: #f6f7f7; overflow-wrap: break-word; color: #50575e; font-family: -apple-system, system-ui, ‘Segoe UI’, Roboto, Oxygen-Sans, Ubuntu, Cantarell, ‘Helvetica Neue’, sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: #f6f7f7; text-decoration-thickness: initial;” />

    #2 /home/network/www/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(481): WC_Checkout->process_checkout()

    <hr style=”border-right-width: 0px; border-left-width: 0px; border-top-style: solid; border-top-color: #dcdcde; border-bottom-style: solid; border-bottom-color: #f6f7f7; overflow-wrap: break-word; color: #50575e; font-family: -apple-system, system-ui, ‘Segoe UI’, Roboto, Oxygen-Sans, Ubuntu, Cantarell, ‘Helvetica Neue’, sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: #f6f7f7; text-decoration-thickness: initial;” />

    #3 /home/network/www/wp-includes/class-wp-hook.php(308): WC_AJAX::checkout(”)

    <hr style=”border-right-width: 0px; border-left-width: 0px; border-top-style: solid; border-top-color: #dcdcde; border-bottom-style: solid; border-bottom-color: #f6f7f7; overflow-wrap: break-word; color: #50575e; font-family: -apple-system, system-ui, ‘Segoe UI’, Roboto, Oxygen-Sans, Ubuntu, Cantarell, ‘Helvetica Neue’, sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: #f6f7f7; text-decoration-thickness: initial;” />

    #4 /home/network/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array)

    <hr style=”border-right-width: 0px; border-left-width: 0px; border-top-style: solid; border-top-color: #dcdcde; border-bottom-style: solid; border-bottom-color: #f6f7f7; overflow-wrap: break-word; color: #50575e; font-family: -apple-system, system-ui, ‘Segoe UI’, Roboto, Oxygen-Sans, Ubuntu, Cantarell, ‘Helvetica Neue’, sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: #f6f7f7; text-decoration-thickness: initial;” />

    #5 /home/network/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array)

    <hr style=”border-right-width: 0px; border-left-width: 0px; border-top-style: solid; border-top-color: #dcdcde; border-bottom-style: solid; border-bottom-color: #f6f7f7; overflow-wrap: break-word; color: #50575e; font-family: -apple-system, system-ui, ‘Segoe UI’, Roboto, Oxygen-Sans, Ubuntu, Cantarell, ‘Helvetica Neue’, sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: #f6f7f7; text-decoration-thickness: initial;” />

    #6 /home/network/www/wp-content/plugins/woocommerce/includes/class-wc-a in /home/network/www/wp-content/plugins/woocommerce/includes/class-wc-order.php on line 1084

    Pourtant je n’ai pas touché au plugin woocommerce ou woocommerce checkout….

    Bonne journée

    depanagewp
    #447492
    WB2
    Modérateur
    Points: 3,388 pts
    Membre 2 étoiles

    Bonjour à vous, désactivez un a un vos plugin pour voir qui crée le bug, puisqu’a mon avis, le probleme vient d’un plugin ou bien du passerelle de paiement.

    Cordialement

    depanagewp
3 sujets de 1 à 3 (sur un total de 3)
  • Vous devez être connecté pour répondre à ce sujet.