Yoast SEO 14.0 version was released this week but had a number of issues due to how the new indexable database tables were built and how to would query the data.
The issue are fixed in version 14.0.4 and if you have over 10,000 posts that need to be migrated over to the new indexable database table then use the WP-CLI command that is provided.
New Yoast SEO update totally smashed my wife’s site with 400 internal errors on all the pages, we had to roll back the site - thx God we had new WP Reset plugin’s database snapshots (si we did it within seconds) & we had the latest All in one WP Migration backup - just in case.