PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » XML » XML_Tree » Bug #22

Removing deprecated methods in 2.0b1 caused "Call to undefined function" errors

Details

Submitted2003-09-18 17:22 UTC
Fromrussell at keppner dot net
Assignedcox
StatusClosed
PackageXML_Tree
PHP Version4.3.3
OSLinux
Roadmaps(Not assigned)

Comments

[2003-09-18 17:22 UTC] russell at keppner dot net

Description:
------------
This one is pretty straight forward. The deprecated methods
add_root() and set_content() were removed, but the new code
still calls them at lines 262 and 300 respectively in XML/Tree.php.

Actual result:
--------------
PHP Fatal error: Call to undefined function: add_root() in
/usr/local/lib/php/X ML/Tree.php on line 262
PHP Fatal error: Call to undefined function: set_content() in
/usr/local/lib/php/XML/Tree.php on line 300