WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AS a ON m.item_id = a.id WHERE m.component = 'activity' AND a.hide_sitewide = 0' at line 1]SELECT m.id, m.media_id, m.item_id, m.data FROM wp_youzify_media AS m JOIN AS a ON m.item_id = a.id WHERE m.component = 'activity' AND a.hide_sitewide = 0 AND a.privacy IN ( 'public' ) AND a.is_spam = 0 AND a.type IN ('activity_photo','activity_slideshow','activity_quote','activity_link','new_avatar','new_cover') GROUP BY m.id ORDER BY m.id DESC LIMIT 9
WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AS a ON m.item_id = a.id WHERE m.component = 'activity' AND a.hide_sitewide = 0' at line 1]SELECT COUNT(*) FROM wp_youzify_media AS m JOIN AS a ON m.item_id = a.id WHERE m.component = 'activity' AND a.hide_sitewide = 0 AND a.privacy IN ( 'public' ) AND a.is_spam = 0 AND a.type IN ('activity_photo','activity_slideshow','activity_quote','activity_link','new_avatar','new_cover')