Is Grimlock BuddyPress v1.4.7 deliberately no longer backwards compatible or is that a bug?
bp_activity_type_part() is a new function within v10.
[07-Feb-2022 23:35:24 UTC] PHP Fatal error: Uncaught Error: Call to undefined function bp_activity_type_part() in /example/wp-content/plugins/grimlock-buddypress/templates/activity/entry.php:38
#0 /example/wp-includes/template.php(772): require()
#1 /example/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(222): load_template(‘/Users/sam/Site…’, false, Array)
#2 /example/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(67): bp_locate_template(Array, true, false, Array)
#3 /example/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress-functions.php(1016): bp_get_template_part(‘activity/entry’)
#4 /example/wp-includes/class-wp-hook.php(307): bp_legacy_theme_post_update(”)
#5 /example/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array)
#6 /example/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
#7 /example/wp-adm in /example/wp-content/plugins/grimlock-buddypress/templates/activity/entry.php on line 38
Thanks.February 8, 2022 at 00:41 #38630
Hi Sam, 🙂
We recently made our plugin compatible with BuddyPress 10. However, this new version of BuddyPress brings new features. By updating Grimlock for BuddyPress, this plugin now uses the new features of BuddyPress 10. As BuddyPress is not updated on your website, it creates an issue.
We’ll look forward to ensure the compatibility with the old version of buddyPress. In case you’re facing other issues, don’t hesitate to report them to us.
Waiting the next update, I suggest you to open the entry.php (templates/activity/entry.php) and replace this line (38) :
<?php if ( bp_activity_has_content() ) : ?><div class="activity-inner"><?php bp_get_template_part( 'activity/type-parts/content', bp_activity_type_part() ); ?></div> <!-- .activity-inner --><?php endif; ?>
by this one:
<?php if ( bp_activity_has_content() ) : ?><div class="activity-inner"><?php bp_activity_content_body(); ?></div> <!-- .activity-inner --><?php endif; ?>
Best,February 8, 2022 at 15:15 #38669
We have just released a new update of Grimlock for Buddypress. Updating this plugin to the latest version should fix this issue.
After the update, the problem should now be fixed. However, you might still be seeing the issue because your browser cache is showing you an older version of the page (browsers do that to load pages faster). To see that the issue is resolved you will need to empty your browser cache and reload the page. If you want to read more on what browser cache is and how to clear it, here is an article that might help you: How to Clear Internet Cache in Every Major Browser.
Kindest regards,April 19, 2022 at 13:55 #39969
This topic has been inactive for a while now so we will be closing it to keep the forum tidy. Don't hesitate to create a new topic if you still need help and we'll be glad to help you!
The Themosaurus team.
The topic ‘Is it deliberate that Grimlock BuddyPress now requires BuddyPress v10?’ is closed to new replies.