A PHP Error was encountered

Severity: Notice

Message: Undefined index: gallery_category_id

Filename: controllers/gallery.php

Line Number: 48

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/stimberco/public_html/system/libraries/Exceptions.php:166)

Filename: codeigniter/Common.php

Line Number: 360

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 ' tbl_gallery.gallery_category_id) ORDER BY tbl_gallery.sequence_number ASC' at line 1

SELECT * FROM tbl_gallery WHERE find_in_set(, tbl_gallery.gallery_category_id) ORDER BY tbl_gallery.sequence_number ASC