I have a Moodle 3.2.2 that has been working for years, suddenly this weekend users started reporting issues, i traced it back to a chrome update that was released on the 26th. What happens is: when grading, using the assign_pdf moodle plugin, when you load the second student, it freezes the page.
The js console error is the following:
I went and checked a newer site v3.9.1 and it didnt have this error although the code was the same.
Code v3.2.2:
Code v3.9.1:
What could be causing this? and how can i fix it? It works fine in Firefox and Chrome version 84