Requisition form in Docker

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

I’m using: firefox

Operating System
I’m using: Docker under windows


@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'] : '');

That worked. Thank you.

Wait, what was the problem then? Different PHP settings allowing the construct locally but rejecting it in the container’s setup?

Nope @jesdynf It’s a PHP version issue. It has stronger typing in PHP8

1 Like