After installing the security patch SUPEE-7405 I have got the following error in the backend: Mage registry key "_singleton/Mage_Core_Model_Domainpolicy" already exists

I tried to clear the cache, but no change.

Does someone know how to fix this?

EDIT: As a workaround I did the following:

   if(isset(self::$_registry["_singleton/Mage_Core_Model_Domainpolicy"])) {
        self::unregister("_singleton/Mage_Core_Model_Domainpolicy");
    }

in the Mage.php. This works for the moment, but does anyone know how to find out in which files the key is setted?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.