Error in Redirections page

#901306
  • Resolved Ioanna
    Rank Math free

    I am using the free version of rank math with woocommerce and I am getting a critical error and this message when trying to visit the redirection section of the plugin. The memory limit on my server is the highest possible 6144M and PHP version 8.2. Any ideas? (redirections work just fine)

    An error of type E_ERROR was caused in line 49 of the file /home/u709102516/domains/thewoodbowtie.com/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-db.php. Error message: Uncaught TypeError: array_map(): Argument #2 ($array) must be of type array, null given in /home/u709102516/domains/thewoodbowtie.com/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-db.php:49
    Stack trace:
    #0 /home/u709102516/domains/thewoodbowtie.com/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-db.php(49): array_map()
    #1 /home/u709102516/domains/thewoodbowtie.com/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-table.php(337): RankMathRedirectionsDB::get_counts()
    #2 /home/u709102516/domains/thewoodbowtie.com/public_html/wp-admin/includes/class-wp-list-table.php(510): RankMathRedirectionsTable->get_views()
    #3 /home/u709102516/domains/thewoodbowtie.com/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/views/main.php(50): WP_List_Table->views()
    #4 /home/u709102516/domains/thewoodbowtie.com/public_html/wp-content/plugins/seo-by-rank-math/includes/admin/class-page.php(272): include_once(‘/home/u70910251…’)
    #5 /home/u709102516/domains/thewoodbowtie.com/public_html/wp-includes/class-wp-hook.php(324): RankMathAdminPage->display()
    #6 /home/u709102516/domains/thewoodbowtie.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #7 /home/u709102516/domains/thewoodbowtie.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #8 /home/u709102516/domains/thewoodbowtie.com/public_html/wp-admin/admin.php(259): do_action()
    #9 {main} thrown

    Thank you in advance and many thanks for the amazing plugin!
    Ioanna

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

    Thank you for contacting support.

    Can you please head over to WordPress Dashboard > Rank Math SEO > Status & Tools > System Status copy the system info and paste it into the sensitive data section of this ticket?

    Looking forward to hearing back from you.

    Ioanna
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    We can see two issues that are likely the cause of this issue.

    1. You are using a very old version of the Rank Math PRO plugin. It is not advisable to use outdated plugins as it can cause compatibility and security issues. Since you do not have the PRO subscription you should deactivate that plugin pending when you subscribe to Rank Math PRO again.

    2. We can see that the Redirection database tables were not created.
    Please head over to your WordPress Dashboard > Rank Math > Status & Tools > Database Tools and click the Recreate Missing Database Tables button: https://rankmath.com/kb/rank-math-status-and-tools/#recreate-missing-database-tools

    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 ‘Error in Redirections page’ is closed to new replies.