A PHP Error was encountered

Severity: Warning

Message: Attempt to read property "post_category_id" on null

Filename: models/Common_model.php

Line Number: 1090

Database Error

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 '10),category_id) >0 AND `publication` = '1'' at line 3

SELECT * FROM `posts` WHERE FIND_IN_SET(left(,10),category_id) >0 AND `publication` = '1'

Filename: models/Common_model.php

Line Number: 1092