612-293-8629 HELLO@THEMIGHTYMO.COM

I have spent the last 6 hours figuring this out, so I hope y’all can save yourselves some headaches by way of this post.

When using the User Activation Keys plugin and trying to “approve” an account, my BuddyPress site was giving me this error:

Fatal error: Call to undefined function bp_page_title() in /home/
mydomainuser/public_html/mydomain.org/wp-content/plugins/buddypress/
bp-themes/bp-default/header.php on line 9

It turns out that the plugin was incorrectly displaying the activation url. To fix the issue, I had to edit the plugin file, ds_wp3_user_activation_keys.php, which is in “wp-content”–>”plugins”–>”user-activation-keys”.

Change line #73 to this:

echo '<td><a href="' . site_url() . '/' . BP_ACTIVATION_SLUG . '?key=' . $rows['activation_key'] . '&e=1" target="_blank">approve</a> | <a href="' . wp_nonce_url( $location . '&delete='.$rows['activation_key'], 'activation_key' ) . '">delete unused key</a></td>';

Enjoy!

PHONE, EMAIL, TEXT

We love to communicate: phone, email, text, Facebook, Twitter, LinkedIn, you name it.

LOCATIONS

PAYMENTS ACCEPTED

Call Now

Enroll in Our Free Beginner WordPress Class - delivered to your Email Inbox!

Become a WordPress superstar for FREE in only minutes a day!  Our free Beginner WordPress Email Class will be delivered to your inbox!

Learn More 

You Have Successfully Enrolled! Prepare For Amazing!