There is still a bug in the SEO package. wait for the fix version.
xxxxxxxxxxx\wp-content\plugins\wordpress-seo\src\builders\indexable-hierarchy-builder.php on line 175 and defined in xxxxxxxxxx\wp-content\plugins\wordpress-seo\src\builders\indexable-hierarchy-builder.php:102
Stack trace:
#0 xxxxxxxxx\wp-content\plugins\wordpress-seo\src\integrations\watchers\indexable-ancestor-watcher.php(175): Yoast\WP\SEO\Builders\Indexable_Hierarchy_Builder->build(false)
#1 xxxxxxxxx\wp-includes\class-wp-hook.php(294): Yoast\WP\SEO\Integrations\Watchers\Indexable_Ancestor_Watcher->build_post_hierarchy(18639)
#2 xxxxxxxxxxx\wp-includes\class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)
#3 xxxxxxxxxxxx\wp-includes\plugin.php(484): WP_Hook->do_action(Array)
#4 xxxxxxxxxxxxx\wp-includes\taxonomy.php(2737): do_action('set_object_term...', 18639, Array, Array, 'elementor_libra. in xxxxxxxxxxxx\wp-content\plugins\wordpress-seo\src\builders\indexable-hierarchy-builder.php on line 102