[wp-trac] [WordPress Trac] #37122: Error out when xml_create_parser is not available

WordPress Trac noreply at wordpress.org
Mon Jan 30 23:09:23 UTC 2017


#37122: Error out when xml_create_parser is not available
--------------------------+---------------------
 Reporter:  kraftbj       |       Owner:  pento
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.7
Component:  XML-RPC       |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------

Comment (by t0nnyh0ang):

 Replying to [ticket:37122 kraftbj]:
 > When PHP XML is not available, we fatal with an `PHP Fatal error: Call
 to undefined function xml_parser_create()` in `wp-includes/class-IXR.php`
 and other files.
 >
 > We already error out when that function is not available in `wp-
 includes/rss.php` since [3083].
 >
 > Background: The PHP 7 packages on Ubuntu, unlike PHP 5, does not include
 `php7.0-xml` by default, so there may be an increase in failures of this
 type as folks switch over.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37122#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list