slaFFik / buddypress-groups-extras

Adding missing functionality to BuddyPress Groups.
https://wordpress.org/plugins/buddypress-groups-extras/
13 stars 12 forks source link

Fatal error: Uncaught Error: Call to undefined function add_blog_option() #131

Closed slaFFik closed 3 years ago

slaFFik commented 7 years ago

Fatal error: Uncaught Error: Call to undefined function add_blog_option() in /DATA/htdocs/wp-content/plugins/buddypress-groups-extras/bpge.php:46 Stack trace: 0) /DATA/htdocs/wp-includes/class-wp-hook.php(298): bpge_activation('') 1) /DATA/htdocs/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters('', Array) 2) /DATA/htdocs/wp-includes/plugin.php(453): WP_Hook->do_action(Array) 3) /DATA/htdocs/wp-admin/plugins.php(166): do_action('activate_buddyp...') 4) {main} thrown in /DATA/htdocs/wp-content/plugins/buddypress-groups-extras/bpge.php on line 46

slaFFik commented 3 years ago

Most likely the user used an ancient version of BuddyPress (before 1.2). Because starting from BP 1.2 BP itself provides an abstraction for this function.