woothemes/woocommerce — comment on commit afd0819f5a1295f0903b6937cf5ba0aafd5323a3
File:  line 0
By chmvin:

It was only 1 file right? I just replaced the file since I didn't make any changes to it previously

This is what I get when I click restore stock

Fatal error: Call to a member function clear_product_transients() on a non-object in /wp-content/plugins/woocommerce/classes/class-wc-product.php on line 225