- 상태
- 해결됨
- 보고된 제품
- WPML Multilingual CMS 4.5.5
- 해결된 버전
- 4.5.6
문제 개요
WPML → 설정 페이지로 이동하여 사용자 정의 용어 메타 번역 섹션에서 검색하거나 페이지 매김을 사용하려고 하면 작동하지 않습니다. 브라우저 콘솔을 확인하면 JS 오류를 확인할 수 있습니다:
Cannot read properties of null (reading ‘checked’)
임시 해결 방법
진행하기 전에 사이트의 전체 백업을 생성하세요.
- wp-content/plugins/sitepress-multilingual-cms/classes/menu/mcsetup/class-wpml-tm-mcs-custom-field-settings-menu.php를 여세요.
- 120번째 줄을 찾으세요.
- 다음을:
if ( esc_attr( $this->kind_shorthand() ) === 'cf' ) { - 다음으로 바꾸세요.
if ( esc_attr( $this->kind_shorthand() ) === 'cf' || esc_attr( $this->kind_shorthand() ) === 'tcf' ) {