DOMXPath::query(): Invalid expression on Render

69 views
Skip to first unread message

Damien Peden

unread,
Nov 2, 2020, 1:33:11 AM11/2/20
to dompdf

Hey Team,

I've just started using dompdf (ex MPDF user) and it all worked in my dev environment, but as soon as I put it on my server it's randomly giving me the following error:

"Type: ErrorException; Message: DOMXPath::query(): Invalid expression; File: /public_html/system/storage/vendor/dompdf/dompdf/src/Css/Stylesheet.php; Line: 1034; "

I have all the required libraries, and I'm running PHP 7.3.23. The odd thing is if I use
filp/whoops I don't get any errors showing, but if I don't the error above comes up. I couldn't find out in the documentation how to debug, so any help would be much appreciate :)
Reply all
Reply to author
Forward
0 new messages