• Resolved vuhvuh

    (@vuhvuh)


    Hi please anyone now how to fix error with emails where in any change of status order the customer receives the email also with this?
    ” Notice: Funkce status nebyla pou?ita správnym zp?sobem. Order properties should not be accessed directly. Backtrace: edit_post, wp_update_post, wp_insert_post, do_action(‘save_post’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Admin_Meta_Boxes->save_meta_boxes, ………
    do_action(‘woocommerce_email_before_order_table’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Gateway_PNU->email_instructions, WC_Abstract_Legacy_Order->__get, wc in /nfsmnt/hosting2_1/c/1/c16f500b-8bfb-4ebc-a24a-7798a971e6d4/kireinabikini.com/web/wp-includes/functions.php on line 4773 ”

    apparently there is an error in web/wp-includes/functions.php
    but I don’t know what to do with that so this is not in emails
    Kind regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    This is an error unrelated to the PDF Invoices & Packing slips plugin, it’s caused by “WC_Gateway_PNU” which seems to be a payment gateway? They use an old method for accessing order properties.
    wp-includes/functions.php line 4773 is simply the function _doing_it_wrong, so that’s not where the error is (that’s in the error description “Order properties should not be accessed directly.”).

    Thread Starter vuhvuh

    (@vuhvuh)

    So where I can fix it please?
    Somewhere in the wc gateway pnu?
    This error thing happens when I change to any different status for the order so I thought the mistake must ne in the plugin
    Thank you

    Plugin Contributor Ewout

    (@pomegranate)

    Yes, you will need to contact the developers of the PNU gateway plugin, they should be able to fix this. Our plugin merely creates a PDF invoice for an order, it does not interfere with the core woocommerce processes like status transitions. As the error indicates, this is an error triggered by the PNU gateway.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error in sent email about order status’ is closed to new replies.