Erro no Mage :: getModel ('catalog / product') -> load ($ sku, 'sku');
ao tentar carregar um produto, $foundProduct = Mage::getModel('catalog/product')->load($sku, 'sku'); obtemos o seguinte erro: Fatal error: Uncaught exception 'Exception' with message 'Warning: Invalid argument supplied for foreach() in app/code/core/Mage/Eav/Model/Entity/Abstract.php on line 954' in app/code/core/Mage/Core/functions.php:245 Stack trace: #0 app/code/core/Mage/Eav/Model/Entity/Abstract.php(954): mageCoreErrorHandler(2, 'Invalid argumen...', '/var/www/magent...', 954, Array) #1 app/code/core/Mage/Catalog/Model/Resource/Abstract.php(698): Mage_Eav_Model_Entity_Abstract->load(Object(Mage_Catalog_Model_Product), '120x180 ES-bale...', 'sku') #2 …