Sackgesicht VIP
Total posts: 1,636
09 Sep 2013 02:59

No TYPE ID

Error: 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 ') AND ctime < '2013-09-09 07:52:09' AND (extime = '0000-00-00 00:00:00' OR extim' at line 3 SQL=SELECT id as value, title as text FROM hsb0a_js_res_record WHERE published = 1 AND hidden = 0 AND section_id = 3 AND type_id IN() AND ctime < '2013-09-09 07:52:09' AND (extime = '0000-00-00 00:00:00' OR extime > '2013-09-09 07:52:09') AND user_id = 946

Last Modified: 02 Mar 2014


Sackgesicht VIP
Total posts: 1,636
09 Sep 2013 03:05

similar to this error


Sergey
Total posts: 13,748
09 Sep 2013 06:38

this is in line 45 of cobaltrelate.php

$query->where("type_id IN(".implode(',', $types).")");

But basically this means type is not set in field relation parameters somehow.

Is it when you show child or parent?

Powered by Cobalt