Hi Everyone,
I've been using Dompdf for a long time without problems but recently we had some problems with the server (Ubuntu 16.04), and after fix them and reboot, Dompdf stop working.
At first, it seems that php module 'Domdocument' wasn't installed. We installed it. Then, only shows this error message with only "hello world" string text:
1) If I comment $dompdf->stream():
$dompdf = new Dompdf();
$dompdf->loadHtml("hello world");
$dompdf->render();
// $dompdf->stream("document");
It shows:
Notice: Undefined property: DOMText::$data in /var/www/project/vendor/dompdf/src/FrameDecorator/Text.php on line 71
2) If I uncomment $dom
$dompdf = new Dompdf();
$dompdf->loadHtml("hello world");
$dompdf->render();
$dompdf->stream("document");
It renders a blank PDF.
I am so lost on this for days and any kind of help would be great.
Many thank at advance.
Regards.