-
When I added Rankmath Pro to this website it caused it to critical error whenever we tried to do anything like update a price. It seemed to be ok when we deactivated Pro and just used Free, but we have this morning experienced the free version causing the site to break too. Any ideas, any help? We really don’t want to have to go back to Yoast as we love Rankmath!
Error message says this;
Hi!
Since WordPress 5.2 there is 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.the-roof-shop.co.uk/) and check for any visible issues. Next, visit the page where the error was caught (https://www.the-roof-shop.co.uk/wp-admin/post.php) 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 5.9.7
Current theme: Nettl Divi Child (version )
Current plugin: Rank Math SEO (version 1.0.116)
PHP version 8.0.27Error Details
=============
An error of type E_ERROR was caused in line 262 of the file /var/www/htdocs/wp-content/plugins/seo-by-rank-math/includes/modules/instant-indexing/class-instant-indexing.php. Error message: Uncaught ArgumentCountError: Too few arguments to function RankMath\Instant_Indexing\Instant_Indexing::before_save_post(), 3 passed in /var/www/htdocs/wp-includes/class-wp-hook.php on line 307 and exactly 4 expected in /var/www/htdocs/wp-content/plugins/seo-by-rank-math/includes/modules/instant-indexing/class-instant-indexing.php:262
Stack trace:
#0 /var/www/htdocs/wp-includes/class-wp-hook.php(307): RankMath\Instant_Indexing\Instant_Indexing->before_save_post()
#1 /var/www/htdocs/wp-includes/plugin.php(189): WP_Hook->apply_filters()
#2 /var/www/htdocs/wp-includes/post.php(4388): apply_filters()
#3 /var/www/htdocs/wp-includes/post.php(4789): wp_insert_post()
#4 /var/www/htdocs/wp-admin/includes/post.php(426): wp_update_post()
#5 /var/www/htdocs/wp-admin/post.php(227): edit_post()
#6 {main}
thrown
The ticket ‘Critical Error’ is closed to new replies.