WPML

Overview of the Issue

The Events Calendar PRO plugin introduced a new feature – Series events (opens in a new tab) – which is only partially compatible with WPML at the moment. We are working closely with the author in order to achieve full compatibility for the following issues soon:

  • When using The Event Calendar PRO shortcode to display venues, cities, organizers, etc. they aren’t shown in the front-end.
  • Google’s map isn’t displayed on the first page load, you need to refresh the page.

Workaround

This issue is fixed. Updating to the latest version solves it on your site, so you only need this workaround if you can’t update yet.

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

Open the …./wp-content/plugins/the-events-calendar/src/Tribe/Integrations/WPML/Meta.php. file and make the following two modifications.

  1. Change:
    use Tribe__Events__Main as Main;

    To:

    use Tribe__Events__Main as Main;
    use TEC\Events\Custom_Tables\V1\Models\Occurrence;
  2. And change:
    if (!empty($_POST)) {
    	return $value;
    }

    To:

    if (!empty($_POST)) {
    	return $value;
    }
    
    if (tribe()->getVar('ct1_fully_activated')) {
    	$object_id = Occurrence::normalize_id($object_id);
    }

Still Seeing This Issue?

If updating doesn’t fix it, ask a support question and we’ll look into it with you.

Ask a support question

All known issues