fooman / googleanalyticsplus

Magento Extension to add extra features to the default GoogleAnalytics module.
http://store.fooman.co.nz/extensions/magento-extension-googleanalyticsplus.html
100 stars 53 forks source link

Error after upgrading #15

Closed jknibb closed 10 years ago

jknibb commented 10 years ago

I've just upgraded to the lastest version from the Magento connect version and I'm seeing the following error.

Invalid method Fooman_GoogleAnalyticsPlus_Block_Universal::shouldInclude(Array ( ) )

Trace:

0 /opt/bitnami/apps/magento/htdocs/app/code/community/Fooman/GoogleAnalyticsPlus/Block/Universal.php(28): Varien_Object->__call('shouldInclude', Array)

1 /opt/bitnami/apps/magento/htdocs/app/code/community/Fooman/GoogleAnalyticsPlus/Block/Universal.php(28): Fooman_GoogleAnalyticsPlus_Block_GaConversion->shouldInclude()

2 /opt/bitnami/apps/magento/htdocs/app/design/frontend/base/default/template/fooman/googleanalyticsplus/universal.phtml(1): Fooman_GoogleAnalyticsPlus_Block_Universal->shouldInclude()

3 /opt/bitnami/apps/magento/htdocs/app/code/core/Mage/Core/Block/Template.php(241): include('/opt/bitnami/ap...')

4 /opt/bitnami/apps/magento/htdocs/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/base/d...')

5 /opt/bitnami/apps/magento/htdocs/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()

6 /opt/bitnami/apps/magento/htdocs/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Template->_toHtml()

7 /opt/bitnami/apps/magento/htdocs/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()

8 /opt/bitnami/apps/magento/htdocs/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Text_List->_toHtml()

9 /opt/bitnami/apps/magento/htdocs/app/code/core/Mage/Core/Block/Abstract.php(582): Mage_Core_Block_Abstract->toHtml()

10 /opt/bitnami/apps/magento/htdocs/app/code/core/Mage/Core/Block/Abstract.php(526): Mage_Core_Block_Abstract->_getChildHtml('after_body_star...', true)

11 /opt/bitnami/apps/magento/htdocs/app/design/frontend/default/MAG060076/template/page/2columns-left.phtml(38): Mage_Core_Block_Abstract->getChildHtml('after_body_star...')

12 /opt/bitnami/apps/magento/htdocs/app/code/core/Mage/Core/Block/Template.php(241): include('/opt/bitnami/ap...')

13 /opt/bitnami/apps/magento/htdocs/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/defaul...')

14 /opt/bitnami/apps/magento/htdocs/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()

15 /opt/bitnami/apps/magento/htdocs/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Template->_toHtml()

16 /opt/bitnami/apps/magento/htdocs/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml()

17 /opt/bitnami/apps/magento/htdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput()

18 /opt/bitnami/apps/magento/htdocs/app/code/core/Mage/Cms/Helper/Page.php(137): Mage_Core_Controller_Varien_Action->renderLayout()

19 /opt/bitnami/apps/magento/htdocs/app/code/core/Mage/Cms/Helper/Page.php(52): Mage_Cms_Helper_Page->_renderPage(Object(Mage_Cms_IndexController), 'home')

20 /opt/bitnami/apps/magento/htdocs/app/code/core/Mage/Cms/controllers/IndexController.php(45): Mage_Cms_Helper_Page->renderPage(Object(Mage_Cms_IndexController), 'home')

21 /opt/bitnami/apps/magento/htdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(419): Mage_Cms_IndexController->indexAction()

22 /opt/bitnami/apps/magento/htdocs/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('index')

23 /opt/bitnami/apps/magento/htdocs/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))

24 /opt/bitnami/apps/magento/htdocs/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()

25 /opt/bitnami/apps/magento/htdocs/app/Mage.php(683): Mage_Core_Model_App->run(Array)

26 /opt/bitnami/apps/magento/htdocs/index.php(87): Mage::run('', 'store')

27 {main}

fooman commented 10 years ago

I am currently not quite sure on this one - the code should be this https://github.com/fooman/googleanalyticsplus/blob/master/app/code/community/Fooman/GoogleAnalyticsPlus/Block/Universal.php#L26 - please verify that all files have been updated. Additionally double check that any caches (especially apc, memcache and the like) have been refreshed.

jknibb commented 10 years ago

Sorry for the low followup, yes it looked to be a problem with APC cache.