Switching over to a new server and using PHP 7.0 (and 7.1) everything looked to be fine until I tried to view an order PDF within an email from Craft Commerce. Even using the email template provided by the plugin. The error is:
No block-level parent found. Not good.
I can't remember which DOM-PDF issue thread I came across it in, but the solution is to remove
from the document. Does anyone know of a more elegant solution? I don't think it's my server.