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

Colleagues reported that the web suddenly could not export the PDF report.

Got this error:
TCPDF ERROR: [image] Unable to get the size of the image: https://domain.hk/pdf/header.jpg

Identified that was because:
$html = '<img src="'. BASE_URL . 'pdf/header.jpg" style="width:800px;"/>

Required to:
$html = '<img src="pdf/header.jpg" style="width:800px;"/>

However, previously, it was working.

Not yet sure why.


Update