-
Hello,
I’ve tried adding a redirection on my site https://www.tiecas.com, but each time I got an error that says, “There has been a critical error on this website. Please check your site admin email inbox for instructions.”
Below is the admin email I received.
How can I fix this problem?
Howdy!
WordPress has a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.
In this case, WordPress caught an error with one of your plugins, Rank Math SEO.
First, visit your website (https://www.tiecas.com/) and check for any visible issues. Next, visit the page where the error was caught (https://www.tiecas.com/wp-admin/admin.php?page=rank-math-redirections) and check for any visible issues.
Please contact your host for assistance with investigating this issue further.
If your site appears broken and you can’t access your dashboard normally, WordPress now has a special “recovery mode”. This lets you safely login to your dashboard and investigate further.
To keep your site safe, this link will expire in 1 day. Don’t worry about that, though: a new link will be emailed to you if the error occurs again after it expires.
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.4.2
Active theme: Breakdance Zero Theme (version 1.0.0)
Current plugin: Rank Math SEO (version 1.0.211)
PHP version 8.1.27Error Details
=============
An error of type E_ERROR was caused in line 50 of the file /home/industri/domains/tiecas.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/industri/domains/tiecas.com/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-db.php:50
Stack trace:
#0 /home/industri/domains/tiecas.com/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-db.php(50): array_map()
#1 /home/industri/domains/tiecas.com/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-table.php(325): RankMath\Redirections\DB::get_counts()
#2 /home/industri/domains/tiecas.com/public_html/wp-admin/includes/class-wp-list-table.php(504): RankMath\Redirections\Table->get_views()
#3 /home/industri/domains/tiecas.com/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/views/main.php(54): WP_List_Table->views()
#4 /home/industri/domains/tiecas.com/public_html/wp-content/plugins/seo-by-rank-math/includes/admin/class-page.php(259): include_once(‘…’)
#5 /home/industri/domains/tiecas.com/public_html/wp-includes/class-wp-hook.php(324): RankMath\Admin\Page->display()
#6 /home/industri/domains/tiecas.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#7 /home/industri/domains/tiecas.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#8 /home/industri/domains/tiecas.com/public_html/wp-admin/admin.php(259): do_action()
#9 {main}
thrown
Regards,
Achinta
The ticket ‘Redirection is not working’ is closed to new replies.