WordPress.org

Ready to get started?Download WordPress

Forums

Cant delete users - blank screen! (7 posts)

  1. johnegg
    Member
    Posted 2 years ago #

    Hi all

    Im using buddypress plugin + buddyboss theme.

    I cant seem to delete any members from Settings – users.
    It takes me to the “are you sure?” page and when i click delete I just get a blank page.
    I then have to use the ‘back’ button on my browser & the user is still there.

    Help please!
    John

  2. Brad Markle
    Member
    Posted 2 years ago #

    Hi johnegg. Usually when you get a blank page with any php site (such as WordPress), you're getting a php error however your settings are set to hide errors (which is why you see nothing). You may want to set your php display_errors value to On in your php.ini

    Also, have you tried to switch to the default theme to rule out a theme issue?

  3. johnegg
    Member
    Posted 2 years ago #

    Thanks imh_brad. I dont have access to the php.ini though, is there another way to show errors?

    Im afraid to switch anything off in case I break anything else! :-)

  4. Brad Markle
    Member
    Posted 2 years ago #

    If your server runs php as an apache module, you'll need to use your .htaccess file. If your server runs php as a CGI module, you can use a php.ini file to update the settings.

    That's a bit confusing I know if you're already not familiar with updating php settings.

    I found that this page may help:

    http://codex.wordpress.org/Editing_wp-config.php

    Configure Error Log

    Because wp-config.php is loaded for every page view not loaded from a cache file, it is an excellent location to set php ini settings that control your php installation. This is useful if you don't have access to a php.ini file, or if you just want to change some settings on the fly.

    Here is an example that turns php error_logging on and logs them to a specific file. If WP_DEBUG is defined to true, the errors will also be saved to this file. Just place this above any require_once or include commands.

    @ini_set('log_errors','On');
    @ini_set('display_errors','On');
    @ini_set('error_log','/home/example.com/logs/php_error.log');
    /* That's all, stop editing! Happy blogging. */

  5. johnegg
    Member
    Posted 2 years ago #

    Thanks man, I'll try that!

  6. johnegg
    Member
    Posted 2 years ago #

    Worked perfect thanks again!]

    By the way the error was caused by the buddypress album plugin. I fixed it by commenting out the following line in bp-album-core.php

    bp_activity_delete(array('component' => $bp->album->id,'user_id' => $user_id));

    On line 528.

  7. Brad Markle
    Member
    Posted 2 years ago #

    Hi johnegg, I'm glad I was able to help!

Topic Closed

This topic has been closed to new replies.

About this Topic