When I create a PDF from my invoice I get an error "Whoops, looks like something went wrong."
I've checked the logs and found the following error:
production.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Call to undefined method DOMDocument::hasAttribute() in /var/www/vhosts/example.com/vendor/dompdf/dompdf/src/Css/Stylesheet.php:970
With a bit of help of Google I found this issue for dompdf:
The last comment on the issue mentions that dompdf 0.8.0 might work fine. Is it possible to switch to this version to test wether it works?
I'm not able to reproduce such an error but will update dompdf within the next version.
I'm running it on a CentOS 7.3 with Plesk Onyx 17.5.3
I followed the installation steps according to the procedure described in the documentation. I hope I've given you some usefull information to be able to find out what's going wrong?
Thanks Christopher, will try this again after updating dompdf library.