Background of the issue:
I am trying to use WPML with Elementor on PHP 8.2. After switching the PHP version from 7.4 to 8.2 (and also 8.4), the homepage throws a fatal error related to WPML Page Builders integration.
Symptoms:
A fatal error occurs: 'Uncaught TypeError: Cannot access offset of type string on string in /wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Elementor/Hooks/DisplayConditions.php on line 138'. The stack trace includes functions like convertConditionIds(), convertCondition(), processDisplayConditions(), convertDisplayConditions(), Elementor → get_content(), ElementorPro Theme Builder → print_content(), and header.php → homepage crash.
Questions:
Why does the homepage throw a fatal error when using WPML with Elementor on PHP 8.2?
How can I resolve the fatal error related to WPML Page Builders integration?
There is currently no news regarding the issue. The matter is still in our second-tier queue. I will update you as soon as I receive any feedback from them.
I am writing to inform you that one of our second-tier support representatives is currently investigating the issue. While the duration of the debugging process is uncertain, I will provide updates as soon as I receive any feedback from the representative.