• Resolved pixelyzed

    (@pixelyzed)


    Hi there,

    I’m building a client site and started testing orders. All is working great on the site but one of the orders related emails generated has error messages in it like the following:

    “Notice: payment_method est appelée de la mauvaise manière. Order properties should not be accessed directly. Backtrace: apply_filters(‘handle_bulk_actions-edit-shop_order’), WP_Hook->apply_filters, WC_Admin_List_Table_Orders->handle_bulk_actions, WC_Order->update_status, WC_Order->save, WC_Order->status_transition, do_action(‘woocommerce_order_status_completed’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Emails::send_transactional_email, do_action_ref_array(‘woocommerce_order_status_completed_notification’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Email_Customer_Completed_Order->trigger, WC_Email->get_content, WC_Email_Customer_Completed_Order->get_content_html, wc_get_template_html, wc_get_template, include(‘/plugins/woocommerce/templates/emails/customer-completed-order.php’), do_action(‘woocommerce_email_order_details’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Emails->order_details, wc_get_template, include(‘/plugins/woocommerce/templates/emails/email-order-details.php’), do_action(‘woocommerce in /wp-includes/functions.php on line 4667”

    This is a new install and the only other WooComemrce related plugin installed is the official Stripe plugin (and that is the payment gateway used in the order) and the “GazChap’s WooCommerce Purchase Order Payment Gateway” plugin and I tested orders with it deactivated as well. Same issue. I also tested with check payments and the Completed Order email had the same error messages.

    The error message above appears 3 times between the order summary table and the addresses. Since I have 3 gateways activated I’m guessing that’s related.

    Is there a fix in the upcoming 3.6.2 for this?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    Hey there!

    Can you please send a copy of your status report here? That will help us figure out the source of the issue you are seeing hopefully.

    Have a great one!

    Thread Starter pixelyzed

    (@pixelyzed)

    Hi there,

    I upgraded the PHP version from 7.1 to 7.2 as the status report reminded me it wasn’t on 7.2 yet and that seems to have fixed the issue. Does that make sense?

    Thank you very much for the prompt reply!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Server Error messages in Completed Order Emails’ is closed to new replies.