Can’t perform the initial optimization step
-
Hi,
“Oops, something has gone wrong and we couldn’t complete the optimization of your SEO data. Please click the button again to re-start the process.”
I followed these instructions:
1. Install & activate the Yoast Test Helper plugin
2. Go to Tools -> Yoast Test
3. Hit the “Reset Indexables & Migrations” button
4. Under SEO ? Tools, click the “Click here to speed up your site now” button.Error log in WordPress root:
[13-Feb-2021 23:28:10 UTC] PHP Fatal error: Uncaught TypeError: Argument 1 passed to Yoast\WP\SEO\Builders\Indexable_Hierarchy_Builder::is_invalid_ancestor() must be an instance of Yoast\WP\SEO\Models\Indexable, bool given, called in /home/mywproot/public_html/wp-content/plugins/wordpress-seo/src/builders/indexable-hierarchy-builder.php on line 176 and defined in /home/mywproot/public_html/wp-content/plugins/wordpress-seo/src/builders/indexable-hierarchy-builder.php:340
Stack trace:
#0 /home/mywproot/public_html/wp-content/plugins/wordpress-seo/src/builders/indexable-hierarchy-builder.php(176): Yoast\WP\SEO\Builders\Indexable_Hierarchy_Builder->is_invalid_ancestor(false, 55, Array)
#1 /home/mywproot/public_html/wp-content/plugins/wordpress-seo/src/builders/indexable-hierarchy-builder.php(112): Yoast\WP\SEO\Builders\Indexable_Hierarchy_Builder->add_ancestors_for_post(55, 710, Array)
#2 /home/mywproot/public_html/wp-content/plugins/wordpress-seo/src/builders/indexable-builder.php(198): Yoast\WP\SEO\Builders\Indexable_Hierarc in /home/mywproot/public_html/wp-content/plugins/wordpress-seo/src/builders/indexable-hierarchy-builder.php on line 340After running the Yoast Test Helper, this appears in the wp-admin subdir:
[13-Feb-2021 23:29:43 UTC] WordPress database error Table ‘mywproot_myprefixwp.qldma_yoast_prominent_words’ doesn’t exist for query TRUNCATE TABLE qldma_yoast_prominent_words made by do_action(‘admin_post_wordpress-seo-feature-reset’), WP_Hook->do_action, WP_Hook->apply_filters, Yoast\WP\Test_Helper\WordPress_Plugin_Features->handle_reset_feature, Yoast\WP\Test_Helper\WordPress_Plugin_Features->reset_feature, Yoast\WP\Test_Helper\WordPress_Plugins\Yoast_SEO->reset_feature, Yoast\WP\Test_Helper\WordPress_Plugins\Yoast_SEO->reset_indexables, Yoast\WP\Test_Helper\WordPress_Plugins\Yoast_SEO->reset_prominent_words_calculationThank you.
- The topic ‘Can’t perform the initial optimization step’ is closed to new replies.