When i setup plugin this error appear


#1

WordPress database error: [Table ‘test.wp_bp_groups’ doesn’t exist] UPDATE wp_rt_rtm_media m join wp_bp_groups bp on m.context_id = bp.id SET m.privacy = 0 where m.context = ‘group’ and bp.status = ‘public’ and m.privacy <> 80 WordPress database error: [Table ‘test.wp_bp_groups’ doesn’t exist] UPDATE wp_rt_rtm_media m join wp_bp_groups bp on m.context_id = bp.id SET m.privacy = 20 where m.context = ‘group’ and ( bp.status = ‘private’ OR bp.status = ‘hidden’ ) and m.privacy <> 80


#2

Hello @aymantawfik85,

The cause of this error is :

By default, the ‘User Groups’ option from BuddyPress admin setting is set to disabled. Admin needs to enable it if he/she wants to use ‘User Groups’ in site and tables related to groups will be created. As we don’t have information about whether that setting is checked/unchecked, ( so whether group related tables are created for his site or not ), while updating our rtMedia plugin, we have considered it as ‘enabled’ so that we don’t miss database update for user groups.

Occurrence of this error : This database error may occur when activating rtMedia very first time or updating new version of rtMedia.

Hope this cleared your doubt. Thank you.


#3