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

WordPress Trac noreply at wordpress.org
Fri Jun 17 15:15:44 UTC 2016


#37122: Error out when xml_create_parser is not available
--------------------------+-----------------------------
 Reporter:  kraftbj       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  XML-RPC       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 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>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list