These are the Errors I get from Fundraising plugin when I load Buddypress. What am I doing wrong?

Strict Standards: Declaration of
These are the Errors I get from Fundraising plugin when I load Buddypress. What am I doing wrong?

BP_WDF_Component::setup_globals() should be compatible with BP_Component::setup_globals($args = Array) in /home/hilton8/public_html/ima/wp-content/plugins/fundraising/lib/bp/bp-wdf-loader.php on line 334

Strict Standards: Declaration of BP_WDF_Component::includes() should be compatible with BP_Component::includes($includes = Array) in /home/hilton8/public_html/ima/wp-content/plugins/fundraising/lib/bp/bp-wdf-loader.php on line 334

Strict Standards: Declaration of BP_WDF_Component::setup_nav() should be compatible with BP_Component::setup_nav($main_nav = Array, $sub_nav = Array) in /home/hilton8/public_html/ima/wp-content/plugins/fundraising/lib/bp/bp-wdf-loader.php on line 334

  • ianvhilton

    When I use Chrome there are even more...

    Strict Standards: Declaration of BP_WDF_Component::setup_globals() should be compatible with BP_Component::setup_globals($args = Array) in /home/hilton8/public_html/ima/wp-content/plugins/fundraising/lib/bp/bp-wdf-loader.php on line 334

    Strict Standards: Declaration of BP_WDF_Component::includes() should be compatible with BP_Component::includes($includes = Array) in /home/hilton8/public_html/ima/wp-content/plugins/fundraising/lib/bp/bp-wdf-loader.php on line 334

    Strict Standards: Declaration of BP_WDF_Component::setup_nav() should be compatible with BP_Component::setup_nav($main_nav = Array, $sub_nav = Array) in /home/hilton8/public_html/ima/wp-content/plugins/fundraising/lib/bp/bp-wdf-loader.php on line 334

    Strict Standards: Non-static method BP_XProfile_ProfileData::get_value_byid() should not be called statically in /home/hilton8/public_html/ima/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-functions.php on line 175

    Strict Standards: Non-static method BP_Core_User::get_core_userdata() should not be called statically in /home/hilton8/public_html/ima/wp-content/plugins/buddypress/bp-members/bp-members-functions.php on line 161

    Warning: Cannot modify header information - headers already sent by (output started at /home/hilton8/public_html/ima/wp-content/plugins/fundraising/lib/bp/bp-wdf-loader.php:334) in /home/hilton8/public_html/ima/wp-includes/pluggable.php on line 899

    Strict Standards: Non-static method BP_Core_Notification::get_all_for_user() should not be called statically in /home/hilton8/public_html/ima/wp-content/plugins/buddypress/bp-members/bp-members-notifications.php on line 86

  • ianvhilton

    Hi Vaughan, Forgot to thank you for all the quick replies...

    I added this to my php.ini

    error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED);

    And it's still not getting rid of the errors. What am I doing wrong?

    hoping this message finds you well,

    Ian

    ; error_reporting is a bit-field. Or each number up to get desired error
    ; reporting level
    ; E_ALL - All errors and warnings
    ; E_ERROR - fatal run-time errors
    ; E_WARNING - run-time warnings (non-fatal errors)
    ; E_PARSE - compile-time parse errors
    ; E_NOTICE - run-time notices (these are warnings which often result
    ; from a bug in your code, but it's possible that it was
    ; intentional (e.g., using an uninitialized variable and
    ; relying on the fact it's automatically initialized to an
    ; empty string)
    ; E_CORE_ERROR - fatal errors that occur during PHP's initial startup
    ; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's
    ; initial startup
    ; E_COMPILE_ERROR - fatal compile-time errors
    ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    ; E_USER_ERROR - user-generated error message
    ; E_USER_WARNING - user-generated warning message
    ; E_USER_NOTICE - user-generated notice message
    ;
    ; Examples:
    ;
    ; - Show all errors, except for notices
    ;
    ;error_reporting = E_ALL & ~E_NOTICE
    ;
    ; - Show only errors
    ;
    ;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
    ;
    ; - Show all errors except for notices
    ;

  • ianvhilton

    Just more info...

    Here's how my php.ini is configured... I'm not sure if this is helpful...

    ; error_reporting is a bit-field. Or each number up to get desired error
    ; reporting level
    ; E_ALL - All errors and warnings
    ; E_ERROR - fatal run-time errors
    ; E_WARNING - run-time warnings (non-fatal errors)
    ; E_PARSE - compile-time parse errors
    ; E_NOTICE - run-time notices (these are warnings which often result
    ; from a bug in your code, but it's possible that it was
    ; intentional (e.g., using an uninitialized variable and
    ; relying on the fact it's automatically initialized to an
    ; empty string)
    ; E_CORE_ERROR - fatal errors that occur during PHP's initial startup
    ; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's
    ; initial startup
    ; E_COMPILE_ERROR - fatal compile-time errors
    ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    ; E_USER_ERROR - user-generated error message
    ; E_USER_WARNING - user-generated warning message
    ; E_USER_NOTICE - user-generated notice message
    ;
    ; Examples:
    ;
    ; - Show all errors, except for notices
    ;
    ;error_reporting = E_ALL & ~E_NOTICE
    ;
    ; - Show only errors
    ;
    ;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
    ;
    ; - Show all errors except for notices
    ;
    error_reporting = E_ALL & ~E_NOTICE

  • Maniu

    Hey @ianvhilton

    It seems to me that something is overwriting php settings which is strange. Is there something else installed in your WP? could you try only with default theme enabled?

    Also, is there a company that is hosting this site for you? Could you contact them so they will make sure php is configured in a way that wont display strict notices?

    You can try changing(where there is no " ; " before - last line from your previous post.
    error_reporting = E_ALL & ~E_NOTICE
    to
    error_reporting = E_ERROR
    In theory it should not help but it is worth a try

    Generally this warning are nothing to worry about but you need them gone, thats for sure.

    Thanks,
    Maniu

  • United

    I've got this too

    Unfortunately none of this seems to solve

    Its a local dev environment with:
    https://github.com/10up/varying-vagrant-vagrants

    Ubuntu 12.04 LTS (Precise Pangolin)
    WordPress Develop
    WordPress Stable
    WordPress Trunk
    WP-CLI
    nginx 1.4.3
    mysql 5.5.32
    php-fpm 5.4.20
    memcached 1.4.13
    PHP memcache extension 3.0.8
    PHP xdebug extension 2.2.3
    PHP imagick extension 3.1.0RC2
    xdebug 2.2.3
    PHPUnit 3.7.24
    ack-grep 2.04
    git 1.8.4
    subversion 1.7.9
    ngrep
    dos2unix
    Composer
    phpMemcachedAdmin 1.2.2 BETA
    phpMyAdmin 4.0.9 (multi-language)
    Webgrind 1.1
    NodeJs Current Stable Version
    grunt-cli Current Stable Version
  • United

    These are my errors:

    Displays on fresh install with only buddypress

    Standards: Only variables should be assigned by reference in /srv/www/wordpress-develop/src/wp-content/plugins/buddypress/bp-loader.php on line 602
    
    Strict Standards: Non-static method BP_XProfile_ProfileData::get_value_byid() should not be called statically in /srv/www/wordpress-develop/src/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-functions.php on line 175
    
    Strict Standards: Non-static method BP_Core_User::get_core_userdata() should not be called statically in /srv/www/wordpress-develop/src/wp-content/plugins/buddypress/bp-members/bp-members-functions.php on line 161
    Skip to main content
    
    Strict Standards: Non-static method BP_Core_Notification::get_all_for_user() should not be called statically in /srv/www/wordpress-develop/src/wp-content/plugins/buddypress/bp-members/bp-members-notifications.php on line 86

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.