Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND status="active" ORDER BY id DESC LIMIT 3' at line 1 in /home/apolloc17/public_html/models/testimonial.php:34
Stack trace:
#0 /home/apolloc17/public_html/models/testimonial.php(34): PDOStatement->execute()
#1 /home/apolloc17/public_html/controllers/clinics.php(104): Testimonial::fetchLastThreebyclinic(NULL)
#2 /home/apolloc17/public_html/includes/routes.php(163): Clinics->details()
#3 /home/apolloc17/public_html/index.php(10): run()
#4 {main}
thrown in /home/apolloc17/public_html/models/testimonial.php on line 34