Fatal error: Uncaught Exception: 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 '' on pc.blogcategory_id = c.id WHERE c.url = ? ) ) ORDER BY p.date_added DESC' at line 1 query: SELECT p.id, `image_filename`, `title`, `content`, p.date_added, `author_user_id`, `visible`, us.name AS author_name, url, meta_title, meta_description, meta_keywords FROM blogpost AS p LEFT JOIN user AS u on p.author_user_id = u.id LEFT JOIN user_supporter AS us on u.id = us.user_id WHERE visible = ? AND p.id IN ( (SELECT `blogpost_id` FROM `blogpost_in_blogcategory` AS pc LEFT JOIN `blogcategory` AS c' on pc.blogcategory_id = c.id WHERE c.url = ? ) ) ORDER BY p.date_added DESC in /var/www/vhosts/testing.rocketfuelhq.com/testing.rocketfuelhq.com/vendor/thingengineer/mysqli-database-class/MysqliDb.php:2022
Stack trace:
#0 /var/www/vhosts/testing.rocketfuelhq.com/testing.rocketfuelhq.com/vendor/thingengineer/mysqli-database-class/MysqliDb.php(1605): in /var/www/vhosts/testing.rocketfuelhq.com/testing.rocketfuelhq.com/vendor/thingengineer/mysqli-database-class/MysqliDb.php on line 2022