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 ''%Wellness AND p.vendorId=v.id AND v.vendor_status = 1 ORDER BY p.id DESC' 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/categories.php(12): Product->fetchAll('mainCategory LI...')
#2 {main}
thrown in /home/sokonikwetu/domains/sokonikwetu.com/public_html/models/Product.php on line 17