-
Hi there! Since yesterday I get a critical errors when I try to open a new post (editing of existing ones works fine). This is what the debug.log (WP5.9.7) says:
[01-Jun-2023 07:19:10 UTC] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function RankMath\Instant_Indexing\Instant_Indexing::before_save_post(), 3 passed in /is/htdocs/wp10634233_P26W4PWYLR/www/usaresp_14/wp-includes/class-wp-hook.php on line 307 and exactly 4 expected in /is/htdocs/wp10634233_P26W4PWYLR/www/usaresp_14/wp-content/plugins/seo-by-rank-math/includes/modules/instant-indexing/class-instant-indexing.php:262
Stack trace:
#0 /is/htdocs/wp10634233_P26W4PWYLR/www/usaresp_14/wp-includes/class-wp-hook.php(307): RankMath\Instant_Indexing\Instant_Indexing->before_save_post(Array, Array, Array)
#1 /is/htdocs/wp10634233_P26W4PWYLR/www/usaresp_14/wp-includes/plugin.php(189): WP_Hook->apply_filters(Array, Array)
#2 /is/htdocs/wp10634233_P26W4PWYLR/www/usaresp_14/wp-includes/post.php(4388): apply_filters(‘wp_insert_post_…’, Array, Array, Array)
#3 /is/htdocs/wp10634233_P26W4PWYLR/www/usaresp_14/wp-admin/includes/post.php(700): wp_insert_post(Array, false, false)
#4 /is/htdocs/wp10634233_P26W4PWYLR/www/usaresp_14/wp-admin/post-new.php(66): get_default_post_to_edit(‘post’, true)
#5 {main}
thrown in /is/htdocs/wp10634233_P26W4PWYLR/www/usaresp_14/wp-content/plugins/seo-by-rank-math/includes/modules/instant-indexing/class-instant-indexing.php on line 262I disabled instant indexing of articles and pages, now it works again – but that is not a real solution to the problem. Any ideas where the problem lies and what I can do about it?
Thanks in advance and greetings from Germany, Gabi
The ticket ‘Criticial Error when creating new post / 1.0.116’ is closed to new replies.