I'm developing a buddypress site and i've used the BP Profile Search plugin however it's outputting an error.
Fatal error: Call to undefined function bp_profile_groups() in /home/ntibncom/public_html/wp-content/plugins/bp-profile-search/bps-searchform.php on line 40
I've installed the plugin correctly and have included the correct code into the members/index.php template in the correct area
details: http://www.blogsweek.com/bp-profile-search/
I had it working before however I have now started building by starting a child theme based on the default theme.
Any ideas on how to fix this?
Thanks
Arnav Joy answers:
try activating the parent theme and check if you still get this error
stickybeak comments:
I just tried this and I get the same error.
I'm not sure what's changed but I did have it working at some stage when the child theme didn't exist.
Arnav Joy comments:
try activating twetnyeleven theme and then test it
stickybeak comments:
same error in twentyeleven
Arnav Joy comments:
deactivate all the plugins of buddypress and then activate them
stickybeak comments:
just tried this. same error
Arnav Joy comments:
keep backup of your site and then delete buddypress form plugins folder and then from your theme folder (if included files)
download buddypress again then install it and check
stickybeak comments:
Only just got around to doing this now.
I'm not sure what happened there but for some reason it's now working - Thanks for the walkthrough
Plugarized answers:
What the error is saying is that the bp_profile_groups() function is missing,
Check in /bp-xprofile/bp-xprofile-template.php -> line 187 and see if it is like the following;
function bp_profile_groups() {
global $profile_template;
return $profile_template->profile_groups();
}
If it is missing then copy and paste the code above, otherwise re upload the whole file "bp-xprofile-template.php" the source code is located [[LINK href="http://phpxref.ftwr.co.uk/buddypress/bp-xprofile/bp-xprofile-template.php.source.txt"]]Here [[/LINK]]you can copy and paste it to the file you have.
If it doesnt work, check that you have the latest version of buddypress and the latest version of BP profile search which is at 3.1
http://wordpress.org/extend/plugins/bp-profile-search/
Francisco Javier Carazo Gil answers:
There are some kind of problem with paths. This funciton is defined in /bp-xprofile/bp-xprofile-template.php -> line 187
Other BP functions works?