Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fatal error while placing order #945
The produced error is:
Yes latest version 126.96.36.199, WC 3.2.5, WP 4.9 with Paypal Express Checkout gateway.
Sometimes the order doesn't contain an actual WC product (custom datastore), therefore $product is "false". Just make a check is_object($product) above and it should fix the problem.