WordPress.org

Forums

BuddyPress Activity Plus
PHP Strict Errors (8 posts)

  1. qstudio
    Member
    Posted 1 year ago #

    Hey,

    The plugin gives the following strict errors:

    Non-static method BpfbInstaller::check_paths() should not be called statically --- wp-content/plugins/buddypress-activity-plus/lib/class_bpfb_installer.php:34

    Non-static method BpfbBinder::serve() should not be called statically --- wp-content/plugins/buddypress-activity-plus/bpfb.php:119

    Non-static method BpfbCodec::register() should not be called statically, assuming $this from incompatible context --- wp-content/plugins/buddypress-activity-plus/lib/class_bpfb_binder.php:376

    Please can you check into the cause and issue a fix for these?

    Thanks

    https://wordpress.org/plugins/buddypress-activity-plus/

  2. WPMU DEV
    Member
    Posted 1 year ago #

    Hi @qstudio,

    Greetings and thanks for posting on the forums.

    I have notified the plugin developer to fix it in the plugin.

    In the meanwhile to fix it you can try using the solutions posted in the following replies.

    http://stackoverflow.com/a/10768663/1287548
    http://stackoverflow.com/a/4684514/1287548

    Is it affecting any of your functionality?

    Kind Regards,
    WPMU DEV

  3. maijavilkina
    Member
    Posted 1 year ago #

    Hi!

    I also had the notices showing up and the plugin did not work on installation. After fixing the errors the plugin works fine.
    So yes, it does affect functionality, at least on my site.

  4. WPMU DEV
    Member
    Posted 1 year ago #

    Hi @maijavilkina,

    Sorry to hear of the problem you are having.

    The notices are fixed in the plugin and the new updated updated plugin version will be released soon.

    In the meanwhile you can fix this issue by editing the BuddyPress Activity Plus plugin file as following.

    BuddyPress Activity Plus plugin file:
    buddypress-activity-plus/lib/class_bpfb_installer.php

    Before editing on line number 43 :

    function check_paths () {

    After editing on line number 43 :

    static function check_paths () {

    BuddyPress Activity Plus plugin file:
    buddypress-activity-plus/lib/class_bpfb_binder.php

    Before editing on line number 14 :

    function serve () {

    After editing on line number 14 :

    static function serve () {

    BuddyPress Activity Plus plugin file:
    buddypress-activity-plus/lib/class_bpfb_codec.php

    Before editing on line number 95 :

    static function register () {

    After editing on line number 95 :

    static function register () {

    Note: You are making changes in the plugin file and these changes will be overwritten and lost when you update the plugin and you will have to make these again after plugin updation.

    Cheers,
    WPMU DEV

  5. kitchin
    Member
    Posted 10 months ago #

    Thanks for posting this fix.

  6. WPMU DEV
    Member
    Posted 9 months ago #

    You are most welcome, if we can be of any further assistance please don't hesitate to ask :)

  7. tim.samuelsson
    Member
    Posted 8 months ago #

    Are you planing to release a fixed version any time soon?

  8. WPMU DEV
    Member
    Posted 8 months ago #

    Hi there,

    We have released the BuddyPress Activity Plus plugin version containing fix to resolve this issue so please update your BuddyPress Activity Plus plugin to the latest version and let us know how it works for you.

    Cheers,
    Vinod Dalvi

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • BuddyPress Activity Plus
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags