Exception - TCPDF ERROR: [Image] Unable to get the size of the image

Exception - TCPDF ERROR: [Image] Unable to get the size of the image

by Peter Diedrichs -
Number of replies: 0
Picture of Particularly helpful Moodlers
Using Moodle 4.1.6 and Questionnaire 4.0.1 (Build - 2023051600)

  1. When selecting View all answers, theres an error message: Exception - TCPDF ERROR: [Image] Unable to get the size of the image: https://moodle.lnu.se/theme/image.php/boost/core/1699426602/s/smiley
  2. When selecting View all answers again from the drop down menu in the error message page, the answers are shown, including those from an essay question with a smiley in it. The smoiley is shown as it should.
  3. If I close the browser and repeat, the whole thing is reproduced.

We cannot see anything strange in the server logs, and I cannot reproduce this when creating a new questionnaire and answers with emoticons. So far this happens just in this one Questionnaire. So, I don't want to report this as a bug. 

But I'm curious about it, and I want to be prepared if it becomes a real problem. So, anyone else had this issue, or have any ideas about what's causing it?

Average of ratings: -