Hello,
We apologize for the critical error you are facing with the Redirections section in Rank Math. It seems that there might be a conflict with the Salient theme or possibly another plugin that is causing this issue.
To troubleshoot the problem, we recommend performing a quick conflict check:
- Backup your entire site to ensure you can restore it if needed.
- Enable Troubleshooting mode in Rank Math and disable the plugin temporarily to see if the critical error persists.
- If the error goes away, try disabling other plugins one by one to identify the conflicting plugin or theme.
If you are still unable to resolve the issue after these steps, please reply to this ticket, and a human agent from the Rank Math Support team will assist you further.
Regarding your SEO concern about redirecting /shop/
to /tienda-online/
, once the critical error is resolved, you can set up the necessary redirections in the Rank Math Redirections module to ensure your SEO is not negatively impacted.
Thank you for bringing this issue to our attention, and we hope to help you resolve it soon!
Sources:
Random URLs Redirecting Even When No Redirect Was Created » Rank Math
Hello,
Thank you for contacting us and we are sorry for any inconvenience that might have been caused due to that.
Can you please share the error log with us?
Having the error log file will give a clear idea of why this might be happening.
You can follow this guide to enable debugging in WordPress https://wordpress.org/support/article/debugging-in-wordpress/ or you can get in touch with your web host, and they will help you locate the log file.
Looking forward to helping you.
Thank you.
Hello, there is no problem with the rest of the plugins, only “inside” the Rank Math plugin.
May be a compatibility issue yes, but im 100% sure it’s about the Rank Math.
The Critical Error screen only shows the Error message, doesn’t break anything on the site, afortunally.
Here is the log i recieved from the automated email:
A la hora de buscar ayuda con este problema puede que se te pida algo de la siguiente información:
WordPress versión 6.6.1
Tema activo: Salient (versión 16.3.0)
Plugin actual: Rank Math SEO (versión 1.0.223)
PHP versión 8.1.27
Detalles del error (This means “error details” on english).
==================
Se ha producido un error del tipo E_ERROR en la lÃnea 50 del archivo (type error E_ERROR on line 50 of file) /home/u506094830/domains/perfumeschic.cl/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-db.php. Mensaje de error: Uncaught TypeError: array_map(): Argument #2 ($array) must be of type array, null given in /home/u506094830/domains/perfumeschic.cl/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-db.php:50
Stack trace:
#0 /home/u506094830/domains/perfumeschic.cl/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-db.php(50): array_map()
#1 /home/u506094830/domains/perfumeschic.cl/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-table.php(325): RankMath\Redirections\DB::get_counts()
#2 /home/u506094830/domains/perfumeschic.cl/public_html/wp-admin/includes/class-wp-list-table.php(510): RankMath\Redirections\Table->get_views()
#3 /home/u506094830/domains/perfumeschic.cl/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/views/main.php(54): WP_List_Table->views()
#4 /home/u506094830/domains/perfumeschic.cl/public_html/wp-content/plugins/seo-by-rank-math/includes/admin/class-page.php(272): include_once(‘/home/u50609483…’)
#5 /home/u506094830/domains/perfumeschic.cl/public_html/wp-includes/class-wp-hook.php(324): RankMath\Admin\Page->display()
#6 /home/u506094830/domains/perfumeschic.cl/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#7 /home/u506094830/domains/perfumeschic.cl/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#8 /home/u506094830/domains/perfumeschic.cl/public_html/wp-admin/admin.php(259): do_action()
#9 {main}
thrown
I’m so sorry for my late response but i have just been notified by email.
i have solved the problem by myself, got an idea and was going to check if there were missing databased tables on this site and checked compared to another webstie where there is no error.
i have found some tables that looks normal (both sites with no redirections created) both with salient theme and i have did go to Rank Math Status and Tools and used the option to re-created missing tables.
worked fine.
Hello,
We’re glad that you have already managed to resolve this issue.
If you have any other concerns, please don’t hesitate to contact us anytime so we can assist you further.
Looking forward to helping 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.