Call to a member function getIsGlobal() on a non-object

We came across this while using the Advanced Dataflow profiles in Magento

 

PHP Fatal error:  Call to a member function getIsGlobal() on a non-object in /var/www/html/app/code/core/Mage/Catalog/Model/Product/Type/Configurable.php on line 173

 

Finally narrowed it down to a missing column in the CSV sheet!! Hope this helps you if you’re having the same issue. Was 8-9 hours hard effort to figure out what broke and then it came down to a silly error 🙁

Magento API giving issues with Unicommerce integration

I found out I needed to add this in app/code/core/Mage/Api/etc/config.xml

under “adminhtml”

 <routers>
 <api>
 <use>standard</use>
 <args>
 <module>Mage_Api</module>
 <frontName>api</frontName>
 </args>
 </api>
 </routers>

 

Also need to turn off Auto-redirect to Base Url in System > Web > Url Options.

 

After this you can change the Admin URL to absolutely anything and it’ll work correctly in Unicommerce 🙂