ติดปัญหา View SildeShow แล้วเลือก Image Gallery

By krkrai

ขึ้น error ตามนี้เลยครับ

user warning: 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 n.type = 'image' AND n.status = 1 ORDER BY n.sticky DESC, n.title ASC LIMIT ' at line 1 query: SELECT n.nid from node n INNER JOIN term_node tn ON n.nid = tn.nid WHERE tn.tid = AND n.type = 'image' AND n.status = 1 ORDER BY n.sticky DESC, n.title ASC LIMIT 0, 1 in /home/www/virtual/siamlannatech.com/htdocs/modules/acquia/image/contrib/image_gallery/views/image_gallery_handler_field_gallery_cover.inc on line 166.

ค่าตรงนี้มันไม่มาด้วย WHERE tn.tid = ......

ตามไปดูในไฟล์ image_gallery_handler_field_gallery_cover.inc แล้ว ค่า $tid มันไม่ส่งมาด้วย

ผมต้องแก้ไขยังไงบ้างครับ หรือผมทำอะไรผิดไป