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 'is_deleted ="No" AND status="Active" limit 1' at line 1

select * from pages where pages_id=174 is_deleted ="No" AND status="Active" limit 1

Filename: models/Common.php

Line Number: 448