Waiting for author
Reported for: WPML Multilingual CMS 4.5.14
Overview of the issue
The Events Calendar PRO plugin introduced a new feature – Series events – 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
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.
- Change:
use Tribe__Events__Main as Main;
To:
use Tribe__Events__Main as Main; use TEC\Events\Custom_Tables\V1\Models\Occurrence;
- 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); }
Prerequisites: I saw, I have no amount of words I can translate, so how shall I make a real test at the end?
Testing your code
1) Hi, I have installed the WPML Plugin
2) I made all of the above changes
3) I activated the WPML
4) I installed the “WPML Multilingual CMS” and activated it
Results
a) The page is still functional and working fine
b) I cant setup anything in WPML, there is no wizzard , nothing showing up to setup something
So whats the next Step?
There has been a critical error on this website. Please check your site admin email inbox for instructions.
Learn more about troubleshooting WordPress.
Thank you for your report, however I am not able to reproduce it.
Could you please open a ticket in our support forum and ask for my feedback directly so I can investigate it?
You can also add your ticket here.
@andreasB-114, I think I have identified the issue. Could you please try the new workaround?
Hi Andrès,
I cant make it currently, I dont have enough time.
But your colleagues still have Admin access to my webpage and can sandbox the site to check for yourself.
regards Andi
Perfect Andi, let’s continue in your ticket.
Regards