First, I'd throw away your assumptions about "nothing has changed". Due to Magento's various caches, it can be hours, or even days before a new code/configuration deployment actually shows an effect on the system.
Second, you're using a very out of date version of Magento. This fact often coincides with a very "altered from it's default state" Magento. This means there may not be a general answer to your problem, and only a developer investigating your exact system will be able to solve your problem.
Looking at your call stack, it appears when the resource_get_tablename
event fires
#3 /home/solarcon/public_html/shop/app/Mage.php(416): Mage_Core_Model_App->dispatchEvent('resource_get_ta...', Array)
that there's an observer configured configured with a model name that starts with aitsys/rewriter...
(PHP cuts off the full alias name).
#2 /home/solarcon/public_html/shop/app/code/core/Mage/Core/Model/App.php(1209): Mage::getSingleton('aitsys/rewriter...')
Whenever Magento instantiates a singleton event observer (or any singleton model), it adds it to the registry, with a call to Mage::register
.
#1 /home/solarcon/public_html/shop/app/Mage.php(446): Mage::register('_singleton/aits...', false)
However, with your system, Magento thinks there's already an entry in the registry for that model/keyname
Mage registry key "_singleton/aitsys/rewriter_observer" already exists
HOWEVER, in a stock Magento system, this should never happen, as getSingleton
checks the registry before trying to instantiate a model
public static function getSingleton($modelClass='', array $arguments=array())
{
$registryKey = '_singleton/'.$modelClass;
if (!self::registry($registryKey)) {
self::register($registryKey, self::getModel($modelClass, $arguments));
}
return self::registry($registryKey);
}
This leads me to believe your core system has been altered. Also, the name of the observer model (aitsys/rewriter_observer
) comes from a well known (if notorious) extension provider named AITOC. They're notorious because they altered your code Magento system to implement some systems of their own, including their DRM-ish licensing system. Given it's their extension causing this problem, you might have some luck reaching out to their support personal.
Given all that, it's doubtful someone will be able to come up with an answer here. Hopefully the above information will help you (or your developer) debug this themselves.