Class "Mage_Chronorelais_Helper_Data" not found in Magento

0

I deleted a module in Magento and the following error appeared:

  

[14-Oct-2014 11:42:32 UTC] PHP Fatal error: Class 'Mage_Chronorelais_Helper_Data' not found in /public_html/app/Mage.php on line 548

The function is as follows:

public static function helper($name)
{
    $registryKey = '_helper/' . $name;
    if (!self::registry($registryKey)) {
        $helperClass = self::getConfig()->getHelperClassName($name);
        self::register($registryKey, new $helperClass);
    }
    return self::registry($registryKey);
}

Line 548 is as follows:

self::register($registryKey, new $helperClass);

In the backup I made before deleting the module, I look for "Mage_Chronorelais_Helper_Data" and I can not find anything, I search in the database something related and I find nothing.

How to resolve the error?

    
asked by anonymous 14.10.2014 / 13:56

2 answers

1

within:

public static function helper($name)
{

put like this:

public static function helper($name)
{

echo $name; die;

So you find the real name of the helper being called and can see who is calling it and remove it if necessary.

    
14.10.2014 / 15:28
0

Felipe,

If you are using linux :

grep -ril 'chronorelais' app/code/

If you do not find a project in IDE you are using, this instance is certainly being generated in some file / class.

With this you know the file and remove the creation of the instance.

Abs

    
11.03.2016 / 20:59