-
My website shows critical issue using rank math as follows:
WordPress version 6.7.1
Active theme: Kadence (version 1.2.14)
Current plugin: Rank Math SEO (version 1.0.234.1)
PHP version 8.1.27Error Details
=============
An error of type E_ERROR was caused in line 50 of the file /home/u486472804/domains/fancytextgenerator.info/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/u486472804/domains/fancytextgenerator.info/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-db.php:50
Stack trace:
#0 /home/u486472804/domains/fancytextgenerator.info/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-db.php(50): array_map()
#1 /home/u486472804/domains/fancytextgenerator.info/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-table.php(337): RankMath\Redirections\DB::get_counts()
#2 /home/u486472804/domains/fancytextgenerator.info/public_html/wp-admin/includes/class-wp-list-table.php(510): RankMath\Redirections\Table->get_views()
#3 /home/u486472804/domains/fancytextgenerator.info/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/views/main.php(50): WP_List_Table->views()
#4 /home/u486472804/domains/fancytextgenerator.info/public_html/wp-content/plugins/seo-by-rank-math/includes/admin/class-page.php(272): include_once(‘/home/u48647280…’)
#5 /home/u486472804/domains/fancytextgenerator.info/public_html/wp-includes/class-wp-hook.php(324): RankMath\Admin\Page->display()
#6 /home/u486472804/domains/fancytextgenerator.info/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#7 /home/u486472804/domains/fancytextgenerator.info/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#8 /home/u486472804/domains/fancytextgenerator.info/public_html/wp-admin/admin.php(259): do_action()
#9 {main}
thrown
The ticket ‘Rank math plugin causing errors’ is closed to new replies.