-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undefined property: WC_Gateway_Twocheckout::$debug #7
Comments
..so as a follow up to this apparently $woocommerce->logger has been removed from WC 2.3.5 onwards and plugins need to use the new WC_Logger class. I know you must be busy but an update to your very handy plugin would be appreciated to deal with this when you have time. Thanks mate. |
Thanks dude, I'll get a fix out shortly. |
Really looking forward to this fix as well. |
Sorry for the delay, I was able to replicate on the latest woocommerce version and fix the issue. Please pull down master and let me know. |
I think that fixed it! Thanks. |
Hmm, maybe it didn't, still seeing errors at the checkout page. |
Hrmm.. Not able to replicate thus far. Can you add the errors your getting on the checkout page as well as your woocommerce version? |
@d1ch0t0my @jondcampbell are you still experiencing errors? Please let me know so I can help troubleshoot if you are. |
Hi Craig. Sorry to say I still see the following error in the backend WooCommerce > settings section: WC_Gateway_Twocheckout::$debug in /home/mysite/public_html/wp-content/plugins/twocheckout/wc-twocheckout.php on line 51 ..and the following error on all checkout pages: Notice: Undefined property: WC_Gateway_Twocheckout::$debug in /home/mysite/public_html/wp-content/plugins/twocheckout/wc-twocheckout.php on line 51 This is on a clean install of WP 4.2.2 / WC 2.3.11 by the way. |
Thanks for the information, I was able to find and fix the cause. The notice should be resolved now in master. |
@d1ch0t0my,@jondcampbell |
Yes, the error is gone for me with the latest update. |
Sorry for delay in getting back Craig. Yes I can confirm you've nailed it. Thanks for your hard work. |
Glad to hear it, thanks. |
Hi Craig,
I have 3 instances of the following error in admin area and one on the payment section of the front end:
WC_Gateway_Twocheckout::$debug in /home/mysite/beta2/wp-content/plugins/twocheckout/wc-twocheckout.php on line 47
Notice: Undefined property: WC_Gateway_Twocheckout::$debug in /home/mysite/beta2/wp-content/plugins/twocheckout/wc-twocheckout.php on line 47
Notice: Undefined property: WC_Gateway_Twocheckout::$debug in /home/mysite/beta2/wp-content/plugins/twocheckout/wc-twocheckout.php on line 47
Using this with WC 2.3.8 and WP 4.2.1. Have disabled all other plugins except WC and yours but no change. Any ideas on how to fix?
Thanks for any help.
The text was updated successfully, but these errors were encountered: