Graphical pain map form broken!

Situation
Graphical pain map is broken on my install as well as on the demo

OpenEMR Version
7.0.1

Browser:
I’m using: chromium

Operating System
I’m using: Win 10

Search
It’s broken on the demo as well

Logs
Notice : Undefined property: C_FormPainMap::$model in /var/www/localhost/htdocs/openemr/vendor/smarty/smarty/libs/Smarty.class.php on line 1345

Notice : Undefined property: C_FormPainMap::$model in /var/www/localhost/htdocs/openemr/vendor/smarty/smarty/libs/Smarty.class.php on line 1321
You request could not be processed, an error occured with the number of arguments passed to the function. Please try again with corrected arguments.

Also deleting smarty folder doesn’t help.
Fatal error : Uncaught Error: Call to undefined method Document::get_url_web() - Support - OpenEMR Community (open-emr.org)

I was able to reproduce this on the latest master codebase. Looks like its a bug in the C_AbstractClickmap.php default_action_process function.

I posted a fix for this issue here if you want to copy it to your local install while you wait for it to come out in a patch:

2 Likes