[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.
We have a higher than usual load in the Support Forum, we are working hard to reduce the wait time. Please make sure to update your WPML and WordPress versions to the latest before you report issues, and to go over our Known Issues page - https://wpml.org/known-issues/https://wpml.org/known-issues/. Thank you!
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)