A Database Error Occurred

Error Number: 1054

Unknown column 'cherchenko' in 'on clause'

SELECT * FROM persontypecustomfield LEFT JOIN personcustomfield ON (persontypecustomfield_id = personcustomfield_custfield_id AND personcustomfield_person_id = cherchenko-mihail-evgen-evich—62) WHERE persontypecustomfield_persontype_id IN (SELECT person2type_persontype_id FROM person2type WHERE person2type_person_id = 'cherchenko-mihail-evgen-evich—62') ORDER BY persontypecustomfield_persontype_id, persontypecustomfield_order;