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/clinicocpwapoll/public_html/models/testimonial.php:46
Stack trace:
#0 /home/clinicocpwapoll/public_html/models/testimonial.php(46): PDOStatement->execute()
#1 /home/clinicocpwapoll/public_html/controllers/clinics.php(111): Testimonial::fetchLastThreebyclinic(NULL)
#2 /home/clinicocpwapoll/public_html/includes/routes.php(263): Clinics->details()
#3 /home/clinicocpwapoll/public_html/index.php(14): run()
#4 {main}
thrown in /home/clinicocpwapoll/public_html/models/testimonial.php on line 46