Closed harriholappa closed 1 year ago
This was a problem with the plugin filter_filtercodes. This bug did not have anything to do with PHP 7.3. Inactivating Filter Codes from the course fixed the problem with the {USERNAME} attribute in certificates.
Describe the bug Certificates issued on the hour or 1 minute over have {USERNAME} attribute missing (in a server on PHP 7.3)
Moodle Version(s) Moodle 3.9 mod_simplecertificate 2.2.10 (2020041238)
To Reproduce Steps to reproduce the behavior:
Expected behavior {USERNAME} attribute should be always visible
Additional context As you can probably guess, I did not actually reproduce the error by spinning up new servers and Moodle installations. I simply noticed this behaviour by opening up certificates in one of our production sites and deduced that the PHP version update is the likely explanation why this behaviour changed in newer certificates.