menu::get_parents() died with message:
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 'WHERE child.t_left BETWEEN parent.t_left AND parent.t_right AND chil' at line 7
SELECT child.t_name AS t_name, child.t_id FROM tbl_texts AS child JOIN tbl_texts AS parent ON parent.t_id = WHERE child.t_left BETWEEN parent.t_left AND parent.t_right AND child.t_level = parent.t_level + 1 AND child.t_id <>