Not able to view patient photo and upload documents after update to 8.0.0 (3)

Situation

Since updated to 8.0.0 (3) from 7.0.3 we’ve been experiencing multiple problems

  • When hovering over person icon on calendar it did not display photo of the patient on the bottom left. It said javascrip:goPid(‘2236’)

  • When clicking on Documents and click on any of the folder under document list. It will display Looks like there’s a problem with this site

    localhost sent back an error.

    Error code: 500 Internal Server Error

    • Error log ‘’‘[Mon May 18 10:32:29.529377 2026] [php:error] [pid 6758] [client 127.0.0.1:49722] PHP Fatal error: Uncaught → Smarty: Plugin ‘smarty_function_xl’ not callable ← \n thrown in /var/www/html/openemr/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php on line 469, referer: http://localhost/openemr/controller.php?document&list&patient_id=2197’‘’
    • I see another * * thread, is this the only solution for this problem?

OpenEMR Version
I’m using OpenEMR version 8.0.0 (3)

Browser:
I’m using: Firefox and Chrome

Operating System
I’m using: Linux Mint 24

Search
Did you search the forum for similar questions? Yes

Logs
Did you check the logs? Yes

Also I’m not able to use fee sheet review buttons.

Usually when a patient has insurance and I wanted to use the same CPT4 and ICD10. I would just click the review button and it would have created from the previous one. However since the upgrade we can’t do that anymore. The error is here

[Thu May 21 14:54:31.337242 2026] [php:error] [pid 141356] [client 127.0.0.1:38278] PHP Fatal error: Uncaught OpenEMR\Common\Database\SqlQueryException: Insert failed. SQL error Duplicate entry ‘2149-12996-48201’ for key ‘uniq_issue_key’ Query: INSERT INTO issue_encounter ( uuid, pid, list_id, encounter, resolved, created_by, updated_by) VALUES (?,?,?,?,?,?,?) in /var/www/html/openemr/src/Common/Database/QueryUtils.php:225\nStack trace:\n#0 /var/www/html/openemr/src/Services/PatientIssuesService.php(282): OpenEMR\Common\Database\QueryUtils::sqlInsert()\n#1 /var/www/html/openemr/interface/forms/fee_sheet/review/fee_sheet_queries.php(94): OpenEMR\Services\PatientIssuesService->linkIssueToEncounter()\n#2 /var/www/html/openemr/interface/forms/fee_sheet/review/fee_sheet_ajax.php(107): update_issues()\n#3 {main}\n thrown in /var/www/html/openemr/src/Common/Database/QueryUtils.php on line 225, referer: http://localhost/openemr/interface/patient_file/encounter/load_form.php?formname=fee_sheet

This may not help but it is working in the demo site

I have the same issue. I even installed a new testing OpenEMR server and it threw the same error.

Tested on Openemr demo

https://demo.openemr.io/openemr

When hovering over a patient name, there’s no photo displayed on the bottom left corner. See pic

Patient’s profile

The photo only appeared when the patient is selected