This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is experiencing an issue where a random *__trashed* string is being added to the end of page slugs, which seems to prevent translations from working. Additionally, there is a PHP Fatal error related to the Advanced Custom Fields (ACF) plugin.
Solution:
We asked the client to provide a detailed description of what the code is intended to do, and when and where it should run. This information is crucial for us to troubleshoot the issue further. We also informed the client that
is_admin()
is not a reliable way to check if a site visitor is on the front end or back end, especially with the Gutenberg editor, as detailed in the WordPress core ticket: https://core.trac.wordpress.org/ticket/47394.
If you're experiencing a similar issue, we recommend providing as much detail as possible about your code's intentions and context. However, please note that this solution might be outdated or not applicable to your case. If the problem persists, we highly recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still need assistance, please open a new support ticket with us.
For further assistance, please visit our support forum.
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.
This topic contains 17 replies, has 2 voices.
Last updated by 6 months, 3 weeks ago.
Assisted by: Lauren.