Home » XML » XML_Tree » Bug #22
Removing deprecated methods in 2.0b1 caused "Call to undefined function" errors
Details
| Submitted | 2003-09-18 17:22 UTC |
|---|---|
| From | russell at keppner dot net |
| Assigned | cox |
| Status | Closed |
| Package | XML_Tree |
| PHP Version | 4.3.3 |
| OS | Linux |
| 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