Skip Navigation

Resolved

Reported for: WPML Multilingual CMS 4.5.2

Resolved in: 4.5.3

Overview of the issue

If you try to translate a page that is using a WordPresss native Table block, the translation becomes stuck as In Progress and your browser console displays an internal server error.

If you check your debug information, you will see an error similar to:

PHP Fatal error: Allowed memory size of 268435456 bytes exhausted…

Workaround

Please make a full backup of your site before proceeding.

  1. Edit your /sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Gutenberg/strings-in-block/class-html.php file.
  2. Look for line number 146.
  3. Replace:
    if ( $inner_content ) {
    
  4. With:
    if ( $inner_content && $element->nodeValue ) {