Sitemaps xml crashed our site

#527009
  • Resolved Leticia Diaz
    Rank Math free

    Context

    We are trying to implement this plugin on our site. Our site has around 10,000 pages ( including posts and other taxonomies). We tried to reduce the number of posts on each sitemap, which currently is 200. It generates like 48 sitemaps. When we tried to visit each we got the following error, this error repeats around 10k in our logs files. Causing the site crashing therefore google can’t read this sitemap.

    We tried updating WordPress, RankMath, and RankMath Pro, but nothing worked.
    Also, we disable all the plugins and only RankMath left and it still has the same problem.
    Our wp-config has 1024M of memory

    [10-Feb-2023 18:03:12 UTC] PHP Warning: Attempt to read property "ID" on null in /var/www/web/wp-includes/link-template.php on line 451

    Best,
    Leticia

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    Thank you for contacting Rank Math support, and sorry for any inconvenience that might have been caused due to that.

    This error is typically caused when a function is trying to access a post or a page that doesn’t exist on your WordPress site.

    Please try clearing your website cache and ensure that Rank Math’s sitemap is free from your caching services as well. You may check this guide: https://rankmath.com/kb/exclude-sitemaps-from-caching/

    If that doesn’t help, assuming you are using the latest version of all the plugins and the themes (please update if not yet), it would seem like a conflict with one of the plugins or the theme you are using.

    To determine that, please follow this troubleshooting guide: https://rankmath.com/kb/check-plugin-conflicts/

    Here is a video you can follow as well: https://www.youtube.com/watch?v=FcIWRhcUP2c

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    Please let us know how that goes.

    Thank You

    Hello,

    I tried all the recommendations above and found that this plugin Query monitor https://querymonitor.com/ is causing issues when visiting the sitemaps. Is there anything else that you can help us with?

    Thanks.

    Hello,

    You should get in touch with the support of the Query Monitor plugin and inform them about the issue. They might already have a solution for this.

    Let us know how that goes. Looking forward to your update.

    Hi

    We believe Query Monitor is not the issue. We already contacted them, because the origin of this warning comes from Rank Math.

    [10-Feb-2023 18:03:12 UTC] PHP Warning: Attempt to read property "ID" on null in /var/www/web/wp-includes/link-template.php on line 451

    This warning only appears when visiting the sitemaps.xml.

    Can you please try to help us?
    Thanks.

    Hello,

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘Sitemaps xml crashed our site’ is closed to new replies.