• Hi, when trying to add my API for WP stats, I get the following message:
    Fatal error: Call to undefined function xml_parser_create() in /home/(blogname)/public_html/wp-includes/class-IXR.php on line 165

    Does anyone have any idea how to resolve this? I can’t readily see anyone else having the same problem…

    http://ww.wp.xz.cn/extend/plugins/stats/

Viewing 2 replies - 1 through 2 (of 2 total)
  • freshy

    (@freshy)

    I get the same error here. Only mine is on line 434
    Anybody please?

    The most likely issue(it was mine) is that you are missing the xml extension for php. http://www.php.net/manual/en/book.xml.php

    You may need to ask your server administrator to add xml support for php.

    Php may also need to be recompiled for this, though it might be possible to just compile the xml extension.

    Using gentoo, I was able to resolve the issue by adding xml to my use flags and recompiling php with –newuse.

    Note that regardless of how you do this, you will need to reload/restart apache for it to take effect, as I had to too 🙂

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

The topic ‘[Plugin: WordPress.com Stats] Fatal Error while installing WP Stats’ is closed to new replies.