New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] Error on PDF generation PHP8 & above #17430
Comments
@BKLTMS |
Yetiforce engine |
@BKLTMS |
Thank you for your response and assistance. Much appreciated! |
Hi, Please check the memory limit in the php.ini file. When i changed the php version, it switched to default memory limit as 128MB and created the error in PDF generation. Thanks. |
Thanks for the suggestion. Changed memory limit to 1GB. Unfortunately getting the same error. |
hi, when my quotation having too many products or long descriptions, sometimes faced this error. Try to generate it the pdf with 1 or 2 products. if PDF generation is successful, increase the memory limit and / or maximum execution time. This worked for me. Please try this and share the results. |
@BKLTMS |
Thanks for the assistance and suggestions! |
As a follow-up after closing: Found issue to be with the line-height code in the source. They were using % for the value, once changed to a number value (i.e.- 1.5 or .9), all templates generated as expected with PHP 8.0.30. |
its nice to hear that issue was fixed. Cloud you please share the column width and height adjustment section? and have you tried to change the fonts? if you succeed, could you please share the procedure for changing the fonts? |
🐞 bug report
Version 6.5: All works fine when generating a PDF with PHP7.4. However, when PHP is upgraded to PHP8 or above, PDF generation delivers the screenshot below. Reverting back to PHP7.4 resolves this and generation works again.
Logs not indicating anything on this error.
Any assistance is appreciated - thank you,
🔥 How to trigger the error
Steps to reproduce the behavior:
👎 Actual Behavior
👍 Expected Behavior
👷 Testing
📷 Screenshot of configuration
📝 PHP/Apache/Nginx/Browser/CRM Logs
🌍 Your Environment
❓ Additional context
Add any other context about the problem here.
❗️ Inform the community if you solve the problem
The text was updated successfully, but these errors were encountered: