Skip to:
Content
Pages
Categories
Search
Top
Bottom

Critical Error While Activating BuddyPress Follow


  • GaianHuuto
    Participant

    @gaianhuuto

    Hi,

    Any suggestions how to proceed. I can install BuddyPress Follow to my site but when I’m activating it the whole site crashes. Here is the log:

    [18-Aug-2024 17:42:18 UTC] PHP Fatal error: Uncaught Error: Call to undefined function create_function() in /var/www/domains/dokkarit.fi/www/wordpress/wp-content/plugins/buddypress-followers/_inc/bp-follow-widgets.php:113
    Stack trace:
    #0 /var/www/domains/dokkarit.fi/www/wordpress/wp-content/plugins/buddypress-followers/bp-follow-core.php(71): require()
    #1 /var/www/domains/dokkarit.fi/www/wordpress/wp-content/plugins/buddypress-followers/bp-follow-core.php(46): BP_Follow_Component->includes()
    #2 /var/www/domains/dokkarit.fi/www/wordpress/wp-content/plugins/buddypress-followers/bp-follow-core.php(347): BP_Follow_Component->__construct()
    #3 /var/www/domains/dokkarit.fi/www/wordpress/wp-includes/class-wp-hook.php(324): bp_follow_setup_component()
    #4 /var/www/domains/dokkarit.fi/www/wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #5 /var/www/domains/dokkarit.fi/www/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action()
    #6 /var/www/domains/dokkarit.fi/www/wordpress/wp-content/plugins/buddypress/bp-core/bp-core-dependency.php(357): do_action()
    #7 /var/www/domains/dokkarit.fi/www/wordpress/wp-includes/class-wp-hook.php(324): bp_loaded()
    #8 /var/www/domains/dokkarit.fi/www/wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #9 /var/www/domains/dokkarit.fi/www/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action()
    #10 /var/www/domains/dokkarit.fi/www/wordpress/wp-settings.php(555): do_action()
    #11 /var/www/domains/dokkarit.fi/www/wordpress/wp-config.php(112): require_once(‘…’)
    #12 /var/www/domains/dokkarit.fi/www/wordpress/wp-load.php(50): require_once(‘…’)
    #13 /var/www/domains/dokkarit.fi/www/wordpress/wp-blog-header.php(13): require_once(‘…’)
    #14 /var/www/domains/dokkarit.fi/www/wordpress/index.php(17): require(‘…’)
    #15 {main}
    thrown in /var/www/domains/dokkarit.fi/www/wordpress/wp-content/plugins/buddypress-followers/_inc/bp-follow-widgets.php on line 113″

Viewing 5 replies - 1 through 5 (of 5 total)

  • Venutius
    Moderator

    @venutius

    I’ve got a fixed version of this on Buddyuser dot com (The BP Follow page), The other alternative is to look up those errors on Stack Overflow and apply the fixes yourself.

    I’ve asked to contribute to the Followers Plugin and have had a positive response, so hopefully, this will be folded into the WordPress Library soonish.


    emaralive
    Participant

    @emaralive

    The create_function() was deprecated as of PHP 7.2.0 and was removed in 8.0.0 (see create_function). Since you are using PHP 8.x then, it would be best to not use this plugin until it has had all compatibility issues resolved. On another note, there seems to be some interest by individuals other than the original developers to provide some sort of future support for this plugin (see Would like to take over this plugin, or help – Support forum for BuddyPress Follow).


    emaralive
    Participant

    @emaralive

    Ugh, @venutius, I didn’t realize that you had already responded.


    GaianHuuto
    Participant

    @gaianhuuto

    Thank you. By updating to the newer version I got rid of the ‘critical error’. Hopefully you will support and update the plugin.


    Lars Henriksen
    Participant

    @adjunkten

    Hi

    1) For my BP community, it would be nice if ‘Buddypress Follow’ was part of core and replaced the ‘friends’ functionality. It should be either/or – both together is confusing for users, IMO.

    2) Thanks @venutius, for updating the plugin. I tried it on my staging site. When I clicked ‘follow’, there was a critical error, but refreshing the site fixed it, so that it showed 1 follow on user’s profile.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Skip to toolbar