Overview of the Issue
When using Yoast SEO with WPML, you might experience the following issue: after you change the language URL format from languages in directories to language as a parameter or to a different domain per language (WPMLLanguages), two links in the Yoast SEO breadcrumbs of translated posts and pages keep the old format. The Home link opens a 404 page and the link to the static posts page redirects to a 404 page. The breadcrumb structured data carries the same links. The other breadcrumb links are correct.
Workaround
Rebuild Yoast SEO’s stored data with WP-CLI:
Bash
wp yoast index --reindex --skip-confirmationIf you change the language URL format again, run the command again.