This thread is resolved. Here is a description of the problem and solution.
Problem:
You are setting up WPML for the first time and encounter issues where the translation management does not display existing pages, the status remains on 'loading pages...', and you cannot select a translation language from the language switcher.
Solution:
If you're experiencing this issue and are unable to upgrade your PHP version, we recommend you try the following steps:
1. Navigate to the file at
wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/wpml/src/UserInterface/Web/Infrastructure/WordPress/Port/Hook/PostsFilter.php
2. Locate the line:
private TranslationEditorMode $translationEditorMode;
3. Change it to:
private $translationEditorMode;
This modification might resolve the issue with loading pages and the inability to select translation languages. However, this solution could become irrelevant due to updates or it might not apply to your specific case. If the problem persists, 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 necessary, 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.
This topic contains 0 reply, has 0 voices.
Last updated by 9 months, 3 weeks ago.
Assisted by: Bruno Kos.


