I have a little big problem. After the migration of the catalog for a new store in a "clean" installation of Magento I started to have problems with configurable products. When you select an option and click buy, instead of adding the product to cart, returns the error message:
Fatal error: Call to a member function setProductName () on a non-object in /home/alter648/public_html/compras/app/code/core/Mage/CatalogInventory/Model/Observer.php on line 387
Searching on the internet I found something similar in http://stackoverflow.com/questions/26414137/cannot-add-to-cart-configurable-product-after-migration-... but that did not solve.
Already checked the records of the configurable product and simple products, and found no difference in relation to the registration in the previous store. I checked and saved and changed nothing.
Does anyone have any idea how to solve?