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 'FROM `blog_content`
WHERE published='1' AND `publishingDate` < 171347954...' at line 19 Query: SELECT
id,
blogid,
igid,
iglink,
fbid,
fblink,
titel,
intro,
content,
afbeelding,
`afbeelding2`,
volgorde,
published,
creationDate AS date,
publishingDate,
download,
fotoalbum ,
FROM `blog_content`
WHERE published='1' AND `publishingDate` < 1713479546
ORDER BY `volgorde` DESC
LIMIT 0,40