When trying to add a medicine to the pts prescription

when trying to add a medicine to the pts prescription, upscrolling releals this error.
below error is displayed

/home3/xxxx/xxxxn/xxxx/sites/default/documents/smarty/main/fe74c11c83a50ef16cb9837991205ac27bb96eeb_0.file.general_edit.html.php on line 137

Warning: Attempt to read property "value" on null in /home3/xxxx/xxxxn/xxxx/sites/default/documents/smarty/main/fe74c11c83a50ef16cb9837991205ac27bb96eeb_0.file.general_edit.html.php on line 137

how to fix this pl.

Hi @Robert_James have you solve this one? i also have a similar error although its not on the prescription, but on the patient signature and in the error logs i also get a similar error with you pointing to " sites/default/documents/smarty/main/xxxxxxxx. file.general_edit.html.ph"

Thanks
Casper

@casper Hi, I edited a few files to get rid of the error.

Hi @Robert_James thank you for your reply, can you share us here what have you change in-order to get rid of that error. :grinning:

hi Casper
BadmintonRJ - Login pl try the code saved here. i have saved all my openemr edits here so that i dont have to run here n there when the files are over written during upgrades etc. :slight_smile: i think it si this file. rename ur original file and copy the code of this file and save it n see if it works.

Hi @Robert_James, thank you for this, but this is already been fixed now, and in our case the caused on the error is that some of the php dependency was not properly installed.

Thanks
Casper

/home3/xxxx/xxxxn/xxxx/sites/default/documents/smarty/main/fe74c11c83a50ef16cb9837991205ac27bb96eeb_0.file.general_edit.html.php on line 137

Warning: Attempt to read property "value" on null in /home3/xxxx/xxxxn/xxxx/sites/default/documents/smarty/main/fe74c11c83a50ef16cb9837991205ac27bb96eeb_0.file.general_edit.html.php on line 137

Pl send me this file as attachment here or via email to xpindia@gmail.com.