WPML
상태
해결됨
유형
버그
보고 대상
WPML Multilingual CMS 4.5.5
해결된 버전
4.5.6

문제 개요

WPML → 설정 페이지로 이동하여 사용자 정의 용어 메타 번역 섹션에서 검색하거나 페이지 매김을 사용하려고 하면 작동하지 않습니다. 브라우저 콘솔을 확인하면 JS 오류를 확인할 수 있습니다:

Cannot read properties of null (reading ‘checked’)

임시 해결 방법

진행하기 전에 사이트의 전체 백업을 생성하세요.


  1. wp-content/plugins/sitepress-multilingual-cms/classes/menu/mcsetup/class-wpml-tm-mcs-custom-field-settings-menu.php를 여세요.

  2. 120번째 줄을 찾으세요.

  3. 다음을:
    						if ( esc_attr( $this->kind_shorthand() ) === 'cf' ) {


  4. 다음으로 바꾸세요.
    						if ( esc_attr( $this->kind_shorthand() ) === 'cf' || esc_attr( $this->kind_shorthand() ) === 'tcf' ) {

모든 알려진 문제