WPML

Overview of the Issue

When configured to use AJAX submission, Avada forms are not sending emails in secondary languages. This happens due to a JavaScript error.

Workaround

This issue is fixed. Updating to the latest version solves it on your site, so you only need this workaround if you can’t update yet.

  1. Please, be sure to make a full backup of your site before proceeding.
  2. Open the /wp-content/plugins/fusion-builder/inc/helpers/class-fusion-builder-form-helper.php file.
  3. Replace the following snippet (around line 232):
    PHP
    // If form post exists. if ( false !== get_post_status( $id ) ) { $fusion_form = [ 'id' => $id, 'field_types' => [], 'form_meta' => self::fusion_form_get_form_meta( $id ), 'field_labels' => [], 'field_logics' => [], 'form_number' => $id, 'text_config' => [], ]; }

    With this:

    PHP
    // If form post exists. if ( false !== get_post_status( $id ) ) { $id = apply_filters( 'wpml_object_id', $id, 'fusion_form' , TRUE ); $fusion_form = [ 'id' => $id, 'field_types' => [], 'form_meta' => self::fusion_form_get_form_meta( $id ), 'field_labels' => [], 'field_logics' => [], 'form_number' => $id, 'text_config' => [], ]; }

All known issues

Still Seeing This Issue?

If updating doesn’t fix it, ask a support question and we’ll look into it with you.