Notice: payment_method was called incorrectly.
-
My website is https://www.amerfoot.gr. I am using Storefront Theme and recently updated to latest version of WooCommerce 3.0.4. Prior to updating WooCommerce version your Plugin seemed to be working fine, however, we didn’t have a chance to do a test transaction. Now after the WooCommerce update, your Plugin is causing a problem and is throwing a message on the top of the website about a an incorrect payment_method call. When I deactivate your plugin the message goes away. I have left it on so you can see it. I also posted the message below. According to WooCommerce support, it is a compatibility issue with their latest version that they released and that you will have to update your plugin or find a quick fix to the problem. I will wait for your response.
MESSAGE:
Notice: payment_method was called incorrectly. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), wp, WP->main, do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, em_vivapayments_message, 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 /home/amerfoot/web/amerfoot.gr/public_html/wp-includes/functions.php on line 4138
- The topic ‘Notice: payment_method was called incorrectly.’ is closed to new replies.