Title: Header called incorrectly
Last modified: April 16, 2018

---

# Header called incorrectly

 *  [Chineseand](https://wordpress.org/support/users/chineseand/)
 * (@chineseand)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/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.

 * ![](https://s.w.org/plugins/geopattern-icon/wechat-payment-for-woo.svg)
 * [WeChat Payments for WooCommerce](https://wordpress.org/plugins/wechat-payment-for-woo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wechat-payment-for-woo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wechat-payment-for-woo/)
 * [Active Topics](https://wordpress.org/support/plugin/wechat-payment-for-woo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wechat-payment-for-woo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wechat-payment-for-woo/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Chineseand](https://wordpress.org/support/users/chineseand/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/header-called-incorrectly/)
 * Status: not resolved