Support » Plugin: All in One SEO Pack » Sitemap broken after update

  • Resolved johnwerner

    (@johnwerner)



    After the last update the sitemap became unreadable.
    I got the following message in the google search console sitemap section:
    “Faulty sitemap. We could not read the sitemap. It might contain entries we do not recognize. Please check your sitemap before re-submitting.”
    There’s only approx. 160 entries in the sitemap (pages and posts only) and the memory limit is set to 256MB.
    I tried to index and paginate as suggested in the other threads, but still error.

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

Viewing 15 replies - 1 through 15 (of 17 total)
  • Hi,
    same problem.
    Read this topic
    Solution is rollback to version 2.3.16

    Thanks for the suggestion system90, but if you use rollback as a solution, you can never update the plugin again. Without updating plugins you expose your site to security risks and do not get new and updated functions.

    I wite another update, maybe after work

    Plugin Author Michael Torbert

    (@hallsofmontezuma)

    WordPress Virtuoso

    @johnwerner

    There are two possible problems in the latest version with the sitemap that some people have…

    One is running out of memory. You’ll know if you’re experiencing this because you’ll have a blank page for a sitemap. This can be solved by switching to sitemap indexes and lowering the number of URLs per page.

    The other issue (the one that affects you) is a bug in the new code we added that adds images to sitemap where some invalid images are added for some people. For this you can roll back temporarily if you like, or just wait for the next version.

    We’re working hard to get a bugfix release out that will address both of these. Rest assured that a temporary problem with your sitemap will not negatively affect your SEO.

    Thank you Michael Tobert for clarifying, and I look forward to the update.

    I would like to give a tip: When you know there’s a bug, I think it’s smart to inform the users (e.g. on the dashboard or your website, facebook or pinned on top of support forum). Some people might work the problem for hours in vain, trying to figure out what they have done wrong. Just a tip.

    I noted your comment @johnwerner that you can never update to a new version after rollback. I don’t know what you mean by this. If you rollback a plugin, it is always possible to update. I use a rollback plugin and have never had a problem updating to a new version later. It has saved me on many occasions.

    Yes of course @bobsled, now that we know there is a bug in the plugin that will be fixed, a rollback will serve as a temporary solution until there’s a fixed update available.

    But at the time of my statement, we had no reason to think that the SEO-plugin had a bug that would be fixed, did we? Rather that the fault probably had root in my user setup somehow. So, if I used rollback as a final solution, I would have to stay on the old version.

    This thread was resolved at the time Mr.Tobert informed us there was a bug that will be fixed.

    If he did not have a bugto fix, and I used a rollback, I could never update again without encountering the same error.

    Thanks for your comment.

    Plugin Author Michael Torbert

    (@hallsofmontezuma)

    WordPress Virtuoso

    Version 2.4.1 has been released and and should fix the sitemap issues.

    There are two possible issues that some sites had with 2.4:

    1) Running out of memory. If you had this issue, you’d know it because your sitemap would be blank. We now recommend using the Sitemap Index option and setting your Posts per Sitemap Page option to 1000 instead of 50,000.

    2) Parsing error in Google Search Console. This was due to some sites with code that used fake images (Amazon affiliate link code was a common one, but it could be different for everyone). This code fooled AIOSEOP into thinking it was an image, which got included in the sitemap, which caused a parsing error. This is now fixed.

    *Note: any temporary glitch in your sitemap would have no negative effect on your SEO.

    @hallsofmontezuma

    Already update to version 2.4.1.1 but still unable to solve the issue, still showing empty blank sitemap. Pls help to check again.

    When I reduce the Maximum post per sitemap page to 1000, it is showing. But once I increase to any value above 1000, it is showing empty sitemap again.

    Plugin Author Michael Torbert

    (@hallsofmontezuma)

    WordPress Virtuoso

    @jianpey
    Yes, as I said, reduce it to 1000.

    @hallsofmontezuma

    I have more than 1000 urls.
    When I reduce to 1000 url per page, /sitemap_post_1.xml is showing fine.
    But, in /sitemap_post_2.xml, it is showing empty page again.

    Plugin Author Michael Torbert

    (@hallsofmontezuma)

    WordPress Virtuoso

    Reduce it to fewer than 1000 then. Try 500.
    You can also try increasing your PHP memory https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

    The update fixed the sitemap. Thanks.
    And now it also reports images. Nice.

    Weirdly, it reports 3000 images on my site, but I only have around 1000. Maybe it is reporting same image several times due to the different sized copies made by the theme?

    Plugin Author Michael Torbert

    (@hallsofmontezuma)

    WordPress Virtuoso

    Hi @johnwerner

    Thank you for reporting this. We’re looking into it now, and I’ve opened an issue here https://github.com/semperfiwebdesign/all-in-one-seo-pack/issues/1252

    (You can just open an issue directly on github whenever you find a possible bug.)

    It’s possibly expected behavior if you have the same image in multiple posts. For instance, post 1 and post 2 both have a shared image, or post 1 has an image, but you have the attachment post type enable for the sitemap (we recommend having this disabled in most cases).

    Plugin Author Michael Torbert

    (@hallsofmontezuma)

    WordPress Virtuoso

    Update to 2.4.2 and it should hopefully resolve this for you.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Sitemap broken after update’ is closed to new replies.