Plugin Contributor
Saurabh
(@saurabhshukla)
Hi,
Maybe the plugin update didn’t complete. Could you manually download and update the plugin. Moreover, could you share any error that might have been logged into the server error log.
Regards.
Hello,
I’ve got this fatal error after updating to version 2.7:
PHP Fatal error: Call to undefined function bp_get_current_group_id() in .../wp-content/plugins/buddypress-media/app/main/includes/BPMediaActions.php on line 897
Using BP 1.6.4 and WP 3.5.1
Thx
Plugin Contributor
Saurabh
(@saurabhshukla)
Hi,
This is a bug. We just wanted to release the features, asap. We’ll be releasing 2.7.1 today itself with a couple of bug fixes and improvements.
Meanwhile, you could edit /buddypress-media/app/main/includes/BPMediaActions.php and replace
if (bp_is_active('groups'))
$default_album = $this->default_group_album();
with
if (bp_is_active('groups') && bp_get_current_group_id())
$default_album = $this->default_group_album();
around line 483 to quickly fix this problem.
Regards.
Plugin Contributor
Saurabh
(@saurabhshukla)
Hi,
We’ve fixed this in our code and released 2.7.1. Could you check if everything works fine?
Regards.
Everything works fine now, thanks.