Menu

#29 resolve incompatibility with php 5.2.4+

open
nobody
None
5
2007-11-24
2007-11-24
No

Some changes made in php makes the code unusuable

Command line: (verbose and debug enabled!)
php dompdf.php test.html -f out.pdf -p a4 -v -d

Test case:
<html>
<body>
<p>something</p>
</body>
</html>

Error:

./testpdf.sh
PHP Catchable fatal error: Object of class DOMElement could not be converted to string in /dompdf/include/frame.cls.php on line 590

it's the casting to string for $this->_node and _node is an empty DOMElement.

More info: http://php2.mirrors-r-us.net/UPDATE_5_2.txt

Discussion


Log in to post a comment.