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/
Dear Bigul,
I've recreated the post template and populated 4 products in the sandbox. The EN works as expected, but the FR throws a critical error.
PHP Fatal error: Uncaught TypeError: str_contains(): Argument #1 ($haystack) must be of type string, array given in /var/www/sites/modern-mandolin/wp-includes/blocks.php:1816
This bug was happening becuase of a conflict in the settings. It is working as expected after the following steps.
1) Visit WPML>>Settings>>Custom Fields Translation>>Show system fields
2) Set *application_method* field as *Translate*
3) Set *_pods_application_method* field as *Don't translate*
4) Scroll down to *Post Types Translation* section of WPML>>Settings
5) Set the following Custom Post Type as *Not translatable*
Pods (_pods_pod)
Pod Groups (_pods_group)
Pod Fields (_pods_field)
Please check it now and let us know your feedback.
hidden link
hidden link
We have a suggestion: You can create a Taxonomy for the *ELPEGUARD (elpeguard)* post type (for example *Application Method taxonomy*) and use it instead of the *Application Method* checkbox field for easy workflow.