Approve vs. Activate Pending Member: Fatal Error on Approving Pending Member
-
This may be related to a 10.4.0 issue i wrote about here: Fatal Error When Activating Pending Account
I installed BP 10.5.0 with WordPress 6.0.3 and the error mentioned above seems fixed. Thank you!
However…
When a new user signs up for an account the default email received by the admin uses a token {{{manage.url}}} which takes the admin to a confirmation page that says “Approve Membership Requests // You are about to send an approval email to the following user:”
When i click “Confirm” i am sent to the pending user page and the user is still pending and i receive an email saying a fatal error occurred. (See below for messaging.)
If i then click “Activate” for the pending user i go to a page that says: “Activate Pending Accounts // You are about to activate the following account:” I click confirm and the user is activated with no issue.
Obviously, there’s an issue with the “Approve Membership Requests” page. Maybe the user needs to be activated first? What’s the difference between activating and approving?
The main question: The default email sent to the admin has a token {{{manage.url}}} which takes me to the “Approve Membership Requests” page. What’s the token that takes the admin to the “Activate Pending Accounts” page?
~~~~~~~~~~~~~~~~
Here’s the error generated by the “Approve Membership Requests” page:
Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.0.3
Active theme: Avada Child (version 1.0.0)
Current plugin: BuddyPress (version 10.5.0)
PHP version 7.4.32Error Details
=============
An error of type E_ERROR was caused in line 213 of the file /home/nondualhealersas/public_html/wp-content/plugins/buddypress/bp-members/bp-members-notifications.php. Error message: Uncaught Error: Class ‘BP_Notifications_Notification’ not found in /home/nondualhealersas/public_html/wp-content/plugins/buddypress/bp-members/bp-members-notifications.php:213
Stack trace:
#0 /home/nondualhealersas/public_html/wp-includes/class-wp-hook.php(307): bp_members_mark_read_submitted_membership_request_notification(”)
#1 /home/nondualhealersas/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
#2 /home/nondualhealersas/public_html/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
#3 /home/nondualhealersas/public_html/wp-admin/admin-footer.php(78): do_action(‘admin_footer’, ”)
#4 /home/nondualhealersas/public_html/wp-admin/admin.php(297): require_once(‘/home/nondualhe…’)
#5 /home/nondualhealersas/public_html/wp-admin/users.php(11): require_once(‘/home/nondualhe…’)
#6 {main}
thrown
- You must be logged in to reply to this topic.