This thread is resolved. Here is a description of the problem and solution.
Problem:
The client was experiencing an issue where only the first 200 posts were being assigned to the correct languages during an import process using WP All Export / Import PRO and WPML Import. The error message indicated 'Setting Posts’ Language (200/7809 items) 7609 skipped'.
Solution:
The client discovered that the issue was due to a default limit set in the WPML Import plugin's code. By modifying the constants
DEFAULT_LIMIT
in the files
./classes/Commands/Base/CleanupFields.php
and
./classes/Commands/Base/SetEntitiesLanguage.php
from 200 to 10000, the import functioned correctly. We have noted this adjustment for future reference.
If this solution does not resolve your issue, or if it seems outdated or irrelevant 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 further assistance is needed, please open a new support ticket at WPML 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 0 replies, has 1 voice.
Last updated by 5 days, 17 hours ago.
Assisted by: Dražen.