Skip Navigation

Resolved

Reported for: WPML Multilingual CMS 4.6.14

Resolved in: WPML 4.7

Topic Tags: Compatibility

Overview of the issue

The translation strings for The Events Calendar plugin fail to load in WordPress 6.7. This issue arises due to changes in the core WordPress load_plugin_textdomain function.

Workaround

Please, make sure of having a full site backup of your site before proceeding.

Part I

  • Open …/wp-content/plugins/the-events-calendar/src/Tribe/I18n.php file.
  • Look for line 284.
  • Replace:
    			unload_textdomain( $domain );
    
  • With:
    			unload_textdomain( $domain, true );
    

Part II

  • In the same file look for line 342.
  • Replace:
    			unload_textdomain( $domain );
    
  • With:
    			unload_textdomain( $domain, true );