"Mage_chronorelais_helper_data'" class not found in Magento

Asked

Viewed 60 times

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 did before deleting the module, I looked for "Mage_chronorelais_helper_data" and I can’t find anything, I look in the database something related and I can’t find anything.

How to resolve the error?

  • he is trying to instantiate a helper that no longer exists for some reason

  • @Otto right, but how to remove this instance? I searched everywhere for the class and I can’t find it, not even in the database. There has to be something somewhere that leads the system to try to create the instance, which I don’t understand.

2 answers

1

inside:

public static function helper($name)
{

put it like this:

public static function helper($name)
{

echo $name; die;

so you find the real name of the helper being called and can query who is calling him and remove it if necessary.

  • I did that and the result was "core/http" but I couldn’t understand what it really means.

  • is that I forgot that there are several helpers being called there ... take off the die see if you can find something on q Voce wants

  • yes, I did this without die and the last one that appears before the error is "core/http".

  • makes the following friend puts the module again and disables it only in xml so it would be first the correct step

  • I tried to do this, but I really have to remove it, since the module is in French and I installed the module in English, if you leave both the module in PT does not work.

  • not allowed to disable fr and only enable fr ?

  • No, it’s generating conflict and it doesn’t work.

Show 2 more comments

0

Felipe,

If you’re using linux:

grep -ril 'chronorelais' app/code/

if not give a find on the whole project by IDE that is using, for sure this instance is being generated in some file/class.

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

Abs

Browser other questions tagged

You are not signed in. Login or sign up in order to post.