Questo utente non ha argomenti preferiti.
Argomenti del forum preferiti
Argomenti del forum creati
Stato |
Argomento
|
Sostenitore | Voci | Post | Freschezza |
---|---|---|---|---|---|
WPML overwrites gravity form
Iniziato da: aigarsM
in: 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 |
3 anno, 6 mese fa
aigarsM |
|
WPML overwrites gravity form
Iniziato da: aigarsM in: English Support |
|
2 | 3 | 3 anno, 6 mese fa | |
Synchronise translations disabled by default
Iniziato da: aigarsM in: English Support |
|
2 | 4 | 3 anno, 10 mese fa | |
WPML chat support ticket by aigarsM – 1632156647
Iniziato da: aigarsM in: Chat Support |
|
1 | 1 |
3 anno, 10 mese fa
|
|
Translated pages show server error
Iniziato da: aigarsM in: Chat Support |
|
1 | 2 |
4 anno, 3 mese fa
|