Plugin Update Breaks Site

#28028
  • Resolved Ben
    Rank Math free

    Hi Guys,

    Currently using Rankmath version 1.0.35.2 and it’s working fine.

    When I try to update to any newer version from 1.0.35.3 onwards it crashes the site and gives me a “There has been a critical error on your website” error and I have to roll back to the old version.

    Let me know if there’s anything I can do to fix it?

    Ben

    • This topic was modified 4 years, 3 months ago by Ben.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Todd
    Rank Math free

    Hi Ben,

    We might need to take a closer look at the settings. Please include your WP logins in the designated 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.

    Ben
    Rank Math free

    Hello,

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

    Thank you.

    Hello,

    The filter code you added in functions.php file to change the robots data was incorrect. You added a filter without defining the function. I changed the code in functions.php file to:

    
    if ( ! function_exists( 'custom_robots' ) )
    {
        function custom_robots( $robots )
        {
            if (is_page_template($template == 'glossary_part2.php')) {
    		//Upate robots data.	
    	}
            return $robots;
        }
    	add_filter( 'rank_math/frontend/robots', 'custom_robots' );
    }
    

    Looks like you want to change the robots data on glossary template. If so, please change the robots data in the if condition.

    I hope that helps. Thank you.

    Ben
    Rank Math free

    Thanks Pratik,

    It’s all working now. Appreciate your help

    Ben

    Todd
    Rank Math free

    Hi Ben,

    We are so glad to be of help. We are always here if you need us in the future.

    Hey, if it isn’t too much to ask for – would you mind leaving us a review here?

    https://s.rankmath.com/reviewrm

    It only takes a couple of minutes but helps us tremendously.

    It would mean so much to us.

    Thank you.

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

The ticket ‘Plugin Update Breaks Site’ is closed to new replies.