Skip Navigation


Resolved in: 4.3.13

Overview of the issue

If you try to translate content created using Elementor, you might see the following error message:
PHP Fatal error: Uncaught TypeError: Argument 1 passed to WPML\PB\Elementor\DynamicContent\Strings::WPML\PB\Elementor\DynamicContent\{closure}() must be of the type array, string given in /wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/page-builders-elementor/src/DynamicContent/Strings.php:82

This issue can be caused by different reasons for each user, commonly a plugin or theme that is modifying how content is stored in an unexpected way.

We will resolve this issue in one of our upcoming updates.


To temporarily resolve this issue open this file (…/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/page-builders-elementor/src/DynamicContent/Strings.php) on line 82 and replace:

$isDynamic = function( array $item ) { return isset( $item[ self::KEY_DYNAMIC ] ); };


$isDynamic = function( $item ) { return isset( $item[ self::KEY_DYNAMIC ] ); };

You may need to complete your translation again to make sure it saves properly once you have applied the workaround.

If you have any questions or related issues, please contact our support team and make sure to mention that you have applied this workaround.

2 Responses to “Elementor - Fatal error/unable to translate content”

  1. Good afternoon. Our website has got error message and it is down as we talk.
    The message reads;

    Fatal error: Can’t use method return value in write context in /home3/ced/public_html/wp-content/plugins/wp-reset/wp-reset.php on line 2389

    Please help me out of this.