WPML
Status
Resolved
Resolved in
WPML 4.5.0
Related plugin/theme
Avada

Overview of the issue

If you insert an Avada Form into a page or post, then translate that page or post using WPML, the translation takes a lot of time to load – or may not even open at all – causing a timeout issue.

Workaround

As a quick workaround, translate your Avada Form via Translation Management. The page will then start working normally.

If that is not an option, please do the following:

  1. Make a full backup of your site

  2. Open the file /wp-content/plugins/sitepress-multilingual-cms/compatibility/fusion_builder/FormContent.php

  3. Look for the line 97:
    return apply_filters( 'wpml_object_id', $id, self::CPT_FORM );

  4. Replace it with:
    return apply_filters( 'wpml_object_id', $id, self::CPT_FORM, true );

All known issues →