array(3) { [0]=> string(5) "42000" [1]=> int(1064) [2]=> string(226) "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 'IN (,, p3' at line 9" }
string(540) "ERROR: QUERY: 
         AS id_category,
                FROM category p1
                  LEFT JOIN category p2 ON p2.id_parent =
                  LEFT JOIN category p3 ON p3.id_parent =
                  LEFT JOIN category p4 ON p4.id_parent =
                WHERE  IN (,
                AND != 0"