It seems that in your website this file does not exists, could you check?
require_once( $this->plugin_path . “bp-groups/classes/class-bp-groups-member.php” );
Which is the value of $this->plugin_path in your case?
plugins/buddyboss-platform
Uhm this is strange so the file: WP_PLUGIN_DIR . “/buddyboss-platform/bp-groups/classes/class-bp-groups-member.php
The problem is not that the file does not exist.
Could you give me more details about the error? There are some … that may contain some detail.
I’m confused. There’s buddyboss-platform and there’s buddyboss-platform-pro. Is there a chance it’s looking at the buddyboss-platform-pro?
Sorry, I didn’t really print what’s the exact value of the plugin path.
Sorry as BuddyBoss is not a free plugin I cannot test so good as I can test with others.
Anyway I have just checked it and the correct path is inside /buddyboss-platform/bp-groups/classes/ and the path is correct.
Could you check it?
Here’s the full error:
[Fri Feb 17 18:52:48.387581 2023] [proxy_fcgi:error] [pid 2483:tid 139865953896192] [client 112.204.171.15:0] AH01071: Got error 'PHP message: PHP Warning: require_once(/home/364600.cloudwaysapps.com/dbzrfhvxkb/public_html/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-member.php): failed to open stream: No such file or directory in /home/364600.cloudwaysapps.com/dbzrfhvxkb/public_html/wp-content/plugins/import-users-from-csv-with-meta/addons/buddypress.php on line 87PHP message: PHP Fatal error: require_once(): Failed opening required '/home/364600.cloudwaysapps.com/dbzrfhvxkb/public_html/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-member.php' (include_path='.:/usr/share/php') in /home/364600.cloudwaysapps.com/dbzrfhvxkb/public_html/wp-content/plugins/import-users-from-csv-with-meta/addons/buddypress.php on line 87', referer: https://club.propellerclubtampa.com/wp-admin/tools.php?page=acui&tab=export
This is the plugin path from plugins/import-users-from-csv-with-meta/addons/buddypress.php
$this->plugin_path = is_plugin_active( 'buddypress/bp-loader.php' ) ? WP_PLUGIN_DIR . "/buddypress/" : WP_PLUGIN_DIR . "/buddyboss-platform/";
Hello,
It seems that, the else in this code doesn’t work but it should, right?
$this->plugin_path = is_plugin_active( 'buddypress/bp-loader.php' ) ? WP_PLUGIN_DIR . "/buddypress/" : WP_PLUGIN_DIR . "/buddyboss-platform/";
For now, I removed the condition and just set it to:
$this->plugin_path = WP_PLUGIN_DIR . "/buddyboss-platform/";
And now it works. But my change will be removed as soon as there’s a plugin update. What should be my next step in this case?
Do you have BuddyPress activated in your site?
None. Just the buddyboss-platform.
Could you tell me what is the value of:
is_plugin_active( ‘buddypress/bp-loader.php’ )
In your site?
So BuddyBoss is shortcircuiting the normal way to act of this function :s
I have to adapt it to this, I will fix it in the next release.