Random occurrence of 404s when browsing archive pages of translated CPT

Hi there, my question

**sometimes** the route DOMAIN.de/produkte results in a 404
To fix this I make any change inside of DIVIs Theme builder.

I also add heaps of taxonomies.

Setup is
* current WP
* DIVI
* DIVI Child Theme
* Custom DIVI Theme builder for **Archive Pages** that fire a Shortcode
* [ListProducts] (hopefully irrelevant to this because any routing should been done by now)
* this only contains the global header and footer as well as the shortcode in one Module
* WPML
* Debug Files
* MU-Plugins below
* Apache with NGINX on Plesk

My question: is there a way of debugging, maybe the order of hooks of WPML and the CPT registration/Plugins?
Can I log the order of PHP Files?

**ANY IDEAS?**
Thank you

My Code:
I register a CPT inside of a plugin: (shortend code)

excerpt of register function

function cpt_products() {
$rewrite = array(
‘slug’ => __(‘produkte’, ‘gill’),
‘with_front’ => true,
‘pages’ => true,
‘feeds’ => true,
);
register_post_type(‘products’, $args);
}
add_action(‘init’, ‘cpt_products’, 0);

MU Plugin

require_once ABSPATH . ‘wp-admin/includes/plugin.php’;
if ( is_plugin_active( ‘wp-rest-cache/wp-rest-cache.php’ ) ) {
include_once WP_PLUGIN_DIR . ‘/wp-rest-cache/wp-rest-cache.php’;
} elseif ( file_exists( WPMU_PLUGIN_DIR . ‘/wp-rest-cache/wp-rest-cache.php’ ) ) {
include_once WPMU_PLUGIN_DIR . ‘/wp-rest-cache/wp-rest-cache.php’;
} else {
return;
}

$wp_rest_cache_api = new \WP_Rest_Cache_Plugin\Includes\API\Endpoint_Api();
$wp_rest_cache_api->get_api_cache();

**edit** -> formating and order

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer