WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Fatal error: Call to undefined function: xml_parser_create() (6 posts)

  1. Bodhipaksa
    Member
    Posted 8 years ago #

    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!

  2. Bodhipaksa
    Member
    Posted 8 years ago #

    That should be "When submitting a post..."

    Any ideas?

  3. yas
    Member
    Posted 8 years ago #

    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.

  4. Bodhipaksa
    Member
    Posted 8 years ago #

    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?

  5. Kafkaesqui

    Posted 8 years ago #

    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.

  6. Bodhipaksa
    Member
    Posted 8 years ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags