Closed gety9 closed 6 years ago
Trying to update from version 1.4.3 to 1.4.6 and getting following error:
Fatal error: Call to a member function getSource() on boolean in /var/www/html/app/code/core/Mage/Catalog/Model/Product.php on line 1385 Call Stack # Time Memory Function Location 1 0.0132 249736 {main}( ) .../index.php:0 2 0.1166 517248 Mage::run( ) .../index.php:91 3 0.2212 1440744 Mage_Core_Model_App->run( ) .../Mage.php:684 4 2.9464 8968336 Mage_Core_Controller_Varien_Front->dispatch( ) .../App.php:365 5 3.0272 9238456 Mage_Core_Controller_Varien_Router_Standard->match( ) .../Front.php:172 6 3.1270 9733376 Mage_Core_Controller_Varien_Action->dispatch( ) .../Standard.php:254 7 15.5562 11461064 Mage_Catalog_ProductController->viewAction( ) .../Action.php:418 8 15.5627 11506280 Mage_Catalog_Helper_Product_View->prepareAndRender( ) .../ProductController.php:132 9 17.9211 33428536 Mage_Core_Controller_Varien_Action->renderLayout( ) .../View.php:147 10 17.9213 33429904 Mage_Core_Model_Layout->getOutput( ) .../Action.php:390 11 17.9213 33430376 Mage_Core_Block_Abstract->toHtml( ) .../Layout.php:555 12 19.9273 41688960 Mage::dispatchEvent( ) .../Abstract.php:943 13 19.9273 41688960 Mage_Core_Model_App->dispatchEvent( ) .../Mage.php:448 14 19.9338 41767264 Mage_Core_Model_App->_callObserverMethod( ) .../App.php:1336 15 19.9338 41767264 Yireo_GoogleTagManager_Observer_LazyLoadDataLayer->execute( ) .../App.php:1357 16 19.9339 41767264 Yireo_GoogleTagManager_Observer_LazyLoadDataLayer->appendDataLayer( ) .../LazyLoadDataLayer.php:59 17 19.9339 41767688 Mage_Core_Block_Abstract->toHtml( ) .../LazyLoadDataLayer.php:86 18 19.9340 41768488 Yireo_GoogleTagManager_Block_Default->_toHtml( ) .../Abstract.php:919 19 19.9340 41768488 Mage_Core_Block_Template->_toHtml( ) .../Default.php:214 20 19.9340 41768600 Mage_Core_Block_Template->renderView( ) .../Template.php:286 21 19.9413 41769304 Mage_Core_Block_Template->fetchView( ) .../Template.php:272 22 19.9511 41792672 include( '/var/www/html/app/design/frontend/base/default/template/googletagmanager/data.phtml' ) .../Template.php:241 23 19.9513 41792880 Mage_Core_Block_Abstract->getChildHtml( ) .../data.phtml:15 24 20.3427 45765752 Mage_Core_Block_Abstract->_getChildHtml( ) .../Abstract.php:577 25 20.3427 45766176 Mage_Core_Block_Abstract->toHtml( ) .../Abstract.php:637 26 20.3428 45766976 Yireo_GoogleTagManager_Block_Default->_toHtml( ) .../Abstract.php:919 27 20.3428 45766976 Mage_Core_Block_Template->_toHtml( ) .../Default.php:214 28 20.3428 45767088 Mage_Core_Block_Template->renderView( ) .../Template.php:286 29 20.3458 45767792 Mage_Core_Block_Template->fetchView( ) .../Template.php:272 30 20.3558 45819584 include( '/var/www/html/app/design/frontend/base/default/template/googletagmanager/data/product.phtml' ) .../Template.php:241 31 20.3631 45833248 Mage_Catalog_Model_Product->getAttributeText( ) .../product.phtml:72
Could it be php version related? We are still on 5.6. And seems like extension requires 7.0
This should be fixed now in https://github.com/yireo/Yireo_GoogleTagManager/releases/tag/1.4.7
Trying to update from version 1.4.3 to 1.4.6 and getting following error:
Could it be php version related? We are still on 5.6. And seems like extension requires 7.0