A Database Error Occurred

Error Number: 42000/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 '' at line 1

select id, category_name, category_name_ar, url, index_id from category where id=

Filename: core/MY_Controller.php

Line Number: 161