WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Google XML Sitemaps] The stylesheet does not contain a document element

[Plugin: Google XML Sitemaps] The stylesheet does not contain a document element

  • First, sorry if this topic exists somewhere, I don’t see it. I have installed the google sitemap plugin, and the build seems to work fine (no permission issues noted), but when I browse to the sitemap (http://sumofsome.com/sitemap.xml), I received the error:

    The stylesheet does not contain a document element. The stylesheet may be empty, or it may not be a well-formed XML documen…

    The sitemap.xml file seems fully populated when I do a view source, and I have not edited the stylesheet that comes with the plugin.

    Using the debug feature does report two errors, but I don’t know if they are related:

    Undefined variable: template in /home/sumofsom/public_html/wp-admin/admin-functions.php on line 1654

    Fatal error: Call to undefined function: wp_load_alloptions() in /home/sumofsom/public_html/wp-content/plugins/google-sitemap-generator.3.1.0.1/sitemap-ui.php on line 108

  • The topic ‘[Plugin: Google XML Sitemaps] The stylesheet does not contain a document element’ is closed to new replies.
Skip to toolbar