Redirect: Critical error on website

#939397
  • Resolved Amy Rae
    Rank Math free

    I have a critical redirect error on my website, and the WordPress notification email has informed me that RankMath is the plugin causing the issue. I do not know how to fix this and I need assistance. I’ve already been in touch with my host and they said they can’t assist as RankMath is a third-party plugin. Any help would be greatly appreciated, as I need to add redirects for old posts ASAP.

    Thanks!

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

    Thank you for contacting us and we are sorry for any inconvenience that might have been caused due to that.

    Can you please share the error log with us?

    Having the error log file will give a clear idea of why this might be happening.

    You can follow this guide to enable debugging in WordPress https://wordpress.org/support/article/debugging-in-wordpress/ or you can get in touch with your web host, and they will help you locate the log file.

    Looking forward to helping you.

    Amy Rae
    Rank Math free

    [02-Jan-2025 12:09:36 UTC] WordPress database error Table ‘lnmccymy_WP2EV.wp_rank_math_redirections_cache’ doesn’t exist for query SELECT * FROM wp_rank_math_redirections_cache WHERE ( object_id = 0 and object_type = ‘none’ ) OR BINARY from_url = ‘favicon.ico’ ORDER BY object_id DESC made by require(‘wp-blog-header.php’), wp, WP->main, do_action_ref_array(‘wp’), WP_Hook->do_action, WP_Hook->apply_filters, RankMath\Redirections\Redirections->do_redirection, RankMath\Redirections\Redirector->__construct, RankMath\Redirections\Redirector->flow, RankMath\Redirections\Redirector->from_cache, RankMath\Redirections\Cache::get_by_object_id_or_url, RankMath\Admin\Database\Query_Builder->get
    [02-Jan-2025 12:09:36 UTC] WordPress database error Table ‘lnmccymy_WP2EV.wp_rank_math_redirections’ doesn’t exist for query SELECT * FROM wp_rank_math_redirections WHERE status = ‘active’ AND ( sources like ‘%a:2:{s:7:\”pattern\”;s:11:\”favicon.ico\”;s:10:\”comparison\”;s:5:\”exact\”;}%’ or sources like ‘%favicon%’ or sources like ‘%ico%’ ) ORDER BY updated DESC made by require(‘wp-blog-header.php’), wp, WP->main, do_action_ref_array(‘wp’), WP_Hook->do_action, WP_Hook->apply_filters, RankMath\Redirections\Redirections->do_redirection, RankMath\Redirections\Redirector->__construct, RankMath\Redirections\Redirector->flow, RankMath\Redirections\Redirector->everything, RankMath\Redirections\DB::match_redirections, RankMath\Admin\Database\Query_Builder->get
    [02-Jan-2025 12:09:36 UTC] WordPress database error Table ‘lnmccymy_WP2EV.wp_rank_math_redirections’ doesn’t exist for query SELECT * FROM wp_rank_math_redirections WHERE status = ‘active’ ORDER BY updated DESC made by require(‘wp-blog-header.php’), wp, WP->main, do_action_ref_array(‘wp’), WP_Hook->do_action, WP_Hook->apply_filters, RankMath\Redirections\Redirections->do_redirection, RankMath\Redirections\Redirector->__construct, RankMath\Redirections\Redirector->flow, RankMath\Redirections\Redirector->everything, RankMath\Redirections\DB::match_redirections, RankMath\Redirections\DB::match_redirections, RankMath\Admin\Database\Query_Builder->get

    Hello,

    Please head over to your WordPress Dashboard > Rank Math > Status & Tools > Database Tools and click the Recreate Missing Database Tables button and see if that works for you: https://rankmath.com/kb/rank-math-status-and-tools/#recreate-missing-database-tools

    Please note that some options are only available when you enable the Advanced Mode in Rank Math. If Database Tools is not showing, please switch to the Advanced Mode: https://rankmath.com/kb/switch-from-easy-to-advanced-mode/

    Let us know how it goes. Looking forward to helping 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 3 replies - 1 through 3 (of 3 total)

The ticket ‘Redirect: Critical error on website’ is closed to new replies.