Title: [Plugin: BP Code Snippets] Cannot be activated
Last modified: August 20, 2016

---

# [Plugin: BP Code Snippets] Cannot be activated

 *  Resolved [krokonoster](https://wordpress.org/support/users/krokonoster/)
 * (@krokonoster)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-bp-code-snippets-cannot-be-activated/)
 * I installed the plugin exactly like I was told in the “Installation” section.
 * When I click “Activate” though, I get the following error:
    `Fatal error: Call
   to undefined function bp_get_option() in C:\hostingspaces\krok\mysite.com\wwwroot\
   wp-content\plugins\bp-code-snippets\bp-code-snippets.php on line 78`
 * A search revealed the author telling others the plugin should be located in your
   wordpress installation root. Then what?
 * Do not even waste your time with this one.
 * [http://wordpress.org/extend/plugins/bp-code-snippets/](http://wordpress.org/extend/plugins/bp-code-snippets/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Mathieu Viet](https://wordpress.org/support/users/imath/)
 * (@imath)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-bp-code-snippets-cannot-be-activated/#post-2817819)
 * Hi Krokonoster,
 * bp_get_option() is a BuddyPress function you can try to use get_option instead
   or get_blog_option if multisite.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: BP Code Snippets] Cannot be activated’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/bp-code-snippets_d2d4c8.svg)
 * [BP Code Snippets](https://wordpress.org/plugins/bp-code-snippets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bp-code-snippets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bp-code-snippets/)
 * [Active Topics](https://wordpress.org/support/plugin/bp-code-snippets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bp-code-snippets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bp-code-snippets/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Mathieu Viet](https://wordpress.org/support/users/imath/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-bp-code-snippets-cannot-be-activated/#post-2817819)
 * Status: resolved