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

Undefined offset with border-collapse

Open vlChris opened this issue 9 years ago • 0 comments

Just wanted to throw something up here in the event someone runs across it. If you do not specify border-collapse in the body style it defaults to "separate" which then in turn looks for border spacing as shown on line 396. The workaround was to ensure border-collapse: unset was put into the body tag to overwrite this.

Not sure if it's something I was doing wrong or not, but if anyone stumbles across this, this is how you fix it.

[2015-11-05 08:56:52] local.ERROR: exception 'ErrorException' with message 'Undefined offset: 1' in /home/chris/projects/vl3/vendor/thujohn/pdf/src/Thujohn/Pdf/dompdf/include/table_frame_reflower.cls.php:396 Stack trace:

vlChris avatar Nov 05 '15 14:11 vlChris