sun1
(last)
April 20, 2022, 8:08pm
1
Situation
Requisition form not working in Docker. Gives following error:
Of note, when installing OpenEMR directly on Ubuntu and setting up same as in docker, requisition form works. Also, when in docker, requisition form is created in the mysql database.
OpenEMR Version
I’m using OpenEMR version 6.1.0
Browser :
I’m using: firefox
Operating System
I’m using: Docker under windows
Logs
@juggernautsei Didn’t you implement this encounter form? Can you check this out?
put an (int) in front of that addition on line 27
$formid = 0 + (int) (isset($_GET['id']) ? $_GET['id'] : '');
jesdynf
(Asher Densmore-Lynn)
April 20, 2022, 9:45pm
5
Wait, what was the problem then? Different PHP settings allowing the construct locally but rejecting it in the container’s setup?
sjpadgett
(Jerry P)
April 20, 2022, 10:15pm
6
Nope @jesdynf It’s a PHP version issue. It has stronger typing in PHP8
1 Like