Resolved
Reported for: WPML Multilingual CMS 4.5.5
Resolved in: 4.5.6
Overview of the issue
If you go to WPML → Settings 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.
- Open wp-content/plugins/sitepress-multilingual-cms/classes/menu/mcsetup/class-wpml-tm-mcs-custom-field-settings-menu.php.
- Look for line 120.
- Replace:
if ( esc_attr( $this->kind_shorthand() ) === 'cf' ) {
- With
if ( esc_attr( $this->kind_shorthand() ) === 'cf' || esc_attr( $this->kind_shorthand() ) === 'tcf' ) {