Error when install Rank math on my site – Uncaught Error: Class name must be

#1027937
  • Resolved Vincenzo
    Rank Math free

    This is the message that i receive when install Rank Math on my site.

    Can You help me?

    Un errore di E_ERROR è stato causato nella linea 369 del file /home/customer/www/***/public_html/wp-content/plugins/seo-by-rank-math/includes/admin/class-setup-wizard.php. Messaggio di errore: Uncaught Error: Class name must be a valid object or a string in /home/customer/www/***/public_html/wp-content/plugins/seo-by-rank-math/includes/admin/class-setup-wizard.php:369 Stack trace:

    #0 /home/customer/www/***/public_html/wp-content/plugins/seo-by-rank-math/includes/admin/class-setup-wizard.php(162): RankMath\Admin\Setup_Wizard->set_current_step()
    #1 /home/customer/www/***/public_html/wp-includes/class-wp-hook.php(324): RankMath\Admin\Setup_Wizard->steps(”)
    #2 /home/customer/www/***/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)
    #3 /home/customer/www/***/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #4 /home/customer/www/***/public_html/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/bootstrap.php(26): do_action(‘cmb2_admin_init’)
    #5 /home/customer/www/***/public_html/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/init.php(165): cmb2_bootstrap()
    #6 /home/customer/www/***/public_html/wp-includes/class-wp-hook.php(324): CMB2_Bootstrap_2110->include_cmb(”)
    #7 /home/customer/www/***/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    #8 /home/customer/www/***/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #9 /home/customer/www/***/public_html/wp-settings.php(727): do_action(‘init’)
    #10 /home/customer/www/***/public_html/wp-config.php(67): require_once(‘/home/customer/…’)
    #11 /home/customer/www/***/public_html/wp-load.php(50): require_once(‘/home/customer/…’)
    #12 /home/customer/www/***/public_html/wp-admin/admin.php(35): require_once(‘/home/customer/…’)
    #13 {main}
    thrown

Viewing 1 replies (of 1 total)
  • Hello,

    We apologize for the issue you are facing while trying to install Rank Math. The error message you provided indicates that there might be a problem with the class name in the plugin’s code, which can occur due to various reasons such as conflicts with other plugins or themes, or issues with the PHP version being used.

    Here are a few steps you can take to troubleshoot this issue:

    1. Check PHP Version: Ensure that your server is running a supported version of PHP. Rank Math requires PHP 7.0 or higher. You can check your PHP version by navigating to Tools → Site Health → Info in your WordPress dashboard and looking under the Server section.
      Check PHP Version

    2. Deactivate Other Plugins: Temporarily deactivate all other plugins except for Rank Math to see if there is a conflict causing the error. If Rank Math installs successfully, reactivate your plugins one by one to identify the conflicting plugin.

    3. Switch Themes: Try switching to a default WordPress theme (like Twenty Twenty-One) to rule out any theme-related issues.

    4. Reinstall Rank Math: If the above steps do not resolve the issue, try deleting the Rank Math plugin and reinstalling it from scratch.

    5. Repair Action Scheduler: If you are encountering issues related to the Action Scheduler, you can use our Repair Action Scheduler plugin to fix it automatically.

    If these steps do not resolve the issue, please reply to this ticket with your site URL so that a human agent from our support team can assist you further.

    Thank you for raising this concern, and we hope to help you resolve it soon!

    Sources:
    This Plugin Does Not Work with Your Version of PHP » Rank Math

    This is an automated reply from Rank Math Support Bot. If you need further assistance, please reply to this topic and a human support agent will reply to you shortly.

    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 1 replies (of 1 total)

The ticket ‘Error when install Rank math on my site – Uncaught Error: Class name must be’ is closed to new replies.