"SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'domain_id' in WHERE is ambiguous (SQL: select * from `forms_inputs` where (`active` = 1 and `domain_id` = 1616 and `lang` = fa) and `route_id` = 42 and `search` in (date, number, text) and ((`inherints` = 1 and (select count(*) from `category` inner join `category_entries` on `category`.`id` = `category_entries`.`category_id` where `category_entries`.`key_id` = `forms_inputs`.`id` and `category_id` in (62499, 0) and `model` = FormInput) >= 1) or (`inherints` = 0 and (select count(*) from `category` inner join `category_entries` on `category`.`id` = `category_entries`.`category_id` where `category_entries`.`key_id` = `forms_inputs`.`id` and `domain_id` = 1616 and `category_id` = 62499 and `model` = FormInput) >= 1) or `shared` = 1) order by `ordering` asc)666"