Magento has a bug, where an exception is thrown, when you try to load a non existant singleton for the 2nd time.
The first time, the registry key is created with the value false.
The 2nd time, it will try to create the key again (because the condition is only if (!self::registry($registryKey)), but should be checking if the key is set) and raise an Exception.
Magento has a bug, where an exception is thrown, when you try to load a non existant singleton for the 2nd time.
The first time, the registry key is created with the value false.
The 2nd time, it will try to create the key again (because the condition is only if (!self::registry($registryKey)), but should be checking if the key is set) and raise an Exception.