• 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://www.ads-software.com/plugins/buddypress-activity-plus/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Predrag – WPMU DEV Support

    (@wpmudev-support1)

    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.

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

    Is it affecting any of your functionality?

    Kind Regards,
    WPMU DEV

    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.

    Plugin Support Predrag – WPMU DEV Support

    (@wpmudev-support1)

    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

    kitchin

    (@kitchin)

    Thanks for posting this fix.

    Plugin Support Predrag – WPMU DEV Support

    (@wpmudev-support1)

    You are most welcome, if we can be of any further assistance please don’t hesitate to ask ??

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

    Plugin Support Predrag – WPMU DEV Support

    (@wpmudev-support1)

    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

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘PHP Strict Errors’ is closed to new replies.