5.0.2: Uncaught syntax error when there is more than one procedure in an encounter


(Ralf Lukner MD PhD) #1

Situation
5.0.2: Uncaught syntax error when there is more than one procedure in an encounter:
Identifier ‘mypcc’ has already been declared
URL: https://mydomain.com/interface/patient_file/encounter/forms.php
Line: 780 Column: 35
Error object: “{}”

OpenEMR Version
I’m using OpenEMR version 5.0.2

Browser:
I’m using: Chrome on Mac latest version (Version 76.0.3809.100 (Official Build) (64-bit))

Operating System
I’m using: AWS Standard for the server.

Logs
There is something here, but it seems to be unrelated to the problem above:
[Sun Aug 25 22:23:23.622504 2019] [php7:error] [pid 28] [client 185.53.88.54:33732] script ‘/var/www/localhost/htdocs/openemr/about.php’ not found or unable to stat

[Sun Aug 25 22:25:24.836205 2019] [allowmethods:error] [pid 22] [client 149.202.10.237:21611] AH01623: client method denied by server configuration: ‘CONNECT’ to /var/www/localhost/htdocs/openemr/

[Sun Aug 25 22:28:12.444638 2019] [php7:error] [pid 30] [client 185.53.88.54:44664] script ‘/var/www/localhost/htdocs/openemr/about.php’ not found or unable to stat