WordPress database error: [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 '' at line 4]SELECT product.*, brand.image_url as brand_image
FROM wp_aligned_products product
JOIN wp_aligned_brands brand on product.brand_id = brand.id
WHERE product.id =
WordPress database error: [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 '' at line 3]SELECT *
FROM wp_aligned_product_images
WHERE product_id =
WordPress database error: [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 pr.id !=' at line 6]SELECT pr.*
FROM wp_aligned_products pr
JOIN wp_aligned_product_category pc ON pr.id = pc.product_id
WHERE category_id IN (SELECT category_id
FROM wp_aligned_product_category
WHERE product_id=)
AND pr.id !=