Fatal error: Uncaught Error: Class ‘RankMathHelper’

#181009
  • Resolved Kristijan Nikolov
    Rank Math pro

    Hello,

    I updated the version on my webiste to 1.0.61 and it all went down after with the following error below. From what I can see online I am not the only one with this issue.

    I disabled the plugin for now but wanted to check if you have a quick fix for this before I go with another tool? I deactivated the plugin, removed old files, reinstalled it again but nothing helped.

    Kris

    Fatal error: Uncaught Error: Class ‘RankMathHelper’ not found in /home/customer/www/actonsmilehub.com/public_html/wp-content/plugins/wp-rocket/inc/3rd-party/plugins/seo/rank-math-seo.php:14 Stack trace: #0 /home/customer/www/actonsmilehub.com/public_html/wp-content/plugins/wp-rocket/inc/3rd-party/3rd-party.php(64): require() #1 /home/customer/www/actonsmilehub.com/public_html/wp-content/plugins/wp-rocket/inc/main.php(67): require(‘/home/customer/…’) #2 /home/customer/www/actonsmilehub.com/public_html/wp-includes/class-wp-hook.php(292): rocket_init(”) #3 /home/customer/www/actonsmilehub.com/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array) #4 /home/customer/www/actonsmilehub.com/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #5 /home/customer/www/actonsmilehub.com/public_html/wp-settings.php(423): do_action(‘plugins_loaded’) #6 /home/customer/www/actonsmilehub.com/public_html/wp-config.php(93): require_once(‘/home/customer/…’) #7 /home/customer/www/actonsmilehub.c in /home/customer/www/actonsmilehub.com/public_html/wp-content/plugins/wp-rocket/inc/3rd-party/plugins/seo/rank-math-seo.php on line 14

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

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

    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.
    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/

    Thank you, and we really look forward to helping you.

    Hello,

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

    Thank you.

    Hi – I posted the info you requested. Can you tell me how long it will take to fix this and how to avoid this in the future?

    Brian
    Rank Math free

    Hello,

    Thank you for getting back to us.

    It is possible that this issue is being caused by a conflicting theme or plugin. You can try installing them when your theme is uninstalled or using a default WP theme. Additionally, it does seem like you did not insert the FTP host URL.

    Just tried using your main URL but it returned the connection timed out error. Kindly update them or try creating a staging site so that we can check.

    We are looking forward to helping you.
    Thank you.

    Hello,

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

    Thank you.

    I added the ftp hostname as requested.

    Hello,

    Thank you for the follow-up, and sorry for the delay.

    We wanted to further check this issue, but it seems that the FTP password is incorrect. Could you please check and update?

    Alternatively, you can also create a staging site with the same issue as it seems that your site is currently live. This will also avoid your site getting any issues and recommend specific troubleshooting steps. Here is a guide that could be really useful for you on how to create a staging site: https://www.wpbeginner.com/wp-tutorials/how-to-create-staging-environment-for-a-wordpress-site/

    Looking forward to helping you.

    Thank you.

    Hello,

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

    Thank you.

    I created an new ftp user just for this. Please let me know if you have any suggestions.

    I had to go back to Yoast but I would continue with your plugin and get the Pro/Business version if you can get this fixed.

    Thanks.

    Brian
    Rank Math free

    Hello,

    Thank you for getting back to us and sorry for the inconvenience caused here.

    There still seems to be a problem while trying to access your site’s FTP with the provided credentials. This seems to be related to a server error as shown in this screenshot: https://i.rankmath.com/tGOZH1

    Please update your credentials here or contact your host to check if there are any restrictions to accessing it. Also, remember to include your staging site as we previously suggested here.

    We are looking forward to helping you.
    Thank you.

    The screenshot has blank for the port – did you try using 21 as provided?

    I figured out a workaround for the problem. The root cause is either your new version or WP Rockets new version – in any case your 1.0.61 version does not work well with WP Rocket latest version. I downgraded your version to 1.0.58 where I was previously and it works fine now.

    Obviously this is temporary workaround – would be good to have a compatible new version that works with WP Rocket.

    Hello,

    Thanks for getting back to us.

    We just tested this on our end and we successfully activated both Rank Math and WP Rocket on the latest versions.
    Rm and WP Rocket

    Could you please try reinstalling both plugins on your website and see if that fixes the issue?

    All your Rank Math settings will still be there even if you delete the plugin and reinstall it.

    Let us know if that fixes the issue.

    Looking forward to hearing back from you.

    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.

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

The ticket ‘Fatal error: Uncaught Error: Class ‘RankMathHelper’’ is closed to new replies.