このユーザーにはお気に入りトピックがありません。
お気に入りのフォーラム・トピック
フォーラム・トピックの作成
状況 |
トピック
|
サポーター | 声 | 投稿文 | 新鮮さ |
---|---|---|---|---|---|
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ヶ月前 |