Error and Problem in Issues

Hello, I try to enter from the patient to “Issues” but I get the following message:

ERROR: query failed: select language from patient_data where pid=? order by date DESC limit 0,1

Error: Unknown column ‘language’ in ‘field list’

/home/cev35226/public_html/openemr/library/patient.inc at 53:sqlQuery
/home/cev35226/public_html/openemr/interface/patient_file/summary/stats_full.php at 39:getPatientData(1,language)

Hello eliseoiie,

We couldn’t reproduce the issue in OpenEMR-5.0 with recent patch.

Kindly mention the OpenEMR version which you are using now.

Try with the recent patch and do sqlupgrade. Let us know, if you still face the same problem with recent patch.

Thanks,
ViSolve

thanks for answering

had erased language from demographics

:smile:

the problem deletes a group in the demographics data.

but I do not open the “Eye Exam”, I’m left blank! it does not show me anything in the tab.
in the title of the tab says “Unknown”

is it because you delete the group of “Stats” ??

Hello eliseoiie,

Deletion of stats group in Demographics, will not cause issues in Eye Exam form.

Could you please more specific to the issue? Sharing screen-shot will helps more.

Thanks,
ViSolve

Hi. I’m having the exact same issue.

Where did you delete what from and what did you add back?

I know you’re sayin it deletes a group in the demographics data but are you referring to the code or the mysql DB.

Thanks