There has been a critical error on my website.

#1067610
  • Resolved Martin Prosek
    Rank Math free

    Here is the email I received about the error

    Howdy!

    WordPress has 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, Rank Math SEO.

    First, visit your website (https://zestifica.com/) and check for any visible issues. Next, visit the page where the error was caught (https://zestifica.com/wp-admin/post.php?post=5529&action=edit&meta-box-loader=1&meta-box-loader-nonce=810b6b50e5&_locale=user) 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.

    https://zestifica.com/wp-login.php?action=enter_recovery_mode&rm_token=CNuY1E4Foxn9nJKg3RFyjs&rm_key=KETYJEq2PIoK39NFLANKCa

    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.8.1
    Active theme: Kadence (version 1.2.27)
    Current plugin: Rank Math SEO (version 1.0.248)
    PHP version 8.3.16

    Error Details
    =============
    An error of type E_ERROR was caused in line 78 of the file /home/u682643760/domains/zestifica.com/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/analytics/class-watcher.php. Error message: Uncaught TypeError: explode(): Argument #2 ($string) must be of type string, array given in /home/u682643760/domains/zestifica.com/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/analytics/class-watcher.php:78
    Stack trace:
    #0 /home/u682643760/domains/zestifica.com/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/analytics/class-watcher.php(78): explode()
    #1 /home/u682643760/domains/zestifica.com/public_html/wp-includes/class-wp-hook.php(326): RankMath\Analytics\Watcher->update_post_info()
    #2 /home/u682643760/domains/zestifica.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #3 /home/u682643760/domains/zestifica.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #4 /home/u682643760/domains/zestifica.com/public_html/wp-includes/post.php(5110): do_action()
    #5 /home/u682643760/domains/zestifica.com/public_html/wp-includes/post.php(5212): wp_insert_post()
    #6 /home/u682643760/domains/zestifica.com/public_html/wp-admin/includes/post.php(453): wp_update_post()
    #7 /home/u682643760/domains/zestifica.com/public_html/wp-admin/post.php(227): edit_post()
    #8 {main}
    thrown

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

    We apologize for the critical error you are facing on your website. It seems that the error is related to the Rank Math SEO plugin, specifically in the class-watcher.php file. This type of error typically occurs when a function receives an unexpected data type, in this case, an array instead of a string.

    To resolve this issue, we recommend the following steps:

    1. Access Recovery Mode: Use the recovery mode link provided in your email to log into your WordPress dashboard safely. This will allow you to deactivate the Rank Math plugin temporarily.

    2. Deactivate Rank Math Plugin: Once logged in, navigate to the Plugins section and deactivate the Rank Math SEO plugin.

    3. Check for Updates: Ensure that both WordPress and all your plugins, including Rank Math, are updated to their latest versions. Sometimes, updates can fix compatibility issues.

    4. Re-activate Rank Math: After updating, try reactivating the Rank Math plugin to see if the issue persists.

    5. Check for Conflicts: If the error continues, it may be due to a conflict with another plugin or your theme. You can try deactivating other plugins one by one to identify any conflicts.

    6. Repair Action Scheduler: If you suspect issues with scheduled actions, you can use our Repair Action Scheduler plugin to fix potential problems automatically.

    If these steps do not resolve the issue, please reply to this ticket with any additional details or errors you encounter, and a human agent from our support team will assist you further.

    Thank you for bringing this to our attention, and we hope to help you resolve it quickly!

    Sources:
    Fatal Error Happening on Some Installations After 1.0.49 Update » Rank Math

    It didn’t solve the problem

    Hello,

    Thank you for reaching out and sharing the error details.

    The issue appears to be caused by an unexpected data type in the Analytics module, where an array is passed instead of a string.

    Can you please confirm if the error only happens for a specific post/page only? Of so, please share the URL here.

    Also, 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.

    Yes, the problem started with my blog posts only.

    [moved to sensitive data section]

    Hello,

    We’ve tried to check your site, but the wp-admin is showing a critical error.

    In this case, please temporarily deactivate Rank Math on your site.

    If you need assistance, you can get in touch with your web host to disable the plugins via your server.

    Looking forward to helping you.

    The Rank Math is temporarily deactivated.

    Hello,

    We have updated Rank Math to the latest version, but couldn’t activate Rank Math to check if that resolves the issue, since we do not have FTP access to restore your site should the error develop again.

    Please check if the issue is resolved by the new update. If it persists, please include your FTP login details in the sensitive data section alongside your WordPress logins.

    We look forward to hearing back from you.

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

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