Closed zoddshop closed 1 year ago
I foundout it happens when processing the Permalinks. and happens randomly. Sometimes I can move further in the permalink processing. I don't know what allows me to move ruther.
Closing as duplicate of https://github.com/Yoast/wordpress-seo/issues/20198 and https://github.com/Yoast/wordpress-seo/issues/20219.
I’ve been sent back and forth between the yoast forum and the github several times as no one wants to address this bug.
First of all I’ve reset the indexables a dozen times.
Everytime I get 90% through SEO Data optimization I get “Failed to Fetch”
According to the console/network the object trying to be indexed is blank
{ “objects”: [], “next_url”: false }
When running wp-cli you can see there is a fatal error in convert smilies triggered by yoast indexing process
[STDERR] PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, bool given in /usr/local/lsws/Example/html/wordpress/wp-includes/formatting.php:3443 Stack trace:
0 /usr/local/lsws/Example/html/wordpress/wp-includes/class-wp-hook.php(308): convert_smilies()
1 /usr/local/lsws/Example/html/wordpress/wp-includes/plugin.php(205): WP_Hook->apply_filters()
2 /usr/local/lsws/Example/html/wordpress/wp-content/plugins/wordpress-seo/src/builders/indexable-link-builder.php(115): apply_filters()
3 /usr/local/lsws/Example/html/wordpress/wp-content/plugins/wordpress-seo/src/actions/indexing/abstract-link-indexing-action.php(65): Yoast\WP\SEO\Builders\Indexable_Link_Builder->build()
4 /usr/local/lsws/Example/html/wordpress/wp-content/plugins/wordpress-seo/src/routes/abstract-indexation-route.php(24): Yoast\WP\SEO\Actions\Indexing\Abstract_Link_Indexing_Action->index()
5 /usr/local/lsws/Example/html/wordpress/wp-content/plugins/wordpress-seo/src/routes/indexing-route.php(418): Yoast\WP\SEO\Routes\Abstract_Indexation_Route->run_indexation_action()
6 /usr/local/lsws/Example/html/wordpress/wp-content/plugins/wordpress-seo/src/routes/indexing-route.php(354): Yoast\WP\SEO\Routes\Indexing_Route->run_indexation_action()
7 /usr/local/lsws/Example/html/wordpress/wp-includes/rest-api/class-wp-rest-server.php(1181): Yoast\WP\SEO\Routes\Indexing_Route->index_post_links()
8 /usr/local/lsws/Example/html/wordpress/wp-includes/rest-api/class-wp-rest-server.php(1028): WP_REST_Server->respond_to_request()
9 /usr/local/lsws/Example/html/wordpress/wp-includes/rest-api/class-wp-rest-server.php(442): WP_REST_Server->dispatch()
10 /usr/local/lsws/Example/html/wordpress/wp-includes/rest-api.php(410): WP_REST_Server->serve_request()
11 /usr/local/lsws/Example/html/wordpress/wp-includes/class-wp-hook.php(308): rest_api_loaded()
12 /usr/local/lsws/Example/html/wordpress/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
13 /usr/local/lsws/Example/html/wordpress/wp-includes/plugin.php(565): WP_Hook
[STDERR] ->do_action()
14 /usr/local/lsws/Example/html/wordpress/wp-includes/class-wp.php(399): do_action_ref_array()
15 /usr/local/lsws/Example/html/wordpress/wp-includes/class-wp.php(780): WP->parse_request()
16 /usr/local/lsws/Example/html/wordpress/wp-includes/functions.php(1334): WP->main()
17 /usr/local/lsws/Example/html/wordpress/wp-blog-header.php(16): wp()
18 /usr/local/lsws/Example/html/wordpress/index.php(17): require(‘…’)
19 {main}
thrown in /usr/local/lsws/Example/html/wordpress/wp-includes/formatting.php on line 3443
There is no way to determine which post or object is causing that problem because the object shown in the console is blank