I'm using php 7.1 and can't get dompdf to play nicely. I've tried using the latest version off the dev branch in the hope that might solve it. Its a long shot but anyone got an suggestions? (other than going back to 7.0 lol)
Sorry, not yet. You might follow #1272 to see if a PR comes in. We were planning to address this in 0.7.2, but looks like we may want to do it for the next release.
The stable branch should be ok on PHP 7.1.0 now. Look for a release soon.
I'm on PHP Version 7.1.14 and having this issue... Warning: A non-numeric value encountered in .../path/...../includes/includes.php on line 94.
This is line 94 in the file: $mainContentWidth = 12 - ($asideLeftWidth + $asideRightWidth);
Was this ever resolved?
@rpmconsulting that's not from our code. If it's your own code try casting to int/float (and maybe searching StackOverflow). For example:
$mainContentWidth = 12 - ((int)$asideLeftWidth + (int)$asideRightWidth);
Most helpful comment
Sorry, not yet. You might follow #1272 to see if a PR comes in. We were planning to address this in 0.7.2, but looks like we may want to do it for the next release.