laravel-dompdf icon indicating copy to clipboard operation
laravel-dompdf copied to clipboard

Typed property DOMDocument::$documentElement must not be accessed before initialization

Open Arjanshr opened this issue 2 years ago • 1 comments

I am getting an error when my code is deployed in cPanel hosting server with php 8.1.21 in PDF::loadView() function. Error is shown in the title. This is the error share link(without data arguements), link2(with data arguements). I have no problem in while testing in local environment with php 8.1.2 and php 8.2 but only in cPanel hosting server. I don't know if this is cPanel issue or dom-pdf issue.

Arjanshr avatar Aug 22 '23 05:08 Arjanshr

Seems like a question for https://github.com/dompdf/dompdf, this is only a wrapper

parallels999 avatar Sep 28 '23 16:09 parallels999