Rank Math error with redirection – nginx

#526006
  • Resolved Mike
    Rank Math free

    Hi Team,
    I am getting the following error in Rank Math.
    Attached is the log information:

    10261#0: *28665 FastCGI sent in stderr: “PHP message: WordPress database error Table ‘wp_ancei.qc2lNi_rank_math_redirections_cache’ doesn’t exist for query SELECT * FROM qc2lNi_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, MyThemeShop\Database\Query_Builder->getPHP message: WordPress database error Table ‘wp_ancei.qc2lNi_rank_math_redirections’ doesn’t exist for query SELECT * FROM qc2lNi_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, MyThemeShop\Database\Query_Builder->getPHP message: WordPress database error Table ‘wp_ancei.qc2lNi_rank_math_redirections’ doesn’t exist for query SELECT * FROM qc2lNi_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, R

    Attached screenshot: https://prnt.sc/UzE9FiA-H81a

    Thanks,

Viewing 4 replies - 1 through 4 (of 4 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 error logs, it seems that the Rank Math redirections table was not created on your site for some reason.

    To fix this, please click this button in Rank Math > Status & Tools > Database Tools:
    https://rankmath.com/kb/rank-math-status-and-tools/#recreate-missing-database-tools

    Once done, clear your website’s cache and check again.

    Hope that helps.

    Thank you.

    Mike
    Rank Math free

    Solved 🙂
    It has already stopped showing me that error.
    Thanks.

    Hello,

    Glad that everything has been sorted out.

    Please feel free to reach out to us again in case you need any other assistance.

    We are here to help.

    Thank you.

    Hello,

    Glad that everything has been sorted out.

    Please feel free to reach out to us again in case you need any other assistance.

    We are here to help.

    Thank you.

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

You must be logged in to reply to this ticket.