• Resolved mredzovic

    (@mredzovic)


    I’ve been having an issue with the site displaying the XML sitemap’s.

    I went over to the staging side where our site is cloned and I deactivated all of the plugins and saw that the sitemap was working.
    Upon activating each plugin one by one, when activating QuotesForWooCommerce it says:

    “The plugin generated 2 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin”

    The sitemap then stops working. When I go to the Yoast SEO plugin and try to view the sitemaps I get the following:

    “This page contains the following errors:
    error on line 2 at column 6: XML declaration allowed only at the start of the document
    Below is a rendering of the page up to the first error.”

    Nothing shows below that message.

    Is there something I should do on my end?
    I have checked my functions.php file for any empty lines at the top or bottom, as well as my wp-config.php and all are well.
    Tried clearing site cache, but no luck.

    Any guidance/assistance would be greatly appreciated!

    Thanks again!
    -M

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter mredzovic

    (@mredzovic)

    This seems to be a compatibility issue between Yoast’s XML sitemap generation & also having Quotes for Woocommerce installed.

    Since I have not been hearing from the plugin author, I have corrected this error by disabling my XML sitemaps from being generated through Yoast, and downloaded Google XML Sitemap Generator. This doesn’t seem to conflict with anything and generates the sitemaps just fine.

    If you are having the same issue, be sure to disable Jetpack’s XML sitemap generation as well as it seems this also doesn’t work when having Quotes for Woocommerce installed.

    Plugin Author pinal.shah

    (@pinalshah)

    Hi,

    I apologize for the delay in response. Can you kindly send me the conflicting plugin on pinalj1612 at gmail dot com.

    I’ll check and if possible add a fix in the Quotes plugin.

    Thanks,
    Pinal

    Thread Starter mredzovic

    (@mredzovic)

    Email sent

    Plugin Author pinal.shah

    (@pinalshah)

    Closing as the issue has been fixed and will be released in the next update.

    Pinal

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘XML Sitemap showing error. Help!’ is closed to new replies.