Fatal error: Uncaught Error: Call to a member function getId() on null in /var/www/html/novamedtec.com.br/app/code/core/Mage/Catalog/Model/Product/Type/Configurable.php:284 Stack trace: #0 /var/www/html/novamedtec.com.br/app/code/core/Mage/ConfigurableSwatches/Helper/Data.php(131): Mage_Catalog_Model_Product_Type_Configurable->getConfigurableAttributesAsArray(Object(Mage_Catalog_Model_Product)) #1 /var/www/html/novamedtec.com.br/app/code/core/Mage/Core/Model/Layout.php(324): Mage_ConfigurableSwatches_Helper_Data->getSwatchesProductJs('') #2 /var/www/html/novamedtec.com.br/app/code/core/Mage/Core/Model/Layout.php(214): Mage_Core_Model_Layout->_generateAction(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element)) #3 /var/www/html/novamedtec.com.br/app/code/core/Mage/Core/Model/Layout.php(210): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element)) #4 /var/www/html/novamedtec.com.br/app/code/core/Mage/Core/Controller/Varien/Action.php(344): Mage_Core_Model_Layout->generateBloc in /var/www/html/novamedtec.com.br/app/code/core/Mage/Catalog/Model/Product/Type/Configurable.php on line 284