Moodle version 2.8.
I'm not sure where to begin with this one...this is a custom module. It's basically a user's history. Since we use our Moodle instance for staff development, we have to track their progress and ensure they do not repeat courses.
The report is functioning normally, but when we try to print the document, all this weird code appears on one page. Initially, I thought I had accidentally left debugging on, but I verified it's off, and I turned off the option to have messages displayed.
I have attached a PDF of the code that appears. Please let me know where I need to go to correct this. Thank you.