Support » Fixing WordPress » Fatal error: Call to undefined function: xml_parser_create()

  • Resolved Bodhipaksa


    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)
  • That should be “When submitting a post…”

    Any ideas?

    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.

    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?

    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.

    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.