Skip to content

M194x: Mage_Core_Exception: Mage registry key "product" already exists in app/Mage.php:596 #663

Closed
@seansan

Description

@seansan

Hi, thought I'd log this here. We recently pulled the M194x code (12-4-2019) and since then are seeing 1000's and 1000's of the same error items in our except log.

Somehow registry key PRODUCT is already set somewhere.

This could be an extension however I dont recall making any other changes.

https://github.com/OpenMage/magento-lts/blob/1.9.4.x/app/code/core/Mage/Catalog/Helper/Product.php#L358

2019-04-13T05:45:59+00:00 ERR (3):
Mage_Core_Exception: Mage registry key "product" already exists in app/Mage.php:596
Stack trace:
#0 app/Mage.php(224): Mage::throwException('Mage registry k...')
#1 app/code/core/Mage/Catalog/Helper/Product.php(358): Mage::register('product', Object(Mage_Catalog_Model_Product))
#2 app/code/core/Mage/Catalog/Helper/Product/View.php(121): Mage_Catalog_Helper_Product->initProduct(7871, Object(Mage_Catalog_ProductController), Object(Varien_Object))
#3 app/code/core/Mage/Catalog/controllers/ProductController.php(132): Mage_Catalog_Helper_Product_View->prepareAndRender(7871, Object(Mage_Catalog_ProductController), Object(Varien_Object))
#4 app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Catalog_ProductController->viewAction()
#5 app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('view')
#6 app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#7 app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#8 app/Mage.php(684): Mage_Core_Model_App->run(Array)
#9 index.php(110): Mage::run('website', 'store')
#10 {main}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions