Buddypress Activity Plus – Undefined constant BpfbInstaller

Notice: Use of undefined constant BpfbInstaller – assumed ‘BpfbInstaller’ in /var/www/vhosts/exampe.com/httpdocs/wp-content/plugins/buddypress-activity-plus/bpfb.php on line 67


  • Timothy
    • Chief Pigeon

    Can you please let me know where you get this error so that I may reproduce it.

    I just installed the plugin but it seems to be working fine for me. If you could walk be through how you get to the error then I can reproduce it.

    You may wish to ensure the plugin was uploaded correctly and that the files and folders are intact. This can often be an issue.

  • ivn
    • The Crimson Coder

    I actually fixed this error. Just getting ready to post the problem.

    the register_activation_hook was missing the ‘ ‘ surrounding the BpfbInstaller on line 67 of buddypress-activity-plus/bpfb.php

    Changed to:

    register_activation_hook(__FILE__, array(‘BpfbInstaller’, ‘install’:wink:);


    register_activation_hook(__FILE__, array(BpfbInstaller, ‘install’:wink:);

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.