There has been a critical error on this website.

#667631
  • Resolved Anonymous
    Rank Math free

    When i try to open a particular post on my website i get the error “There has been a critical error on this website.”.

    The email says:

    First, visit your website (https://www.thetraininglady.com/) and check for any visible issues. Next, visit the page where the error was caught (https://www.thetraininglady.com/wp-admin/post.php?post=6053&action=edit) 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 6.3.2
    Active theme: Hello Elementor (version 2.8.1) Current plugin: Rank Math SEO (version 1.0.204) PHP version 8.1.24

    Error Details
    =============
    An error of type E_ERROR was caused in line 220 of the file /home/tralad79/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/content-ai/class-content-ai.php. Error message: Uncaught Error: Call to undefined function RankMathContentAImb_strtolower() in /home/tralad79/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/content-ai/class-content-ai.php:220
    Stack trace:
    #0 /home/tralad79/public_html/wp-includes/class-wp-hook.php(310): RankMathContentAIContent_AI->add_metadata()
    #1 /home/tralad79/public_html/wp-includes/plugin.php(256): WP_Hook->apply_filters()
    #2 /home/tralad79/public_html/wp-content/plugins/seo-by-rank-math/includes/traits/class-hooker.php(102): apply_filters_ref_array()
    #3 /home/tralad79/public_html/wp-content/plugins/seo-by-rank-math/includes/admin/metabox/class-screen.php(176): RankMathAdminMetaboxScreen->do_filter()
    #4 /home/tralad79/public_html/wp-content/plugins/seo-by-rank-math/includes/admin/metabox/class-screen.php(107): RankMathAdminMetaboxScreen->get_values()
    #5 /home/tralad79/public_html/wp-content/plugins/seo-by-rank-math/includes/admin/metabox/class-metabox.php(82): RankMathAdminMetaboxScreen->localize()
    #6 /home/tralad79/public_html/wp-includes/class-wp-hook.php(310): RankMathAdminMetaboxMetabox->enqueue()
    #7 /home/tralad79/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
    #8 /home/tralad79/public_html/wp-includes/plugin.php(565): WP_Hook->do_action()
    #9 /home/tralad79/public_html/wp-content/plugins/seo-by-rank-math/includes/traits/class-hooker.php(88): do_action_ref_array()
    #10 /home/tralad79/public_html/wp-content/plugins/seo-by-rank-math/includes/admin/class-assets.php(172): RankMathAdminAssets->do_action()
    #11 /home/tralad79/public_html/wp-includes/class-wp-hook.php(310): RankMathAdminAssets->enqueue()
    #12 /home/tralad79/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
    #13 /home/tralad79/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #14 /home/tralad79/public_html/wp-admin/admin-header.php(118): do_action()
    #15 /home/tralad79/public_html/wp-admin/edit-form-blocks.php(309): require_once(‘/home/tralad79/…’)
    #16 /home/tralad79/public_html/wp-admin/post.php(187): require(‘/home/tralad79/…’)
    #17 {main}
    thrown

    If i deactivate Rank Math SEO Plugin then i am able to access the post normally.
    I did have the Rank Math TOC element in the post but i removed it and reactivated the plugin and tried again and it still gave the error.

    How do I fix this?

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

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

    From the log you have shared, it seems that you’re using the previous version of Rank Math on your site.

    Please try updating the Rank Math to the latest version and check again if the issue still persists:
    https://rankmath.com/changelog/free/

    Let us know how this goes.

    Thank you.

    Anonymous
    Rank Math free

    I updated the plugin after this log file came through and it still has the same issue even though I’ve updated it.

    Hello,

    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.

    Please do take a complete backup of your website before sharing the information with us.
    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,

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

The ticket ‘There has been a critical error on this website.’ is closed to new replies.