This thread is resolved. Here is a description of the problem and solution.
Problem: If you're experiencing an issue where your translated page is not found on the frontend, it might be due to the Events Manager plugin handling the
publish_future_post
action incorrectly. This occurs when the event's title (
post_title
) is empty, causing the system to generate a blank slug and fail. Solution: We recommend contacting the plugin developers at https://wp-events-plugin.com to review and address this issue. As a temporary workaround, you can comment out the problematic action in the plugin's code by modifying
This change helps prevent assigning an invalid post type when the event lacks a title.
If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, 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 with us 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.
Background of the issue:
I am using WPML on my site hidden link to manage translations with the WordPress editor. I have set up translations for pages, such as hidden link which should have a translated version at hidden link.
Symptoms:
The translated page at hidden link is not found.
Questions:
Why is the translated page not found on the frontend?
Languages: English (English )German (Deutsch )French (Français )
Timezone: Europe/Zagreb (GMT+02:00)
We’ve identified the cause of the issue with the link pointing to /cs/ instead of /cs/denni-rezim.
It appears that the post with ID 9155 was missing a slug (also called post_name) in the WordPress database — this is the value WordPress uses to generate the page URL.
Normally, the slug is automatically created when a post is published, but in this case it was blank — which likely caused WordPress to redirect incorrectly. Once the missing slug was added, the URL started working properly.
To check and fix this on your end:
1. Open Adminer (or phpMyAdmin) and go to your WordPress database.
2. Open the wp_posts table.
3. Find the affected post (e.g., by filtering ID = 9155).
4. Look for the column named post_name — if it’s empty, enter the correct slug (e.g. denni-rezim).
5. Save the change.
6. (Optional but recommended) Go to Settings → Permalinks in WordPress and click Save Changes to refresh permalink rules.
If you find other posts missing their post_name, you can fix them the same way.
We haven’t seen this happen under normal conditions, so it may have resulted from database corruption or an earlier translation/synchronization issue. If it occurs again when creating new posts, please let us know — we’ll escalate it as a potential bug.
Languages: English (English )German (Deutsch )French (Français )
Timezone: Europe/Zagreb (GMT+02:00)
Thanks for confirming! It’s good to hear the fix worked. Since you see the same issue on those other sites, applying the same database update should resolve it as well.
Yes, the fix works for all websites, but it is not easy to implement needing to edit the database.
So I noticed if I edit the main language with Elementor and save, then the translated pages becomes missing (the slug is deleted).
WPML-> Settings -> Translated documents options->Page URL -> Translate (this will include the slug in the translation and not create it automatically from the title)
I can confirm that editing the page, makes the translation page disappear (the slug is somehow deleted) and i have to go again in the database and make changes - this is not a working solution.
Languages: English (English )German (Deutsch )French (Français )
Timezone: Europe/Zagreb (GMT+02:00)
Does it happen for hidden link as well? So, if you modify something in the original, does the slug get deleted at that point? Or do you have to open the translation in the translation editor and save it before the slug is wiped?
Languages: English (English )German (Deutsch )French (Français )
Timezone: Europe/Zagreb (GMT+02:00)
It seems the issue happens because the event’s title (`post_title`) is empty when WordPress tries to generate the event slug. Since the title is missing, the system creates a blank slug, which causes the process to fail.
Our 2nd-tier team identified that this behavior originates from the Events Manager plugin, specifically from how it handles the `publish_future_post` action.
We recommend reaching out to the plugin developers at hidden link to have them review and confirm this issue, and ideally, apply a proper fix in their code. Otherwise, any manual code change you make will be overwritten when the plugin is updated.
As a temporary workaround, you can comment out the following line in `/wp-content/plugins/events-manager/classes/em-event-post.php` to prevent the problematic action from triggering: