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 'and a.approved != 2 ORDER BY a.created_at desc LIMIT 10' at line 1
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 '' at line 1
Fatal error: Call to a member function fetch_assoc() on boolean in /var/www/html/demo_youportal/classes/sdba/sdba.php on line 655