This thread is resolved. Here is a description of the problem and solution.
Problem:
If you're experiencing PHP deprecated warnings in your WooCommerce Multilingual plugin, similar to the ones reported where the required parameter $wpdb follows an optional parameter $post_translations in the file class-wcml-products.php, this summary is for you.
Solution:
We have escalated this issue to our developers, and a fix will be included in a future version of the WooCommerce Multilingual & Multicurrency plugin (most probably in 5.5.1). We recommend waiting for this update, which will address the deprecated parameter order issue.
Please note that this solution might be irrelevant if it's outdated or not applicable to your case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
This topic is split from https://wpml.org/forums/topic/500-error-wp-sitemap-xml-crashes-when-wpml-string-translation-is-active/