Sitemap

#586841
  • Resolved Anonymous
    Rank Math free

    I can not believe we have just discovered this issue when checking our site on AHREFS.

    The main PAGE sitemap is throwing up this error on WT.

    Error thrown
    Call to a member function get_entities() on null

    The /post-sitemap.xml are all working fine, but page-sitemap.xml is giving us the above error.

    How come?

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

    Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.

    This issue could be caused by conflicting plugins/themes on your website. Kindly make sure you are using the latest version of all the plugins and themes, please update if not yet. You can also follow this guideline to check for a plugin conflict: https://rankmath.com/kb/check-plugin-conflicts/

    However, We recently witnessed the same issue in some of our user’s websites due to the “NextGen Gallery” plugin. Could you please confirm if you are also using the same plugin? If so, then you’ll have to wait because the issue already has been identified by its developers and the fix for it would come from their team in one of the upcoming updates as mentioned here: https://wordpress.org/support/topic/rank-math-error-thrown-call-to-a-member-function-get_entities-on-null/

    In the meantime to have sitemaps working again you can try disabling the image sitemap by going to WordPress Dashboard > Rank Math > Sitemap Settings and disabling this option:
    Images

    That should make it possible to load the sitemaps once again because the data from NextGen wouldn’t be fetched anymore.

    Please don’t hesitate to let us know if you have any other questions.
     
    Thank you.

    Anonymous
    Rank Math free

    Thanks, I found that issue with Nex Gen and I think I have worked around it now.

    FYI I have other issues with this plugin and Kadence Theme which I have been waiting 2 years for their promised fix.

    Hello,

    Can you please share what other issues you are encountering with Rank Math?

    Looking forward to helping you.

    Thank you.

    Anonymous
    Rank Math free

    I was referring to Nex Gen issues, not Rank Math.

    Hello,

    Thank you for clarifying that. I’m sorry to hear that you’re having issues with NextGen Gallery and Kadence Theme.

    You can try reminding them that you’re still waiting for a fix and hopefully they prioritize the fix.

    In the meantime, if you need help with Rank Math – please don’t hesitate to reach out.

    Anonymous
    Rank Math free

    Hello, I do have a few questions regarding Sitemaps.

    In particular, why looking at my current sitemaps the last update was in May on the https://phuketfmradio.com/phuket-weather-forecast-7-days/wednesday-forecast-for-phuket/
    6 2023-05-03 09:34 +07:00

    Can you tell me how I can download all the site’s sitemaps, as we are now on sitemap number 5 and of course the page version has stopped working since May, does this mean the nex gen plugin has also stopped the post sitemap function from working?

    We were wondering why our Google non-indexed pages had shot up and hence we are now carrying out a full investigation, which is why we ask for the best way to download the sitemaps so we can audit our site.

    Thanks

    Hello,

    Can you please try following the steps below to see if that works for you?

    #1. Flush the Sitemap cache by following this video screencast:
    https://i.rankmath.com/pipRDp

    #2. Exclude the Sitemap files of the Rank Math plugin in your caching plugin. The cache could be via a plugin or from the server. For plugins or Cloudflare, please follow this article:
    https://rankmath.com/kb/exclude-sitemaps-from-caching/

    #3. If the above steps doesn’t seem to work, kindly apply the following filter code to your site.

    add_filter( 'rank_math/sitemap/enable_caching', '__return_false');

    Here’s how you can add filter/hook to your WordPress site:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    We hope that helps, and please don’t hesitate to get in touch if you have any other questions.

    Thank you.

    Anonymous
    Rank Math free

    You missed a question:

    Can you tell me how I can download all the site’s sitemaps

    Hello,

    Thank you for getting back to us. We apologize for missing your question, let use try to address each of the questions.

    1. Rank Math sitemap shows the last modified date next to each link. If you’re seeing 2023-05-03 09:34 +07:00, it’s because that is the last modified date we are detecting – can you confirm if you have modified this post/page after that date?
    2. Your sitemap is only a list of all your site links that makes it easier for search engines to find all of your content in one place. But if you still want to download it, you can follow these steps:
      • Go to your WordPress dashboard and navigate to Rank Math > Sitemap Settings.
      • Copy the URL of your sitemap index file, which should look something like this: https://example.com/sitemap_index.xml
      • Paste the URL in your browser and hit enter. You should see a list of all your sitemap files.
      • Right-click on each sitemap file and choose “Save link as” to download it to your computer.

      This would download an XML file that contains a list of your page, post, etc links.

      If you’re looking to audit your site links by crawling them, Screaming Frog SEO Spider is a handy tool. Here’s a guide on how to use it: https://www.gsqi.com/marketing-blog/dirty-sitemaps-how-to-download-crawl/

    3. The first step to figuring out why your Google non-indexed page is going up is to look for any errors that Google Search Console is showing and the reasons they are giving for not indexing some pages. This can usually help you find the problem.

    We hope we were able to address each of your questions, let us know if you have any other concerns.

    Thank you for choosing Rank Math

    Anonymous
    Rank Math free

    Thank you for the response, fortunately, most of the help you have provided we are already aware of and using.

    Screaming Frog we have a subscription.

    Turning to the main reason for this thread, to answer your question.
    “Can you confirm if you have modified this post/page after that date?”

    Yes, I can many updates and new posts, maybe as many as 100 posts and pages. As an example, We update our weather reports every day, one for each day of the week with sometimes a new description but ALWAYS a new current date. We also update the Monthly weather updates in this case June https://phuketfmradio.com/weather/phuket-weather-in-june/ which was updated last on the 11th of June.
    We just updated this post on today’s date and when saving got the following “Updating failed. The response is not a valid JSON response”.

    We disabled the Nex Gen plugin and the post updated with no default message we also added the Google Update function via the API, so we will leave the Nex Gen plugin disabled to see if this post now updates on the Sitemap, could you please check?

    Thanks

    Hello,

    We might need to take a closer look at the settings to test this out. 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.

    Anonymous
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Anonymous
    Rank Math free

    Dear Jeremy or whoever is dealing with this sensitive login data has now been shared and to confirm this blog post was just updated with today’s date.
    https://phuketfmradio.com/phuket-weather-forecast-7-days/wednesday-forecast-for-phuket/

    It should be noted that NextGen Plugin has been disabled since Monday.

    Thanks

    Hello,

    The dates in the sitemap are updated after performing the actions to flush the sitemap mentioned here: https://support.rankmath.com/ticket/sitemap-253/?view=all#post-587534

    That is a clear indication that the sitemap is getting cached, so we recommend that you follow the instructions there to make sure the sitemap is not cached moving forward and it can be updated as soon as you update the posts/pages on your website.

    Regarding the Instant Indexing feature, that will submit the URLs to Google to notify it about the updates but that doesn’t mean that Google will crawl them immediately as we cannot force a particular URL to get crawled, we can just notify Google of the change which helps Google prioritize the crawling of those URLs.

    Don’t hesitate to get in touch if you have any other questions.

    Anonymous
    Rank Math free

    Thank you for this, but you haven’t explained why the sitemaps stopped updating in late May.

    Was it a RM update?

    We need to understand why this happened, as most of the cache suggestions you recommend are actually in place and have been since before this issue.

    So please let us know why this stopped.

    Thanks

Viewing 15 replies - 1 through 15 (of 20 total)

The ticket ‘Sitemap’ is closed to new replies.