Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • wilcosky
    Participant

    @wilcosky

    Actually, you can stop the error logging too if your hosting is set up to log errors and you want to temporarily stop that as well. Because as mentioned above, this particular warning for me is happening about every second or every minute. It’s another thing to try to remember to remove later, but you could also add php_flag log_errors off to your .htaccess file.

    You may prefer to keep the error logging going and just wait for the fix. But, I already started down this path and so I thought I’d post this solution.


    wilcosky
    Participant

    @wilcosky

    I wish you had longer to edit posts here. My apologies for triple posting here, but I want to mention that what I put above actually may not stop the error logging. I thought it was working, but it is not. 🙂 Not with my hosting anyway. I’m sure the BuddyPress gods will fix this soon. May the force be with you all.


    wilcosky
    Participant

    @wilcosky

    If you’re like me and you do not want these PHP warnings added to your error log every second, you could temporarily do the following until the BuddyPress developers fix this. I stress temporarily because knowing about PHP errors and warnings is a good thing. Add this to your wp-config.php file:

    ini_set('error_reporting', 0 );

    Again, don’t forget to remove this once you know this is fixed so you can catch the next warning/error your site has.

    I know this is slightly pointless… why not just let the warnings log for now… but it’s more of a mental appeasement. 🙂

    Or, to really ensure no warnings/errors show in logs or on your live site (once again only until this is fixed), remove the existing define('WP_DEBUG', false); line in wp-config.php, and replace it with all of the following:

    ini_set('display_errors','Off');
    ini_set('error_reporting', 0 );
    define('WP_DEBUG', false);
    define('WP_DEBUG_DISPLAY', false);

    wilcosky
    Participant

    @wilcosky

    I can confirm this is happening.

Viewing 4 replies - 1 through 4 (of 4 total)
Skip to toolbar