Call to a member function get() on a non-object in /woocommerce/emails/email-order-items.php

This kind of error mostly generate at the time using WC()->session->get in email-order-items.php file.

When we trying to save woo-commerce orders with some status like cancelled or completed or processed  from admin dashboard it will through error.

I don’t know exact possibilities of this error but in my case it’s getting. I hope it may helps.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s