Incompatible with MainWP Bulk Settings editor

#69646
  • Resolved pab1989
    Rank Math free

    Hi, when using Rank Math MainWP Bulk Settings Editor stops working.

    I have been using MainWP Bulk Settings for all my sites. But suddenly whenever I try to update I get the error pasted in sensitive data. If I deactivate Rank Math the plugin works again. It’s the first time ever I have had a plugin not be compatible with Bulk Settings Editor.

    For information it’s not for updating Rank Math settings it fails, it won’t let me update any settings for any plugin via bulk edit when I got rank math installed.

    I hope there is a way to make the two plugins compatible.

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

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

    Could you please confirm

    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/

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

    Else we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
    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,

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

    Thank you.

    Hello,

    On your mainwp site, I selected opcache but after that, I don’t know what to update or change on your main site to reproduce the issue. Can you please give us the steps or record a screencast with the steps to reproduce this issue?

    Looking forward to helping you.

    Hello,

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

    Thank you.

    Hi, I just updated the “sensitive information” With a link to reproduction of the error.

    Hello,

    Can you please add your site’s FTP access in the Sensitive Data Section so we can try changing some code in the plugin files to fix this issue? It’s a premium plugin and I couldn’t setup on my local setup without the license key.

    Looking forward to helping you.

    Thanks for the reply, there currently is no FTP on the server. Can you send me the suggested changes then I will implement them. 🙂

    Hi,

    I am sorry but we have to check what the issue is and then make changes. We cannot give you the code otherwise we would have done that already. Can you create a staging site where we can install WP File Manager Plugin to test changes? If we do that on a live website, there is a chance it will break your website with no-recourse on fixing it without real FTP details.

    Hello,

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

    Thank you.

    Understandably I just created a staging site. I added the URL in the sensitive information tab. You can use the same username + password. P.S it’s only the mainwp site you needed as staging correct?

    Hello,

    Please create a staging site of your other site where Rank Math plugin is active as we want to debug this issue by changing the code in the Rank Math plugin files.

    Looking forward to helping you.

    Hello,

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

    Thank you.

    Hi, I just did that and added the credentials to the sensitive information tab. Now you have a staging site for both the mainwp installation and frontpage.

    Hello,

    Thank you for providing access. I see the code which is conflicting with the MainWP plugin and I’ve fixed it on your staging site by replacing the following function in seo-by-rank-math/includes/admin/class-admin-menu.php file:

    replaced:

    
    private function maybe_deregister() {
    		if ( ! Helper::has_cap( 'general' ) ) {
    			return;
    		}
    
    		$nonce = Param::post( '_wpnonce' );
    		if ( ! $nonce || ! wp_verify_nonce( $nonce, 'rank_math_register_product' ) ) {
    			return;
    		}
    
    		if ( 'deregister' === Param::post( 'registration-action' ) ) {
    			Admin_Helper::deregister_user();
    		}
    	}
    

    with

    
    private function maybe_deregister() {
    		if ( ! Helper::has_cap( 'general' ) ) {
    			return;
    		}
    		
    		if ( 'deregister' !== Param::post( 'registration-action' ) ) {
    			return;
    		}
    
    		$nonce = Param::post( '_wpnonce' );
    		if ( ! $nonce || ! wp_verify_nonce( $nonce, 'rank_math_register_product' ) ) {
    			return;
    		}
    
    		Admin_Helper::deregister_user();
    	}
    

    This seemed to have fixed the issue. Can you please confirm?

    Thank you.

    Yes it works now! 🙂 Thanks a lot for the very competent support.

    Will this change come as part of a future update of the plugin?

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

The ticket ‘Incompatible with MainWP Bulk Settings editor’ is closed to new replies.