WordPress.org

Ready to get started?Download WordPress

Forums

BP Code Snippets
[resolved] "Fatal error: call to undefined function" when I try to activate (2 posts)

  1. nathanmeffert
    Member
    Posted 1 year ago #

    I am getting this fatal error message when I try to activate BP Code Snippets:

    Fatal error: Call to undefined function bp_get_option() in /home/nmeffer/public_html/nathanmeffert.com/wp-content/plugins/bp-code-snippets/bp-code-snippets.php on line 80

    My site is http://www.nathanmeffert.com.

    Thanks in advance for any suggestions on how to fix! :)

    http://wordpress.org/plugins/bp-code-snippets/

  2. imath
    Member
    Plugin Author

    Posted 1 year ago #

    Ok, just checked your site, it looks like you are not using BuddyPress.. bp_get_option is a BuddyPress function. This plugin is a BuddyPress plugin. So it may explain the error if you are not using BuddyPress.

    So my suggestion would be to install BuddyPress ;)

    On my side, i need to change a bit the code to avoid this fatal error even if BuddyPress is not activated. Thanks for your feedback.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic