Cet utilisateur n'a aucun sujet favori.
Sujets de forum favoris
Sujets de forum créés
Statut |
Sujet
|
Support | Voix | Messages | Fraîcheur |
---|---|---|---|---|---|
WPML overwrites gravity form
Commencé par : aigarsM
dans : English Support
Problem: wp-content/plugins/gravityforms-multilingual/inc/gravity-forms-multilingual.class.php in the Gravity_Forms_Multilingual class. $st_context = $this->get_st_context( $form['id'] ); // Cache. $current_lang = $sitepress->get_current_language(); if ( isset( $this->current_forms[ $form['id'] ][ $current_lang ] ) ) { return $this->current_forms[ $form['id'] ][ $current_lang ]; } $snh = new GFML_String_Name_Helper(); $form = $this->populate_translated_values( $form, $st_context ); to: $st_context = $this->get_st_context( $form['id'] ); // Cache. $current_lang = $sitepress->get_current_language(); if ( isset( $this->current_forms[ $form['id'] ][ $current_lang ] ) ) { return $this->current_forms[ $form['id'] ][ $current_lang ]; } $snh = new GFML_String_Name_Helper(); $check = new \WPML\Utils\DebugBackTrace();//add this if ( $check->is_class_function_in_call_stack( 'GFFormDisplay', 'process_form' ) ) { //add this return $form;//add this }//add this $form = $this->populate_translated_values( $form, $st_context ); 3. Update the form and try to reproduce the issue. If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket at WPML support forum. |
|
2 | 7 |
Il y a 3 années et 7 mois
aigarsM |
|
WPML overwrites gravity form
Commencé par : aigarsM dans : English Support |
|
2 | 3 | Il y a 3 années et 7 mois | |
Synchronise translations disabled by default
Commencé par : aigarsM dans : English Support |
|
2 | 4 | Il y a 3 années et 11 mois | |
WPML chat support ticket by aigarsM – 1632156647
Commencé par : aigarsM dans : Chat Support |
|
1 | 1 |
Il y a 3 années et 11 mois
|
|
Translated pages show server error
Commencé par : aigarsM dans : Chat Support |
|
1 | 2 |
Il y a 4 années et 4 mois
|