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 'AND status='active'' at line 1
SELECT * FROM catalog WHERE category_id= AND status='active'
- line 686 of lib/dmllib.php: call to debugging()
- line 966 of lib/dmllib.php: call to get_recordset_sql()
- line 10 of php: call to get_records_sql()