-
Dear Rank Math Support Team,
I am experiencing a critical issue with the Rank Math SEO plugin on my website http://www.extraprivlac.sk. When the plugin is enabled, my site encounters a too many redirects issue and a PHP fatal error. These problems disappear as soon as the plugin is deactivated. Even when I disable the Redirections module within Rank Math, the problem persists.
Here are the details of the error from WordPress:
Error Details
============
Error Type: E_ERROR
File: /www/doc/www.extraprivlac.sk/www/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-db.php
Line: 50Error Message:
Uncaught TypeError: array_map(): Argument #2 ($array) must be of type array, null given in /www/doc/www.extraprivlac.sk/www/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-db.php:50Stack Trace:
#0 /www/doc/www.extraprivlac.sk/www/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-db.php(50): array_map(Object(Closure), NULL)
#1 /www/doc/www.extraprivlac.sk/www/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-table.php(337): RankMath\Redirections\DB::get_counts()
#2 /www/doc/www.extraprivlac.sk/www/wp-admin/includes/class-wp-list-table.php(510): RankMath\Redirections\Table->get_views()
#3 /www/doc/www.extraprivlac.sk/www/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/views/main.php(50): WP_List_Table->views()
#4 /www/doc/www.extraprivlac.sk/www/wp-content/plugins/seo-by-rank-math/includes/admin/class-page.php(272): include_once(‘/www/doc/www.ex…’)
#5 /www/doc/www.extraprivlac.sk/www/wp-includes/class-wp-hook.php(324): RankMath\Admin\Page->display(”)
#6 /www/doc/www.extraprivlac.sk/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)
#7 /www/doc/www.extraprivlac.sk/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#8 /www/doc/www.extraprivlac.sk/www/wp-admin/admin.php(259): do_action(‘rank-math_page_…’)
#9 {main}
thrownSteps Taken So Far:
1. Disabled the entire plugin: This resolves the issue.
2. Disabled the Redirections module: The issue persists even with this module off.My Request:
1. Can you help identify the root cause of the issue?
2. Is there a fix or workaround for the PHP error mentioned above?
3. How should I proceed to prevent this issue from reoccurring while keeping the plugin functional?Your assistance would be greatly appreciated, as this issue is impacting the functionality of my site.
Thank you in advance for your help!
Best regards
Tomas
You must be logged in to reply to this ticket.