Title: PHP Strict Errors
Last modified: August 21, 2016

---

# PHP Strict Errors

 *  [qstudio](https://wordpress.org/support/users/qlstudio/)
 * (@qlstudio)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/php-strict-errors-1/)
 * 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/](https://wordpress.org/plugins/buddypress-activity-plus/)

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

 *  Plugin Support [Predrag – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support1/)
 * (@wpmudev-support1)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/php-strict-errors-1/#post-5013468)
 * Hi [@qstudio](https://wordpress.org/support/users/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/10768663/1287548)
   
   [http://stackoverflow.com/a/4684514/1287548](http://stackoverflow.com/a/4684514/1287548)
 * Is it affecting any of your functionality?
 * Kind Regards,
    WPMU DEV
 *  [maijavilkina](https://wordpress.org/support/users/maijavilkina/)
 * (@maijavilkina)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/php-strict-errors-1/#post-5013585)
 * 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](https://wordpress.org/support/users/wpmudev-support1/)
 * (@wpmudev-support1)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/php-strict-errors-1/#post-5013588)
 * Hi [@maijavilkina](https://wordpress.org/support/users/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](https://wordpress.org/support/users/kitchin/)
 * (@kitchin)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/php-strict-errors-1/#post-5013595)
 * Thanks for posting this fix.
 *  Plugin Support [Predrag – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support1/)
 * (@wpmudev-support1)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/php-strict-errors-1/#post-5013597)
 * You are most welcome, if we can be of any further assistance please don’t hesitate
   to ask 🙂
 *  [tim.samuelsson](https://wordpress.org/support/users/timsamuelsson/)
 * (@timsamuelsson)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/php-strict-errors-1/#post-5013598)
 * Are you planing to release a fixed version any time soon?
 *  Plugin Support [Predrag – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support1/)
 * (@wpmudev-support1)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/php-strict-errors-1/#post-5013599)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/buddypress-activity-plus_db6c43.svg)
 * [BuddyPress Activity Plus](https://wordpress.org/plugins/buddypress-activity-plus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/buddypress-activity-plus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/buddypress-activity-plus/)
 * [Active Topics](https://wordpress.org/support/plugin/buddypress-activity-plus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/buddypress-activity-plus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/buddypress-activity-plus/reviews/)

## Tags

 * [errors](https://wordpress.org/support/topic-tag/errors/)

 * 7 replies
 * 5 participants
 * Last reply from: [Predrag – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support1/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/php-strict-errors-1/#post-5013599)
 * Status: not resolved