Home Forums WoodMart support forum I have had a notice on my website since I set the woocommerce payment.

I have had a notice on my website since I set the woocommerce payment.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #82239

    flyflyshi@126.com
    Participant

    Notice: 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’), include(‘/themes/woodmart/page.php’), get_header, locate_template, load_template, require_once(‘/themes/woodmart/header.php’), wp_head, do_action(‘wp_head’), WP_Hook->do_action, WP_Hook->apply_filters, wp_enqueue_scripts, do_action(‘wp_enqueue_scripts’), WP_Hook->do_action, WP_Hook->apply_filters, WC_WeChatPay->WX_enqueue_script_onCheckout, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /www/wwwroot/fineprovisions/wp-includes/functions.php on line 4161

    #82246

    Artem Temos
    Keymaster
    Xtemos team

    Hello,

    Could you please check how it works with some default WordPress theme like twentysixteen to understand is it our theme issue or not?

    Regards

    #82263

    flyflyshi@126.com
    Participant

    Yes, I changed the theme to another one, It didn’t present this issue.
    You could check it now!

    #82270

    flyflyshi@126.com
    Participant

    oh it’s gone afte I deactived a plugin

    #82279

    Artem Temos
    Keymaster
    Xtemos team

    OK, we are glad that you sorted it out.

Viewing 5 posts - 1 through 5 (of 5 total)