Skip Navigation

Resolved

Reported for: WPML Multilingual CMS 4.5.5

Resolved in: 4.5.6

Overview of the issue

If you go to WPMLSettings page and you try to search or use the pagination on the Custom Term Meta Translation section, it doesn’t work. If you check the browser console, you’ll notice a JS error:

Cannot read properties of null (reading ‘checked’)

Workaround

Please make a full backup of your site before proceeding.

  1. Open wp-content/plugins/sitepress-multilingual-cms/classes/menu/mcsetup/class-wpml-tm-mcs-custom-field-settings-menu.php.
  2. Look for line 120.
  3. Replace:
    						if ( esc_attr( $this->kind_shorthand() ) === 'cf' ) {
    
  4. With
    						if ( esc_attr( $this->kind_shorthand() ) === 'cf' || esc_attr( $this->kind_shorthand() ) === 'tcf' ) {