• Olá, tudo bem?

    Estou obtendo muitos erros no log. A cada transa??o s?o gerados esses erros:

    [27-Jul-2021 20:56:09 UTC] payment_method 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_without_payment, WC_Order->payment_complete, WC_Order->save, WC_Order->status_transition, do_action('woocommerce_order_status_pending_to_processing'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Emails::send_transactional_email, do_action_ref_array('woocommerce_order_status_pending_to_processing_notification'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Email_Customer_Processing_Order->trigger, WC_Email->get_content, WC_Email_Customer_Processing_Order->get_content_html, wc_get_template_html, wc_get_template, include('/plugins/woocommerce/templates/emails/customer-processing-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'), do_action('woocommerce_email_after_order_table'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Pagarme_Credit_Card_Gateway->email_instructions, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.

    Existe alguma forma de corrigir isso?

Viewing 1 replies (of 1 total)
  • Também estou enfrentando problemas na última semana. Tive que desabilitar o plugin.

    FastCGI sent in stderr: “PHP message: billing_first_name was called incorrectly. Order properties should not be accessed directly. Backtrace: requite(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), coaction(‘template_redirect’), WP_Hook->apply_filters, WC_AJAX::do_w_ajax, do_action(‘wc_aja_checkout’), WP_Hook_>do_action, WP_Hook->apply_filters, WC_AJAX::checkout, WC_Checkout->process_checkout, WC_Checkout->process_order_payment, WC_Pagarme_Banking_Ticket_Gateway->process_payment, WC_Pagarme_API->process_regular_payment, WC_Pagarme_API->generate_transaction_data……. etc.. etc..

    Ah.. estou usando Woocommerce 5.3. N?o atualizei para 5.5.2 n?o.

    • This reply was modified 3 years, 3 months ago by henriquesv.
Viewing 1 replies (of 1 total)
  • The topic ‘Erros no log’ is closed to new replies.