Notice: Only variables should be passed by reference in C_Document.class.php on line 1096

Situation
Notice: Only variables should be passed by reference in D:\xampp\htdocs\openemr\controllers\C_Document.class.php on line 1096

This happens when clicking on Documents under Patient/Dashboard/Documents.

Appears to load properly below the error. The error message itself appears 29 times.

OpenEMR Version
I’m using OpenEMR version 6.1

Browser:
I’m using: Firefox (same behavior in Edge)

Operating System
I’m using: Windows 10 on Workstation, Server 2019 on server.

Logs
Did you check the logs? Not sure which logs.
Was there anything pertinent in them?
Please paste them here (surround with three backticks (```) for readability.
You can also turn on User Debugging under Administration->Globals->Logging User Debugging Options=>All

welocme @itespinc , it’s the error_reporting in the correct php settings.

1 Like

Thanks Stephen. Working now. :smile:

1 Like