Notice: Undefined offset: 0 in /home/boxet657ytr43/public_html/controllers/productslist.php on line 17
Notice: Trying to access array offset on value of type null in /home/boxet657ytr43/public_html/controllers/productslist.php on line 17
Notice: Undefined offset: 0 in /home/boxet657ytr43/public_html/controllers/productslist.php on line 18
Notice: Trying to access array offset on value of type null in /home/boxet657ytr43/public_html/controllers/productslist.php on line 18
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 p.is_deleted=0 ORDER BY pcr.category_sort ASC' at line 1SELECT p.*, pcr.category_series, pcr.category_id, pcr.category_sort FROM product_category_relation as pcr LEFT JOIN products as p ON pcr.product_id = p.id WHERE pcr.category_id = AND p.is_deleted=0 ORDER BY pcr.category_sort ASC