sivasekar / dompdf

Automatically exported from code.google.com/p/dompdf
0 stars 0 forks source link

Just tried to use the DomPDF class directly and got the error "Object of class DOMElement could not be converted to string in ..." #75

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I've downloaded DomPDF 0.5.1 and tested the code which is in the documentation 
in "usage.php 
--> Using the dompdf class directly" and got the following error:

Catchable fatal error: Object of class DOMElement could not be converted to 
string in 
/home/www/alg-transmission/www/utils/dompdf-0.5.1/include/frame.cls.php on line 
578

What steps will reproduce the problem?
1. Download DomPDF 0.5.1
2. Copy/paste the code of the documentation which explains how to use the 
dompdf class 
directly
3. Test it

> What is the expected output? What do you see instead?
The PDF isn't rendered, and I get an error.

What version of the product are you using? On what operating system?
DomPDF 0.5.1 with  PHP 5.2 on a Debian Etch

Thanks a lot!

Original issue reported on code.google.com by francois...@gmail.com on 25 Sep 2009 at 4:20

GoogleCodeExporter commented 9 years ago
Thank you for the report. The issue has already been addressed for the upcoming 
release.

Original comment by eclecticgeek on 25 Sep 2009 at 6:04

GoogleCodeExporter commented 9 years ago

Original comment by eclecticgeek on 30 May 2013 at 5:15