PHP fatal error – possible bug
When trying to connect the keyring API plugin to connect to eventbrite, the process fails with the following error: Fatal error: Call to undefined function bp_blogs_delete_activity() in […]/wp-content/plugins/buddypress/bp-blogs/bp-blogs-functions.php on line 914
The eventbrite connection process requires you to authorise your WP site on their server with a redirect back to your site that includes auth nonces in the URL. This is the point it fails.
The keyring plugin tries to delete a post, which triggers the error. A temporary fix is to check the call to
if (function_exists('bp_blogs_delete_activity')). This allows the authorisation of eventbrite to proceed.
It seems to me that the action
bp_blogs_remove_postis being added in a way that does not guarantee that the file wp-content/plugins/buddypress/bp-blogs/bp-blogs-activity.php has been included.
- The topic ‘PHP fatal error – possible bug’ is closed to new replies.