Guest (52.55.214.236)
Thu, Mar 28, 2024 1:58 PM EST

A Database Error Occurred

Error Number: 1064

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 'rows FROM (`blogposts`, `blogcategories`) WHERE `blog_post_category_id` = 4 A...' at line 1

SELECT COUNT(*) AS rows FROM (`blogposts`, `blogcategories`) WHERE `blog_post_category_id` = 4 AND blog_post_active = 1 AND blog_category_active = 1 AND blog_post_created_on <= NOW() AND blog_post_category_id = blog_category_id LIMIT 1

Filename: models/dbi.php

Line Number: 289