Fatal error: Class 'Lanot_EasySticker_Helper_Data' not found in /public_html/app/Mage.php on line 546
-
16-10-2019 - |
Question
I am getting the following error (except a different class each time applicable to the extension) every time I try to install an extension: Fatal error: Class 'Lanot_EasySticker_Helper_Data' not found in /home/aaadmin/public_html/app/Mage.php on line 546. I have seen it on the dashboard, and in some modules- not til accessing the configuration area. This is the part in Mage.php that reads the following:
/**
* Retrieve helper object
*
* @param string $name the helper name
* @return Mage_Core_Helper_Abstract
*/
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);
}
If it's a permission issue. I haven't seemed to be able to figure it out. Please advise.
Solution
The package on Magento Connect seems to work just fine. I tested it against 1.7.0.2.
Since you said you had compilations turned on, disable that, clear your cache and try again.
Afterward, rerun your compilation.
I hope this helps.
OTHER TIPS
Make sure the class exists:
If it doesn't create it:
File: app/code/local/Lanot/EasySticker/Helper/Data.php
with this content
<?php
class Lanot_EasySticker_Helper_Data extends Mage_Core_Helper_Abstract{
}