Title: Fatal error: Call to undefined function: xml_parser_create()
Last modified: August 18, 2016

---

# Fatal error: Call to undefined function: xml_parser_create()

 *  Resolved [Bodhipaksa](https://wordpress.org/support/users/haecceity/)
 * (@haecceity)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-xml_parser_create/)
 * Then submitting a post I’m getting the following error message:
 * [quote]Fatal error: Call to undefined function: xml_parser_create() in /htdocs/
   www/wp-includes/class-IXR.php on line 144[/quote]
 * The posts get, well, posted, okay, but I’d like to get this sorted out since 
   I’m going to be using WP as a content management tool and any kind of fatal error
   message is likely to cause a few heart attacks. I’d like to steer clear of real
   fatalities!

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Thread Starter [Bodhipaksa](https://wordpress.org/support/users/haecceity/)
 * (@haecceity)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-xml_parser_create/#post-352433)
 * That should be “When submitting a post…”
 * Any ideas?
 *  [yas](https://wordpress.org/support/users/yas/)
 * (@yas)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-xml_parser_create/#post-352435)
 * The function xml_parser_create() is a PHP function, which would lead me to believe
   that your installation of PHP either isn’t complete or is corrupted somehow.
 * Check out this [thread](http://wordpress.org/support/topic/30092?replies=6).
 *  Thread Starter [Bodhipaksa](https://wordpress.org/support/users/haecceity/)
 * (@haecceity)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-xml_parser_create/#post-352706)
 * I’d found that post in searching the forums looking for a solution, but I confess
   I had no idea what the final post meant when it said:
 * > I had exactly the same problem. Solved by re-emerging php with the ‘xml’ flag
   > set (in /etc/make.conf)
 * I couldn’t figure out what file (/etc/make.conf) he was talking about, and don’t
   know what “re-emerging php with the ‘xml” flag set” means!
 * Any pointers?
 *  [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * (@kafkaesqui)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-xml_parser_create/#post-352708)
 * I think “re-emerging” was meant to be re-compiling. Unless you’re self-hosted
   or have full control over your server, you’ll have to contact your provider and
   ask if they can set up PHP with xml support.
 *  Thread Starter [Bodhipaksa](https://wordpress.org/support/users/haecceity/)
 * (@haecceity)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-xml_parser_create/#post-352799)
 * That’s exactly what it turned out to be, and with the help of my webhost it took
   about 30 seconds to sort out. Many thanks!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Fatal error: Call to undefined function: xml_parser_create()’ is closed
to new replies.

## Tags

 * [parser](https://wordpress.org/support/topic-tag/parser/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [Bodhipaksa](https://wordpress.org/support/users/haecceity/)
 * Last activity: [20 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-xml_parser_create/#post-352799)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
