I got an error when installing RankMath

#221953
  • Resolved Bobby
    Rank Math pro

    Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

    In this case, WordPress caught an error with one of your plugins, WP Rocket.

    First, visit your website (https://www.reverbtimemag.com/) and check for any visible issues. Next, visit the page where the error was caught … and check for any visible issues.

    Please contact your host for assistance with investigating this issue further.

    If your site appears broken and you can’t access your dashboard normally, WordPress now has a special “recovery mode”. This lets you safely login to your dashboard and investigate further.

    …..

    Error Details
    =============
    An error of type E_ERROR was caused in line 14 of the file /home/customer/www/reverbtimemag.com/public_html/wp-content/plugins/wp-rocket/inc/3rd-party/plugins/seo/rank-math-seo.php. Error message: Uncaught Error: Class ‘RankMath\Helper’ not found in /home/customer/www/reverbtimemag.com/public_html/wp-content/plugins/wp-rocket/inc/3rd-party/plugins/seo/rank-math-seo.php:14
    Stack trace:
    #0 /home/customer/www/reverbtimemag.com/public_html/wp-content/plugins/wp-rocket/inc/3rd-party/3rd-party.php(64): require()
    #1 /home/customer/www/reverbtimemag.com/public_html/wp-content/plugins/wp-rocket/inc/main.php(67): require(‘/home/customer/…’)
    #2 /home/customer/www/reverbtimemag.com/public_html/wp-includes/class-wp-hook.php(292): rocket_init(”)
    #3 /home/customer/www/reverbtimemag.com/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)
    #4 /home/customer/www/reverbtimemag.com/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #5 /home/customer/www/reverbtimemag.com/public_html/wp-settings.php(423): do_action(‘plugins_loaded’)
    #6 /home/customer/www/reverbtimemag.com/public_html/wp-config.php(84): require_once(‘/home/customer/…’)
    #7 /home/customer/www/reverbtimemag.c

Viewing 3 replies - 1 through 3 (of 3 total)
  • Anas
    Rank Math business

    Hello,

    Thank you for contacting Rank Math, and sorry for any inconvenience caused.

    The errors seem to be related to the WP-Rocket plugin. Can you please check that the WP-Rocket plugin is updated to the latest version?

    If it is already updated, could you please try reinstalling the Rank Math plugin on your website and see if that fixes the issue?

    Let us know if the issue persists.

    Looking forward to hearing back from you.

    Hello!

    Today, I updated the WP plugin to the latest version as you suggested. I was able to install the RankMath plugin, but after activating the plugin, I got this error.

    ////////////////////////——————//////////////////////////////////////

    Howdy!

    Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

    In this case, WordPress caught an error with one of your plugins, WP Rocket.

    First, visit your website (https://www.reverbtimemag.com/) and check for any visible issues. Next, visit the page where the error was caught (https://www.reverbtimemag.com/wp-admin/plugins.php?activate=true&plugin_status=all&paged=1&s=) and check for any visible issues.

    Please contact your host for assistance with investigating this issue further.

    If your site appears broken and you can’t access your dashboard normally, WordPress now has a special “recovery mode”. This lets you safely login to your dashboard and investigate further.

    ////–////

    To keep your site safe, this link will expire in 1 day. Don’t worry about that, though: a new link will be emailed to you if the error occurs again after it expires.

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 5.7.2
    Current theme: Vinkmag (version 2.8)
    Current plugin: WP Rocket (version 3.9.0.5)
    PHP version 7.0.33

    Error Details
    =============

    An error of type E_ERROR was caused in line 14 of the file /home/customer/www/reverbtimemag.com/public_html/wp-content/plugins/wp-rocket/inc/3rd-party/plugins/seo/rank-math-seo.php. Error message: Uncaught Error: Class 'RankMath\Helper' not found in /home/customer/www/reverbtimemag.com/public_html/wp-content/plugins/wp-rocket/inc/3rd-party/plugins/seo/rank-math-seo.php:14
    Stack trace:
    #0 /home/customer/www/reverbtimemag.com/public_html/wp-content/plugins/wp-rocket/inc/3rd-party/3rd-party.php(64): require()
    #1 /home/customer/www/reverbtimemag.com/public_html/wp-content/plugins/wp-rocket/inc/main.php(67): require('/home/customer/...')
    #2 /home/customer/www/reverbtimemag.com/public_html/wp-includes/class-wp-hook.php(292): rocket_init('')
    #3 /home/customer/www/reverbtimemag.com/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)
    #4 /home/customer/www/reverbtimemag.com/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #5 /home/customer/www/reverbtimemag.com/public_html/wp-settings.php(423): do_action('plugins_loaded')
    #6 /home/customer/www/reverbtimemag.com/public_html/wp-config.php(84): require_once('/home/customer/...')
    #7 /home/customer/www/reverbtimemag.c
    Ankit
    Rank Math business

    Hello,

    The lowest PHP version supported by Rank Math is 7.2, the most recent stable PHP version is recommended. You seem to have PHP version 7.0.33 installed. Please consider upgrading your PHP version.

    You can learn more about the minimum requirements here:
    https://rankmath.com/kb/requirements/

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

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

You must be logged in to reply to this ticket.