Header called incorrectly
-
Hi,
I get this message now, when I didn’t get it before. I see that the plugin hasn’t been updated in some time. Has there been a change that makes this plugin no longer supported?
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/twentyseventeen/front-page.php’), get_header, locate_template, load_template, require_once(‘/themes/mysite/header.php’), wp_head, do_action(‘wp_head’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, wp_enqueue_scripts, do_action(‘wp_enqueue_scripts’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, 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 /var/www/html/mysite/wp-includes/functions.php on line 4147
- The topic ‘Header called incorrectly’ is closed to new replies.