-
Hello.
I can no longer disable forms from the dashboard.
In particular, I would like to disable the “Content AI” module and the “SEO Analysis” module, but when I click on the switch and return to another page, the modules are activated again.
-
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.
For initial troubleshooting, please try clearing your website and browser’s cache then check again.
If the issue still persists, please check if you are using a Firewall, as it may prevent saving the changes.
If so, please whitelist these routes:
/wp-json/rankmath/v1/updateMeta /wp-json/rankmath/v1/saveModule
You can get in touch with your web host as well for Whitelisting the routes.
Here’s a link for more information:
https://rankmath.com/kb/meta-data-not-saving/#firewallLet us know how this goes.
Thank you.
I’ve tried ALL solutions (totally disabling Windows Firewall and also Whitelisting Rank Math File in Cloudflare Rules)… nothing changes: Content AI and SEO Analysis always return to “ON” 🙁
Hello,
Please take a backup of your
.htaccess
file and replace it with the default WordPress.htaccess
file. You can get the file here: https://wordpress.org/support/article/htaccess/You can follow this guide to edit the
.htaccess
file:
https://rankmath.com/kb/edit-htaccess/If the issue persists, 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.
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, I’ve tried with Default WordPress .htaccess with no luck.
I have updated the sensitive data as requested with a temporary login URL.
Can you please check further?
Thank you.
Hello,
I was able to replicate the issue but there isn’t any script error when trying to disable the modules.
However, I enabled troubleshooting mode in your website to check for any plugin/theme conflict and I noticed that your theme is somehow hindering Rank Math to update the modules.
Please refer to my video screencast in the Sensitive Data section.
When enabling the modules while using the default theme, I was able to save it.
Kindly check this one with your theme author. They might be able to help you resolve it.
Looking forward to helping you.
Ok. Thanks for your help.
Hello,
We are super happy that we could address your issue.
If you 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.
I found the origin of the “problem”.
In my child theme I disabled jQuery Migrate.
When I re-enabled it, the Modules in RankMath Dashboard work like a charm.
So this tell me (and you) that the problem is not my Theme, but your JavaScript coding, that still contains obsolete and deprecate JavaScript features that will be removed as soon as possible.Cheers
Hello,
We don’t rely on that plugin to have any of the functionality of our plugin work correctly.
In fact, if that plugin was necessary for Rank Math to work plenty of our users would be unable to use the plugin because they are running the latest version of WordPress which doesn’t include that enabled by default.
Some other functionality that was originating from that plugin was causing the issue and preventing the modules’ state from being saved properly on the website.
Don’t hesitate to get in touch if you have any other questions.
You are wrong.
I have the LATEST version of WordPress (5.9.3) and jQuery Migrate (version 3.3.2) is installed. It has been reinserted by default from 5.7 version (it was removed only on 5.6), as you can read here: https://css-tricks.com/wordpress-5-7-big-ol-jquery-update/.
I can assure you that I have done all the necessary tests on a clean and default version of WordPress 5.9.3: jQuery Migrate is installed by default (and your Dashboard is working fine).
If I insert the instructions to bypass jQuery Migrate in the functions.php file, your Dashboard stops working.this is the code I try to insert or remove to bypass jQuery Migrate (and which causes your Dashboard to not work):
function dequeue_jquery_migrate( $scripts ) { if ( ! empty( $scripts->registered['jquery'] ) ) { $scripts->registered['jquery']->deps = array_diff( $scripts->registered['jquery']->deps, [ 'jquery-migrate' ] ); } } add_action( 'wp_default_scripts', 'dequeue_jquery_migrate' );
Hello,
I tried disabling the JQuery Migrate from my end (using WordPress 5.9.3) and I was able to replicate the issue.
Allow me to check this one with our developers.
We should get back to you shortly.
Thank you.
Hello,
I just got word from our developer.
We can confirm that our plugin, Rank Math doesn’t need the jQuery Migrate and jQuery Migrate has been removed since version 5.5 so you don’t have to apply the code you shared. The code somehow disrupts Rank Math’s functionality so I suggest removing the code since it is not needed anymore in your current WordPress version.
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
Be well informed: even the latest version of WordPress (5.9.3) calls jQuery Migrate (from its own internal folder: “…/wp-includes/js/jquery/jquery-migrate.min.js?ver=3.3.2”), but it “calls” itself ONLY when it detects (in themes or plugins) some JS scripts functions that are deprecated in the latest version of JavaScript natively used by WordPress (the 3.5.1).
By installing the “Enable jQuery Migrate Helper” plugin (created by the WordPress developers), which enables error logging, it CLEARLY appears that YOUR plugin still contains a DEPRECATED function in the Dashborad, to be exact the “ready” function, so if I manually exclude WordPress jQuery Migrate call, your Dashboard no longer works.
Attached is the screenshot of the error reported by the aforementioned plugin:Hello,
We were able to reproduce the error and have logged it. Please allow us some time to test and release a fix. It should be added to the plugin in the upcoming update.
We seek your patience and understanding in this matter.
In the meantime, if you need any other assistance, please feel free to let us know. We are here to help.
Thank you.
Hello,
Thank you for your patience.
Just a quick update that we have fixed this issue on one of our recent releases.
Please update Rank Math & all other plugins, themes and WordPress to the latest version.
The issue should be fixed.
If not, please feel free to open a support topic or reply to this message and we will be more than happy to assist.
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.
The ticket ‘disable modules’ is closed to new replies.