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

Getting issue "Call to a member function get_content_box() on null"

Open Maniraj-Webner opened this issue 3 years ago • 2 comments

Hi All, I'm getting an error on using below HTML, the thing I want to do is to place data on the x, and y coordinate like this style = "top:95.63in" in HTML, but its not working.

Call to a member function get_content_box() on null

Here is my controller code $data = []; $pdfData = PDF::loadView('pdf.contract', compact($data)); $pdfData->setPaper('a4')->stream(); dd($pdfData->output());

-----------------------blade file--------------

test data

Maniraj-Webner avatar May 23 '22 10:05 Maniraj-Webner

This package is only a Laravel wrapper for Dompdf HTML to PDF Converter, that is specified in the first line of the README.md

erikn69 avatar Jun 01 '22 13:06 erikn69

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any issues with PDF rendering itself that are not directly related to this package, should be reported on https://github.com/dompdf/dompdf instead. When having doubts, please try to reproduce the issue with just dompdf. If you believe this is an actual issue with the latest version of laravel-dompdf, please reply to this issue so we can investigate further. Thank you for your contribution! Apologies for any delayed response on our side.

stale[bot] avatar Jul 31 '22 15:07 stale[bot]