The site used to run fine but all of a sudden i'm running into a DB Error 1064. You have an error in your SQL syntax; it seems the error is around: 'workspace_id ORDER BY id DESC LIMIT 0, 4' at line 8.
Can someone please help me see what i'm missing here
select * from notifications where !FIND_IN_SET($id, read_by) AND FIND_IN_SET($id, user_ids) AND workspace_id=$workspace_id ORDER BY id DESC LIMIT 0,4
PHP version: 7.3.6 Server version: 5.7.32-cll-lve - MySQL Community Server - (GPL)