[Resolved] Event fields not duplicating into French
This thread is resolved. Here is a description of the problem and solution.
Problem: When duplicating an event into French using The Events Calendar with WPML, the event start/end times, venue, and organizer details are not duplicated correctly. The start and end times appear blank, the date resets to the current day, and the organizer and venue revert to default settings. Solution: If you're experiencing this issue, we recommend trying the following steps: 1. Instead of duplicating the event, try creating a translation of the event to see if this resolves the issue. 2. Clear all server caches on your site. 3. Edit your
wp-config.php
file and add the line
define('WPE_GOVERNOR', false);
once.
If these steps do not resolve your issue, or if the solution becomes outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket at WPML support forum for further assistance.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
When duplicating an event into French the Event Start/End, venue and organizer aren't duplicated. The start and end time is blank with the date being set back to today and the organizer and venue are set back to default.
I did do a conflict test with just WPML and The Events Calendar installed and can still recreate the issue.
Thank you for contacting WPML support. I’d be happy to assist you with this issue.
Please follow the steps below and check if it helps:
- Go to WPML → Settings → Custom Field Translations
- Enable "Show 'Multilingual Content Setup' meta box on post edit screen"
- Save the changes
- Edit any event in the original language
- Scroll down to the Multilingual Content Setup section
- Click on "Show system fields"
- Set all event-related fields to Copy and apply the changes
- Save the event
I checked and the event related fields except for currency were set to copy by default. I tried clicking apply and updating the event but it made no difference.
To debug this issue further, I would need to check your site settings once, for this I would need temporary access (wp-admin and ftp) to your site.
So could you please provide me with those details, you will find the needed fields for this below the comment area when you log in to leave your next reply. hidden link
I checked the translations here and I see the fields are being copied, can you provide me urls and exact fields that aren't being copied so I can check? hidden link
Have you tried disabling all non-WPML plugins, switching to one of the default themes, and checking whether the issue still persists or not?
Please remember to create a backup of your site (both files and the database) before making any updates or changes. This is always a good practice.
if the problem exists even after the above steps, To get a better understanding, I suggest sharing a backup of your wp-content folder and your database. You can zip the files and send them to me via Google Drive. With these, I can set up a local copy of your site and take a closer look at the issue.
I managed to download the package, but the issue is not happening for me on localhost, being so I would suggest you to test the following:
- Instead of duplicate can you create a translations and see if it works
- Clear all server caches from the site.
- Edit wp-config.php and add define( 'WPE_GOVERNOR', false ); once