이 사용자는 즐겨찾는 주제가 없습니다.
즐겨찾는 포럼 주제
포럼 주제가 생성되었습니다.
상태 |
주제
|
서포터 | 목소리 | 게시물 | 선도 |
---|---|---|---|---|---|
WPML overwrites gravity form
시작한 사람: aigarsM
안에: 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 |
2 년, 11 월 전에
aigarsM |
||
WPML overwrites gravity form
시작한 사람: aigarsM 안에: English Support |
2 | 3 | 3 년 전에 | ||
Synchronise translations disabled by default
시작한 사람: aigarsM 안에: English Support |
2 | 4 | 3 년, 3 월 전에 | ||
ACF field unknown array
시작한 사람: aigarsM 안에: English Support |
2 | 8 | 4 년, 10 월 전에 |