A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/page.php

Line Number: 70

مجلة الهدى - مجلة شهرية ثقافية
Database Error

A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' REPLACE(madacms_posts.category, ' ', ','))' at line 10

SELECT madacms_posts.post_id, madacms_posts.title, madacms_writers.user_id, madacms_writers.display_name, madacms_writers.writer_image FROM (`madacms_posts`) LEFT JOIN `madacms_writers` ON madacms_posts.user_id = madacms_writers.user_id WHERE madacms_posts.priority = '30' AND FIND_IN_SET(, REPLACE(madacms_posts.category, ' ', ','))