Broken PDF when retrieving Certificate

Broken PDF when retrieving Certificate

by Garry Yates -
Number of replies: 0
I have upgraded an existing moodle 2.7 through to moodle 3.03. I've upgraded the mod_certificate plugin and now when I try to retrieve a certificate from a course I get the following debug errors

The pop up window does show, but there is a warning in the window that the PDF file is damaged.

Fields list in snapshot record does not match fields list in 'course'. Record is missing fields: scProductID, CEU
  • line 876 of /lib/classes/event/base.php: call to debugging()
  • line 53 of /mod/certificate/view.php: call to core\event\base->add_record_snapshot()

I don't know if the database was damaged when converting to innodb or if the moodledata folders were damaged in the upgrade.

I installed a different certificate module (simple certificate) and it seems to work ok.

Average of ratings: -