Fix side effect of 3.5.4. Error are new outputed into
Project::get_element_list so ajax call do not return json structured
data but an HTML error message