Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
fix: prevent TCPDF image size error #3936
As a user, I want to access various PDFs generated by Give core and its add-ons without errors so that I can actually see the contents of the PDF.
I'm creating this issue in Give core because TCPDF is part of Give core. However replicating the issue will require testing with the various add-ons described in Acceptance Criteria.
Attempting to view some PDFs such as the Gift Aid Declaration Form results in the following white screen error:
All PDFs generated by Give should work with default images or user-uploaded images.
Steps to Reproduce
This screencast shows the error when Give core and Gift Aid are active.
@DevinWalker On a local site using
I thought the mention of SSL might indicate that it's failing to verify the SSL certificate within a local environment. So I tried the same steps on a local site using
This suggests TCPDF is failing because it is unable to validate the SSL certificate. This may explain why we see this error commonly in local development but have not seen customer reports of it. Live customer sites using