[Escalated to WPML Developers team] Found a few issues in your code
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.
WordPress 6.7 has introduced a new issue that impact translations, please update WooCommerce and WPML to the latest versions before you report issues. More about this here - https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/
1. Yes, using an external cache. (however this will also give a notice as of WP 6.1 when not using external cache, as there are some discussions with core committers atm what types will be validated, but null will definitely give an error)
2. sorry, I don't have it anymore. We fixed this issue by doing:
if ( is_null( $trid ) ) {
return null;
}
in translation-management.class.php at beginning of function get_translation_job_info and change return type to array|null in phpdoc (and $trid type to int|null)