Support » Plugin: BuddyPress Edit Activity » Plugin in not working recently

  • Plugin in not working recently.

    I can’t edit any activity post (i’m admin or simple user).

    WordPress 4.7.3
    BuddyPress 2.8.2
    BuddyPress Edit Activity 1.0.8

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter Airat HalitovšŸ”„

    (@airathalitov)

    @buddyboss

    You need to check this log:

    PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function bea_activity_content(), 1 passed in /site_path/wp-includes/class-wp-hook.php on line 300 and exactly 2 expected in /site_path/wp-content/plugins/buddyboss-media/includes/media-edit-activity.php:56
    Stack trace:
    #0 /site_path/wp-includes/class-wp-hook.php(300): bea_activity_content('test 2')
    #1 /site_path/wp-includes/plugin.php(203): WP_Hook->apply_filters('test 2', Array)
    #2 /site_path/wp-content/plugins/buddypress-edit-activity/includes/main-class.php(465): apply_filters('bea_activity_co...', 'test 2', 1488)
    #3 /site_path/wp-content/plugins/buddypress-edit-activity/includes/main-class.php(449): BuddyBoss_Edit_Activity->save_activity_content(Array)
    #4 /site_path/wp-includes/class-wp-hook.php(298): BuddyBoss_Edit_Activity->ajax_save_activity_content('')
    #5 /home/admin in /site_path/wp-content/plugins/buddyboss-media/includes/media-edit-activity.php on line 56, referer: https://site.com/members/user/

    PHP 7.1

    I can confirm the plugin broke with php 7.1

    Plugin Author BuddyBoss

    (@buddyboss)

    @yward
    Sorry for the trouble, we are working on media plugin, we will release a new version update shortly which will be compatible with PHP 7.1

    @buddyboss Thank you for the prompt response!

    Plugin Author BuddyBoss

    (@buddyboss)

    Hi @yward

    replace following code inside
    includes/media-edit-activity.php
    Line 61

    add_filter( 'bea_activity_content', 'bea_activity_content' );
    with
    add_filter( 'bea_activity_content', 'bea_activity_content', 10, 2 );

    Let me know if above helps.

    Thread Starter Airat HalitovšŸ”„

    (@airathalitov)

    It’s working

    Plugin Author BuddyBoss

    (@buddyboss)

    Cool, we will include in our coming update.

    The last update was 2 years ago, how about a update @buddyboss?

    Plugin Support BuddyBoss Support

    (@bbwpsupport)

    Hello @angrywarrior

    Thanks for the reminder šŸ™‚
    We are adding compatibility with more plugins.
    Our QA team is testing the plugin. Hopefully, We will release a new build in this week.

    Thanks for using our plugin.

    BuddyBoss Support

    You are welcome!

    Looking forward to the update then! šŸ˜‰

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Plugin in not working recently’ is closed to new replies.