• Olá,

    Temos um erro a ocorrer nos nossos logs que desaparece com a desativa??o do vosso plugin, e que faz referência à fun??o do plugin:

    function cepw_custom_action_order_status_email_notification

    Este é o erro criado aquando do recebimento de uma qualquer encomenda em qualquer meio de pagamento:

    status was called incorrectly. Order properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), do_action('template_redirect'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action('wc_ajax_checkout'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::checkout, WC_Checkout->process_checkout, WC_Checkout->process_order_payment, WC_Gateway_BACS->process_payment, WC_Order->update_status, WC_Order->save, WC_Order->status_transition, do_action('woocommerce_order_status_changed'), WP_Hook->do_action, WP_Hook->apply_filters, cepw_custom_action_order_status_email_notification, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.

    Agradecemos revis?o do hook/fun??o

    Cumprimentos

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘PHP ERROR – status was called incorrectly’ is closed to new replies.