Hello, stephentoe!
Thanks for the issue. I’ll look into this in a few days to fix.
stephentoe,
sorry for being late.
Figuring out right now.
Unfortunately I can’t reproduce your bug.
May I ask you to give me a little more info, maybe exact steps to reproduce?
Thanks very much!
Alex.
So, I set up woocommerce and the multiple shipping addresses plugin logged into the wordpress backend as administrator user ABC. While logged in as this user I can see the multiple shipping addresses entered by customers when they place an order. Then, I log out of the backend and then log back in as administrator user XYZ. As this user, I cannot see the multiple addresses. It displays the error:
“Fatal error: Call to a member function get_country() on a non-object in /home/sebodev/webapps/stephentest/wp-content/plugins/woocommerce/includes/class-wc-checkout.php on line 779”
I’ve disabled all other plugins and updated woocommerce and the multiple shipping plugin to the latest versions. I also tried it in a fresh wordpress install where the only plugins installed were woocommerce and the Multiple Addresses plugin.
Sorry, still can’t figure out where’s this. May I ask you to tell me exact link (doesn’t matter for domain, I just need the page in the backend).
Thanks for your patience!
http://stephen.sebodev.com/wp-admin/post.php?post=17&action=edit
This is the test site I set up after I got the error on my main site. It is a brand new wordpress install with other woocommerce and the Woocommerce Multiple Addresses plugin.
I again and again trying to understand where you see this bug… Can you please add a test user with admin permissions on that website so I can see the error? or a screencast? You can share this info privately by my email: alexander.tinyaev@n3wnormal (dot) com.
Thanks very much for you patience, I really appreciate it.
Thanks! I’ve looked at your backend and here’s what I came up with.
Actually you’re using another plugin called WooCommerce Ship to Multiple Addresses by 75nineteen Media guys, the one we provide is Woocommerce Multiple Addresses.
I’ve tried to figure out what the problem is but it seems you need something like x-debug installed on you server to see where exactly this problem comes from.
If I were you, the first thing I would do is update the plugin to the latest version, maybe the problem will disappear by itself.
If no, the second thing would be to install xdebug on your local machine (I already have it installed) and see the stack trace of this error.
And after that, I would recommend to contact the developer here: http://www.woothemes.com/products/shipping-multiple-addresses/
giving him that stack trace.
Let me know if you need any further help. If you come into the problem installing x-debug, feel free to send me you plugin by email, I’ll give you that stack trace or even will try to find out how to fix that.
Regards,
Alex.
Thanks Alex. I’m sorry I didn’t notice it was two different plugins. Thanks a million.