Unable to update website : Rank Math conflict

#669327
  • Resolved Tracy Hampton
    Rank Math free

    Morning

    I am currently unable to update my website (the page changes will not save). I reinstalled the theme in case it was that, and disabled all plugins (which fixed the problem). I then enabled them one at a time and providing Rank Math remained inactive, I could then save the pages. The plugin has never conflicted with my plugins before, so am assuming an update to RankMath has caused the issue. I’ve had this issue for months, I’ve just not had the time to look into/diagnose it.

    I disconnected my Rank Math account and reconneted it, per the AI response, but that didn’t help.
    Next it recommended checking for Plugin conflicts, but short of what I did above (literally disabled and renabled one at a time), I’m not sure how else to check. It mentioned a guide provided by Rank Math, but I cannot find that.

    It then talked about disabling the sensitive data encryption, but again, I can’t find out where I’d do that.

    Have you come across this recently? I’d really appreciate some help please.

    Thank you
    Tracy

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

    I’m sorry to hear about the issue you’re facing with updating your website. Thank you for providing detailed information about the steps you’ve already taken to troubleshoot the problem.

    It seems like you’ve already tried reconnecting your website with Rank Math and checking for plugin conflicts by enabling them one at a time. Since you’re unable to find the guide provided by Rank Math for checking plugin conflicts, I can help you with that.

    You can find the guide on how to check for plugin conflicts with Rank Math by following this link: Confirming a Theme/Plugin Conflict With Rank Math.

    Additionally, if you’d like to disable sensitive data encryption as suggested, you can do so by navigating to WordPress Dashboard → Appearance → Theme Filter Editor (for Classic Theme) or WordPress Dashboard → Tools → Theme Filter Editor (for Block Theme). From the list of files in your theme, choose rank-math.php or functions.php and add the following filter:

    /**
     * Filter to disable sensitive data encryption
     */
    add_filter( 'rank_math/admin/sensitive_data_encryption', '__return_false' );

    Finally, click the Update File button at the bottom of the page.

    I hope this helps in resolving the issue. If you encounter any further problems or need additional assistance, please don’t hesitate to reach out to us. We are here to help.

    Thank you for bringing this to our attention, and we appreciate your patience as we work to resolve this issue for you.

    Sources:
    How to Fix ‘Automatic Update is Unavailable for this Plugin’ Error in Rank Math » Rank Math
    Confirming a Theme/Plugin Conflict With Rank Math
    Why Rank Math Settings Are Not Getting Saved? » Rank Math

    Thanks for the response above.

    I have tried both things, and assuming as I enabled each plugin individually, any errors would show up in the Notices box, there were none.

    I have added the Filter to disable sensitive data encryption line to the functions.php file too.

    Neither have helped.

    I’m not sure if this helps, but I’ve worked out, I can add and update pages when they are in DRAFT mode. It’s once it’s published, that I have to disable RankMath to be able to edit anything.

    Not sure if that helps or not, but looking forward to your thoughts.

    Thank you
    Tracy

    Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.

    Upon checking the Rank Math routes on your live site, it is getting blocked by your WordFence firewall. Please refer to the screenshot attached in the sensitive data section.

    In WordFence, you may just need to ensure that the Rank Math routes are not getting blocked by the WordFence firewall:

    /wp-json/rankmath/v1/updateMeta

    Here’s a guide you can follow to whitelist the route:
    https://rankmath.com/kb/whitelist-rank-math-in-wordfence/#whitelist-rank-math-in-wordfence

    Once done, try saving again with Rank math.

    Let us know how this goes.

    Thank you.

    Hi Reinelle

    Thanks so much for coming back to me.

    Weirdly, Wordfence isn’t recording anything in the staging environment, so I added this to the live site, as I could see it in the Live Traffic list. It’s now in the Allowed List, but it still won’t allow me to edit the pages.

    Note : I’m now back on my live site : https://hamptondigitalservices.com/wp-admin
    Same UN details as provided earlier.

    I should add, I disabled Wordfence as a test too, but the pages are still blocked from saving.
    The only time it doesn’t block it is when I disable Rank Math.

    It’s really odd….

    Hello,

    We would like to check the issue further on our end. Can you please share your server IP address?

    Looking forward to helping you.

    Hi Jeremy

    Sure, it’s : 185.151.30.189

    I use Rank Math for all my clients, and they generally all have the same plugins (Wordfence being one of them). None of the others are having this issue.

    As I keep saying “it’s really odd” LOL

    Thanks so much for your help.

    Hello,

    I have logged in to your staging site to troubleshoot this issue, and found that it was caused by a bug in the Instant Indexing module inside Rank Math. I have fixed it on your site by making a small change in the plugin file seo-by-rank-math/includes/modules/instant-indexing/class-instant-indexing.php, and the error does not occur anymore when we save a post.

    I have taken note of this issue, and we will get it fixed in the plugin in an upcoming update. Until then, you can simply turn off the Instant Indexing module on the affected sites, or overwrite the code for the mentioned file with the modified code from the staging site.

    Thank you for bringing this issue to our attention. If there’s anything else, please let us know.

    Oh wow, thank you so much! I’ve turned that element off on my live site and as you say, I can now save pages again. I’ve had the issue for months and should have reported it sooner. Thank you once again, I really appreciate your help in resolving this.

    Have a great weekend.
    Tracy

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

    Hello,

    We released a quick Beta update you can try to see if that helps.

    Please enable the Beta update by following this:
    https://rankmath.com/kb/version-control/#beta-updates

    beta update

    If you are unable to see an update, please clear Rank Math’s transients from:
    WP Dashboard > Rank Math > Status & Tools > Database Tools > Remove Rank Math Transients > Remove transients
    remove transients rank math

    Please clear the caches, server, and WordPress after updating.

    You can disable the Beta updates once you update to the latest version and if the issue is fixed.

    We are here to assist. Thank you.

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

The ticket ‘Unable to update website : Rank Math conflict’ is closed to new replies.