• Resolved mitchelly

    (@mitchelly)


    HI
    I am getting this error in my order section and orders emails sent to customers, how can I fix it please?
    Cheers
    Mitchell

    Notice: id was called incorrectly. 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_pickup’), WP_Hook->do_action, WP_Hook->apply_filters, Woocommerce_Local_Pickup->email_trigger_pickup, WC_Email_Customer_Pickup_Order->trigger, WC_Email->get_content, WC_Email_Customer_Pickup_Order->get_content_html, wc_get_template_html, wc_get_template, include(‘/plugins/advanced-local-pickup-for-woocommerce/templates/emails/pickup-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’), WC_Order->get_order_item_totals, apply_filters(‘woocommerce_get_order_item_totals’), WP_Hook->apply_filters, wc_alipay_display_orde in /home4/directp4/public_html/shoporama/wp-includes/functions.phpon line 5167

    Notice: id was called incorrectly. 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_pickup’), WP_Hook->do_action, WP_Hook->apply_filters, Woocommerce_Local_Pickup->email_trigger_pickup, WC_Email_Customer_Pickup_Order->trigger, WC_Email->get_content, WC_Email_Customer_Pickup_Order->get_content_html, wc_get_template_html, wc_get_template, include(‘/plugins/advanced-local-pickup-for-woocommerce/templates/emails/pickup-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’), WC_Order->get_order_item_totals, apply_filters(‘woocommerce_get_order_item_totals’), WP_Hook->apply_filters, wc_wxpay_display_order in /home4/directp4/public_html/shoporama/wp-includes/functions.phpon line 5167

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    Hey there,

    Going by that notice, a few things could be going wrong. Just a heads up, though: this is a notice and not an error, so nothing is actually broken.

    You could choose to not display notices. Here’s how: https://aristath.github.io/blog/wp-hide-php-errors

    If you want to track it down, it’ll likely be a plugin or your theme that’s causing a conflict. I do see a reference to “Local Pickup”: if you have a plugin related to that, I’d start by disabling that and seeing if the notices disappear.

    The best way to test for conflicts is to:

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce
    • Repeat the action that is causing the problem

    If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.

    Plugin Support con

    (@conschneider)

    Engineer

    Hi there,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Kind regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error in orders responds’ is closed to new replies.