Fatal error: Uncaught Exception: 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 '-12,12' at line 30<br />Error No: 1064<br />
SELECT
p.post_id,
p.image,
p.date_created as date,
p.views,
pd.name,
pd.description,
a.username,
a.firstname,
a.lastname,
a.email,
(
SELECT count(*)
FROM `oc_journal3_blog_comments` bc
WHERE
bc.status = 1
AND bc.post_id = p.post_id
AND bc.parent_id = 0
) as comments
FROM
`oc_journal3_blog_post` p
LEFT JOIN `oc_journal3_blog_post_to_category` p2c ON p.post_id = p2c.post_id
LEFT JOIN
`oc_journal3_blog_post_descrip in /chroot/home/labbio/labbioreagents.com/html/system/library/db/mysqli.php on line 40