BP Profile Search › Fatal error in combination with GeoMyWP plugin
-
AuthorPost
-
Paul
GuestHello,
If I have GeoMyWP plugin installed and then want to activate the profile search plugin it’s giving me this fatal error:
Fatal error: Cannot redeclare bps_buddypress() (previously declared in /home/413876.cloudwaysapps.com/ebgmtknyjy/public_html/wp-content/plugins/buddyboss-platform/bp-core/bp-core-profile-search.php:32) in /home/413876.cloudwaysapps.com/ebgmtknyjy/public_html/wp-content/plugins/bp-profile-search/bps-main.php on line 28
I need both plugins to work together as i’m using yours for my member directory and GeoMyWP for the WP Jobmanager Geolocation.
Hoping to hear from you soon.
andrea
Plugin AuthorHello Paul,
The problem lies in the BuddyBoss Platform file bp-core-profile-search.php, where they check if BP Profile Search and GEO my WP are activated, in order to define a dummy bps_buddypress() function.
In your case, when BP Profile Search is activated, BuddyBoss doesn’t detect it for some reason, adds the dummy bps_buddypress() function, and triggers the fatal error in BP Profile Search.
I suggest you submit your report to BuddyBoss support. Alternatively, if you only need the basic Profile Search features, you could disable BP Profile Search and use the BuddyBoss built-in version.
-
AuthorPost