pdf-l4 icon indicating copy to clipboard operation
pdf-l4 copied to clipboard

Call to a member function prepend_child() on null

Open kennethjaysone opened this issue 9 years ago • 0 comments

Error returned when running this code using laravel 4.2

$html = View::make('receipt.show', $data);
return PDF::load($html->render(), 'A4', 'portrait')->download('my_pdf');

When i try to return the view, it appears correctly, just that we can't generate pdf to be downloaded.

kennethjaysone avatar Mar 11 '15 01:03 kennethjaysone