Hello All,
While trying to use the Graphical Pain Map for a ptient today, I noticed, it was not loading on the screen. So went to the php error logs to check the issue and found this -
22-Feb-2016 17:00:47 Asia/Kolkata] PHP Fatal error: Call to undefined method Controller::Controller() in C:\xampp\htdocs\openemr\interface\clickmap\C_AbstractClickmap.php on line 47
Thanks for the fix, which I just brought into the codebase. This bug is related to the PHP7 code conversion. For a class, in PHP4, the standard was to name the constructor method of a class the same name as the class. However, in PHP5 and above, it was recommended to label the function __construct instead; and PHP7 is forcing this. Because of this, we thought we had converted them all, however we had obviously not gotten them all. I also found several more issues in other forms and fixed them.