Support » Plugin: BuddyPress Registration Options » After approving: this page isn’t working (error 500)

  • Resolved DJF3


    When I approve a request, I see
    “This page isn’t working is currently unable to handle your request.
    HTTP error 500”

    The approved users don’t receive an email but they are approved.

    What could I do to troubleshoot the problem?

    WordPress 4.9.5
    BP registration: 4.3.4

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Michael Beckwith


    Biggest issue with that error, that I mentally complain about any time I see it, is that it gives zero indication of the actual source of the issue. Quite frustrating 😀

    That said, the best I can say is check if you have error logging enabled with your hosting account, and if so, check what’s available in the logs that look suspect. Especially anything that mentions “Fatal error” or “Fatal PHP error”.

    Haha, I agree.
    So I was able to turn on some logging and this is the result:

    [05-Apr-2018 21:33:13 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function bp_core_process_spammer_status() in /home/username/
    Stack trace:
    #0 /home/username/ bp_registration_options_form_actions('')
    #1 /home/username/ WP_Hook->apply_filters(NULL, Array)
    #2 /home/username/ WP_Hook->do_action(Array)
    #3 /home/username/ do_action('admin_init')
    #4 {main}
      thrown in /home/username/ on line 270

    Just downloaded all plugin files and the function


    only appears to be in file ‘admin.php’.

    When checking the github repo I notice the same thing.

    BTW, I just commented out the line causing this error and a different error appears:

    And this function “bp_is_active()” does not appear to be defined in any of the bp-reg-options plugin.

      [05-Apr-2018 21:57:34 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function bp_is_active() in /home/username/
      Stack trace:
      #0 /home/username/ bp_registration_options_bp_core_register_account(11)
      #1 /home/username/ WP_Hook->apply_filters(NULL, Array)
      #2 /home/username/ WP_Hook->do_action(Array)
      #3 /home/username/ do_action('user_register', 11)
      #4 /home/username/ wp_insert_user(Array)
      #5 /home/username/ wp_create_user('usertest9', 'vGlCsvY7z5te', 'dirkjanu+userte...')
      #6 /home/username/ register_new_user('usertest9', 'dirkjanu+userte...')
      #7 {main}
        thrown in /home/username/ on line 128

    So sorry for the many updates, but just wanted to let you know that a membership deny does work well and the user received the email within a second after I clicked deny.

    [ Please do not bump. ]

    Plugin Author Michael Beckwith


    Forgive me, I’m not sure why I didn’t see any of these replies come in.

    I do not presently know why you may be experiencing those fatal errors of undefined functions, because we don’t attempt to use them until well after they should be loaded.

    bp_core_process_spammer_status isn’t used until admin_init hook, and bp_is_active is on user_register hook.

    Do you know if you’re doing any odd or unique customizations for BuddyPress itself? Perhaps try re-uploading the BuddyPress core files in case somehow a recent update was only partially done?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘After approving: this page isn’t working (error 500)’ is closed to new replies.