Plugin Contributor
Ewout
(@pomegranate)
Something may have gone wrong installing or updating the fonts. Could you try ‘reinstall fonts’ on the Status tab of the PDF invoice settings?
Thanks for the reply,
I tried that and changing php from 7.2 but still no output except the logo and some horizontal lines inside the pdf
Plugin Contributor
Ewout
(@pomegranate)
Are you self hosted? We have seen something similar before with a setup where incompatible (old) libraries were used with newer versions of PHP.
Yes i am selfhosted but on freshly installed debian server. We keep several websitess on the server and we had no issues till now. I also tried changing the php version.. on several pre 7 builds and on 7.0 to 7.2. ATM it is set to 7.2. And the WordPress and Woocommerce versions are freshly installed
Plugin Contributor
Ewout
(@pomegranate)
Hello Alexander,
Most sites don’t make use of the dom libraries that are required to create a PDF. More details here: https://bugs.php.net/bug.php?id=76417 (but note that it’s not a PHP bug but a problem of how PHP is configured on your server, see last message “I found the reason: DOM extension was loaded for the several times in different php.ini.”).
Hello Ewout
Thanks a lot for the response. I`ll check to see if that is the issue