Soporte » Plugins y Hacks » WooCommerce » errores en log, Order properties should not be accessed directly. Backtrace

  • Hola buenas en la ultima versiones desde woocommerce 3.x.x en el log sale esto.

    id 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, call_user_func_array, WC_AJAX::do_wc_ajax, do_action('wc_ajax_checkout'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, 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_pending_to_on-hold'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_Emails::send_transactional_email, do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_Email_New_Order->trigger, WC_Email->get_content, WC_Email_New_Order->get_content_html, wc_get_template_html, wc_get_template, include('\admin-new-order.php'), do_action('woocommerce_email_order_details'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_Emails->order_details, wc_get_template, include('\email-order-details.php'), do_action('woocommerce_email_after_order_table'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, pd_add_order_barcode, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.

    PHP Notice: id se llamó <strong>incorrectamente</strong>. Order properties should not be accessed directly. Backtrace: require('\wp-blog-header.php'), require_once('\template-loader.php'), include('\twentytwelve\page.php'), get_template_part, locate_template, load_template, require('\twentytwelve\content-page.php'), the_content, apply_filters('the_content'), WP_Hook->apply_filters, call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, WC_Shortcodes::checkout, WC_Shortcodes::shortcode_wrapper, call_user_func, WC_Shortcode_Checkout::output, WC_Shortcode_Checkout::order_received, wc_get_template, include('\thankyou.php'), do_action('woocommerce_thankyou'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, woocommerce_order_details_table, wc_get_template, include(' in \functions.php on line 4140

Viendo 1 respuesta (de 1 total)
Viendo 1 respuesta (de 1 total)
  • Debes estar registrado para responder a este tema.