User Activation Keys Plugin Displaying Error
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/
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>';