ComGrafPL Posted December 3 Share Posted December 3 (edited) Got this error while generating an invoice from order. 8.1.7 / PHP 8.1 TCPDF ERROR: GD library error: Warning: imagecreatefrompng(): gd-png error: cannot allocate image data imagecolorat(): Argument #1 ($image) must be of type GdImage, false given [TypeError 0] EDIT: Fixed by formatting invoice logo image to png and the upload. Edited December 3 by ComGrafPL (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now