Printing issue 20.14.0 #4843
-
Team, I have just updated to 20.14.0 and I get an error : Steps to reproduce : Admin panel --> Sales --> Invoices --> Click invoice -- > print `There has been an error processing your request Error log record number: 756294071196 Magento is a trademark of Magento Inc. Copyright © 2020 Magento Inc.` If I dump the report it shows
Any help would be appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 4 replies
-
This appears to be loosely related to the logo found in system --> sales --> invoice and packing slip design. If I remove the logo for PDF print outs then it works. Add it back in it fails. I have tried multiple formats. |
Beta Was this translation helpful? Give feedback.
-
When you say multiple formats, which formats have you tried? There are some PNGs that Zend doesn't support but most common ones should work and if you use a different format altogether like JPG then there is no way it should cause this error. |
Beta Was this translation helpful? Give feedback.
-
Hi , thanks for the response. I have tried jpg and redone the png. All result in the same issue. The only way around is no image! Sent from my iPhone On 23 Jun 2025, at 17:39, Colin Mollenhour ***@***.***> wrote:
When you say multiple formats, which formats have you tried? There are some PNGs that Zend doesn't support but most common ones should work and if you use a different format altogether like JPG then there is no way it should cause this error.
I have edited this to make it cleared to read as replied via email
|
Beta Was this translation helpful? Give feedback.
-
I don't see how it could be trying to load the jpg as a png unless you're uploading the jpg with a .png extension: https://github.com/zf1s/zf1/blob/master/packages/zend-pdf/library/Zend/Pdf/Resource/ImageFactory.php#L45 |
Beta Was this translation helpful? Give feedback.
-
I don't see how it could be trying to load the jpg as a png unless you're uploading the jpg with a .png extension: https://github.com/zf1s/zf1/blob/master/packages/zend-pdf/library/Zend/Pdf/Resource/ImageFactory.php#L45
I haven’t changed the file. It’s the same as was working it the previous version. Sent from my iPhone On 23 Jun 2025, at 18:57, Colin
I have edited this to make it cleared to read as replied via email
|
Beta Was this translation helpful? Give feedback.
-
I don't see how it could be trying to load the jpg as a png unless you're uploading the jpg with a .png extension: https://github.com/zf1s/zf1/blob/master/packages/zend-pdf/library/Zend/Pdf/Resource/ImageFactory.php#L45
I’ll revise that - I hadn’t changed the file until it stopped working in the current version. Sent from my iPhone On 23 Jun 2025, at 18:57, Colin
|
Beta Was this translation helpful? Give feedback.
-
I reproduced the issue and found the bug but it looks like it was already fixed - just the fix was not released yet: |
Beta Was this translation helpful? Give feedback.
-
Do you know anything about this @sreichel ? It seems the |
Beta Was this translation helpful? Give feedback.
True. The fix is not released yet. Until then you can add this to composer.son