Getting errors on checkout page
-
Hi,
I’m getting lots of errors on the checkout page.
Notice: id was called incorrectly. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/Divi/page-template-blank.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, WC_Shortcodes::checkout, WC_Shortcodes::shortcode_wrapper, WC_Shortcode_Checkout::output, WC_Shortcode_Checkout::order_pay, do_action(‘woocommerce_receipt_payulatam’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Payu_Latam->receipt_page, WC_Payu_Latam->generate_payulatam_form, WC_Payu_Latam->get_params_post, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong
seems like properties should access through getters instead of direct access. Can anyone help to fix this?
Thanks
The topic ‘Getting errors on checkout page’ is closed to new replies.