Uncaught exception 'DOMPDF_Exception' with message

771 views
Skip to first unread message

Gerbil

unread,
Mar 31, 2012, 7:34:07 AM3/31/12
to dom...@googlegroups.com
Like many others in this group, I have used dompdf with no luck. I have been attempting to convert an html page into a pdf. The error messages I am getting are these

Fatal error: Uncaught exception 'DOMPDF_Exception' with message 'Min/max width is undefined for table rows' in /home/*****/public_html/thelandman.org/dompdf/include/table_row_frame_reflower.cls.php:60 Stack trace: #0 /home/ ***** /public_html/thelandman.org/dompdf/include/frame_decorator.cls.php(559): Table_Row_Frame_Reflower->get_min_max_width() #1 /home/ ***** /public_html/thelandman.org/dompdf/include/frame_reflower.cls.php(183): Frame_Decorator->get_min_max_width() #2 /home/ ***** /public_html/thelandman.org/dompdf/include/frame_decorator.cls.php(559): Frame_Reflower->get_min_max_width() #3 /home/ ***** /public_html/thelandman.org/dompdf/include/cellmap.cls.php(479): Frame_Decorator->get_min_max_width() #4 /home/ ***** /public_html/thelandman.org/dompdf/include/cellmap.cls.php(363): Cellmap->add_frame(Object(Table_Cell_Frame_Decorator)) #5 /home/ ***** /public_html/thelandman.org/dompdf/include/cellmap.cls.php(363): Cellmap->add_frame(Object(Table_Row_Frame_Decorator)) #6 /home/ ***** /public_html/thelandman in /home/ ***** /public_html/thelandman.org/dompdf/include/table_row_frame_reflower.cls.php on line 60 

I think it has something to do with my footer, but i'm not sure. Does any one have an idea about this?

BrianS

unread,
Mar 31, 2012, 10:30:09 PM3/31/12
to dom...@googlegroups.com
There is something about your document that dompdf does not like. I suggest you run it through a validator and try to correct as many issues as possible ... dompdf can be finicky about document structure.

If you are still unable to resolve the issue let us know.

Gerbil

unread,
Apr 2, 2012, 6:15:40 AM4/2/12
to dompdf
Thanks, I'll try that.

On Mar 31, 10:30 pm, BrianS <eclecticg...@gmail.com> wrote:
> There is something about your document that dompdf does not like. I suggest
> you run it through a validator and try to correct as many issues as
> possible ... dompdf can be finicky about document structure.
>
> If you are still unable to resolve the issue let us know.
>
>
>
>
>
>
>
> On Saturday, March 31, 2012 7:34:07 AM UTC-4, Gerbil wrote:
>
> > Like many others in this group, I have used dompdf with no luck. I have
> > been attempting to convert an html page <http://www.thelandman.org/land-for-sale?flyer=true&num=543452>into
> > a pdf <http://thelandman.org/testing_dompdf.php?num=543452>. The error
> > messages I am getting are these
>
> > *Fatal error*: Uncaught exception 'DOMPDF_Exception' with message
> > 'Min/max width is undefined for table rows' in /home/*****/public_html/
> > thelandman.org/dompdf/include/table_row_frame_reflower.cls.php:60 Stack
> > trace: #0 /home/ ***** /public_html/
> > thelandman.org/dompdf/include/frame_decorator.cls.php(559):
> > Table_Row_Frame_Reflower->get_min_max_width() #1 /home/ *****
> > /public_html/thelandman.org/dompdf/include/frame_reflower.cls.php(183):
> > Frame_Decorator->get_min_max_width() #2 /home/ ***** /public_html/
> > thelandman.org/dompdf/include/frame_decorator.cls.php(559):
> > Frame_Reflower->get_min_max_width() #3 /home/ ***** /public_html/
> > thelandman.org/dompdf/include/cellmap.cls.php(479):
> > Frame_Decorator->get_min_max_width() #4 /home/ ***** /public_html/
> > thelandman.org/dompdf/include/cellmap.cls.php(363):
> > Cellmap->add_frame(Object(Table_Cell_Frame_Decorator)) #5 /home/ *****
> > /public_html/thelandman.org/dompdf/include/cellmap.cls.php(363):
> > Cellmap->add_frame(Object(Table_Row_Frame_Decorator)) #6 /home/ ***** /public_html/thelandman
> > in */home/* ***** */public_html/
> > thelandman.org/dompdf/include/table_row_frame_reflower.cls.php* on line *
> > 60*

FixBoost inc

unread,
May 1, 2014, 10:27:36 AM5/1/14
to dom...@googlegroups.com, jeffrey...@gmail.com
Did you fix theses errors? I have the same problem with my html email.

BrianS

unread,
May 1, 2014, 11:29:40 AM5/1/14
to dom...@googlegroups.com, jeffrey...@gmail.com
The original post is two years old, better to start a new thread at this point since we've released a new version of dompdf (which you are using, right?). Provide some details (error message, sample HTML, anything relevant) and we'll try to help out.
Reply all
Reply to author
Forward
0 new messages