[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.
Elementor users - please update WPML to the latest version to maintain compatibility. More details here - https://wpml.org/changelog/2024/12/wpml-4-6-15-critical-update-for-elementor-sites/
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)