Custom Report and Document View Broken

Both the C_Document class and custom report call a function called get_notes() which does not exist in Document class. I can’t find if the class ever had the function and I did cursory look all the way back to version 4.0.0. I’m assuming it is meant to get related patient notes associated with a document.
It is probably showing up now because PHP7 will not tolerate the undefined call because I’ve recently tested these on PHP 5.6.
Anyone have any idea about this function and when it may have been removed?

Hi @sjpadgett ,

Guessing this is related to the recent codebase change(prob just need to update your custom report script(actually more likely just need to update document class) to most recent codebase):

-brady

NUTZ! :slight_smile: Pulled it but forgot I switched to 5.0.0 branch. Can anyone spell senile?

You’re too young for that :smile: