• Hello

    I see an error in the logs, please look into it. I think it is related to your plugin. could you check it out?

    [notice] [client ] id was called incorrectly. Order properties should not be accessed directly. Backtrace: do_action(‘wp_ajax_woocos_setup_deactivation_form_ajaxPost’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, woocos_setup_deactivation_form_ajaxPost, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0., referer https://.com/wp-admin/plugins.php?plugin_status=all&paged=1&s

Viewing 2 replies - 1 through 2 (of 2 total)
  • I have the same question…

    First, the message is a ‘notice’ so not an error or even a warning. That said, the fix is trivial.

    In custom-order-statuses-for-woocommerce/ajax/deactivation-form.php around line 30 change $order->id to $order->get_id():

    array_push( $found_orders, $order->id )

    to

    array_push( $found_orders, $order->get_id() );


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘error in the logs do_action(‘wp_ajax_woocos_…)’ is closed to new replies.