Jump to content

Edit History

ComGrafPL

ComGrafPL

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.

ComGrafPL

ComGrafPL

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.

ComGrafPL

ComGrafPL

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]

 

×
×
  • Create New...