Skip to main content

Laravel DOM-PDF Error – No block-level parent found. Not good.

I received this error when using a system called FusionInvoice. This relates to DOM PDF which is a Laravel vendor to allow PDFs to be created.

Error said something along the lines of  ‘No block-level parent found. Not good.’.

To fix this error, I went to my file structure and edited /vendor/dompdf/dompdf/

Look for:


Replace with:


This should fix the issue

2 thoughts to “Laravel DOM-PDF Error – No block-level parent found. Not good.”

  1. I know you posted this over a year ago but it’s just fixed this very specific issue I was having with an old version of FusionInvoice when my server got upgraded!

    So thank you for sharing such a specific and obscure issue along with the fix!!

Leave a Reply