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 's Jersey%' AND p.id <> 324 AND p.vendorId=v.id AND v.vendor_status = 1 ORDER ...' at line 1 in /home/sokonikwetu/domains/sokonikwetu.com/public_html/models/Product.php:17
Stack trace:
#0 /home/sokonikwetu/domains/sokonikwetu.com/public_html/models/Product.php(17): PDOStatement->execute()
#1 /home/sokonikwetu/domains/sokonikwetu.com/public_html/views/product-details.php(14): Product->fetchAll('p.subCategory L...')
#2 {main}
thrown in /home/sokonikwetu/domains/sokonikwetu.com/public_html/models/Product.php on line 17