I've this error when I access to any pages of my website

Fatal error: Class 'IBP_SocialLinks_Helper_Data' not found in /Applications/MAMP/htdocs/ibp/app/Mage.php on line 547

I searched on many stack post but I not found the solution, can you help me please ?

So, this appears by the creation of a new system/general menu in my IBP/SocialLinks/etc/system.xml :

<?xml version="1.0"?>
        <ibp_sociallinks_config translate="label" module="ibp_sociallinks">
            <label>Social links</label>

So here is my IBP/SocialLinks/etc/config.xml :

<?xml version="1.0"?>
    <!-- ... -->
         <!-- ... -->

And here is the code of my IBP/SocialLinks/Helper/IBP_SocialLinks_Helper_Data.php

class IBP_SocialLinks_Helper_Data extends Mage_Core_Helper_Abstract

PS :

This command : php -f shell/compiler.php -- state gives me

Compiler Status:          Disabled
Compilation State:        Not Compiled
Collected Files Count:    0
Compiled Scopes Count:    0

1 Answer 1


Rename IBP_SocialLinks_Helper_Data.php to Data.php. The class name reflects the path below app/code/{core,community,local}/, not the file name (with _ as pseudo namespace separator that translates to /)

  • Thanks I understand how it works. I thinked by viewing tutorials that the name of the class should be the name of the file class...
    – Kpone
    Commented Aug 8, 2017 at 9:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.