-
Trying to create a redirect for a deleted post, received the following email:
Error Details
=============
An error of type E_ERROR was caused in line 49 of the file /home/u888913749/domains/makedrinks.org/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/u888913749/domains/makedrinks.org/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-db.php:49
Stack trace:
#0 /home/u888913749/domains/makedrinks.org/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-db.php(49): array_map()
#1 /home/u888913749/domains/makedrinks.org/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-table.php(325): RankMath\Redirections\DB::get_counts()
#2 /home/u888913749/domains/makedrinks.org/public_html/wp-admin/includes/class-wp-list-table.php(504): RankMath\Redirections\Table->get_views()
#3 /home/u888913749/domains/makedrinks.org/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/views/main.php(54): WP_List_Table->views()
#4 /home/u888913749/domains/makedrinks.org/public_html/wp-content/plugins/seo-by-rank-math/includes/admin/class-page.php(259): include_once(‘/home/u88891374…’)
#5 /home/u888913749/domains/makedrinks.org/public_html/wp-includes/class-wp-hook.php(324): RankMath\Admin\Page->display()
#6 /home/u888913749/domains/makedrinks.org/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#7 /home/u888913749/domains/makedrinks.org/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#8 /home/u888913749/domains/makedrinks.org/public_html/wp-admin/admin.php(259): do_action()
#9 {main}
thrown
The ticket ‘Rankmath Causing Critical Errors On Website’ is closed to new replies.