• Hello. I have updated my site to php version 7.4.13 and some times i get this error in log files of my server when try to export:

    4615#0: *4672337 FastCGI sent in stderr: “PHP message: payment_method was called incorrectly. Order properties should not be accessed directly. Backtrace: do_action(‘wp_ajax_order_exporter’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Order_Export_Admin->ajax_gate, WC_Order_Export_Ajax->ajax_export_download_bulk_file, WC_Order_Export_Ajax->build_and_send_file, WC_Order_Export_Engine::build_file_full, WC_Order_Export_Data_Extractor::fetch_order_data, apply_filters(‘woe_get_order_value_fullname_city’), WP_Hook->apply_filters, WC_Order_Export_Engine::{closure}, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.PHP message: payment_method was called incorrectly. Order properties should not be accessed directly. Backtrace: do_action(‘wp_ajax_order_exporter’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Order_Export_Admin->ajax_gate, WC_Order_Export_Ajax->ajax_export_download_bulk_file, WC_Order_Export_Ajax->build_and_send_file, WC_Order_Export_Engine::build_file_full, WC_Order_Export_Data_Extractor::fetch_order_data, apply_filters(‘woe_get_order_value_card_price’), WP_Hook->apply_filters, WC_Order_Export_Engine::{closure}, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.PHP message: payment_method was called incorrectly. Order properties should not be accessed directly. Backtrace: do_action(‘wp_ajax_order_exporter’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Order_Export_Admin->ajax_gate, WC_Order_Export_Ajax->ajax_export_download_bulk_file, WC_Order_Export_Ajax->build_and_send_file, WC_Order_Export_Engine::build_file_full, WC_Order_Export_Data_Extractor::fetch_order_data, apply_filters(‘woe_get_order_value_fullname_city’), WP_Hook->apply_filters, WC_Order_Export_Engine::{closure}, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.PHP message: payment_method was called incorrectly. Order properties should not be accessed directly. Backtrace: do_action(‘wp_aj

    But when i try to export them from Orders page by checking them and hit Export in Bulk Actions, it works!

    Any idea why?

    Thanks in advance

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Updated to Php 7.4.13’ is closed to new replies.