After database migration getting the following error: Unknown column ‘public’
-
The following query is failing after database migration on the activity page:
SELECT DISTINCT a.id
FROM wp_bp_activity a
WHERE a.type IN ( ‘activity_status’,’activity_quote’,’activity_photo’,’activity_video’,’activity_audio’,’activity_giphy’,’activity_update’,’new_member’,’friends_register_activity_action’,’created_group’,’joined_group’,’activity_update’ )
AND a.is_spam = 0
AND a.hide_sitewide = 0
AND a.type NOT IN (‘activity_comment’, ‘last_activity’)
AND a.privacy = “public”
AND a.user_id NOT IN(87,409)
ORDER BY a.date_recorded DESC, a.id DESC
LIMIT 0, 211054 – Unknown column ‘public’ in ‘where clause’
Any idea on how to fix this?
- You must be logged in to reply to this topic.