Problem: You are seeing 2164 posts incorrectly identified as imported by the WPML Import and Export plugin, which were not actually imported. This issue persists even after trying recommended troubleshooting steps such as clearing cache, synchronizing posts, and updating plugins. Solution: If you're experiencing this issue, we recommend taking the following steps: 1. Ensure you have a backup of your site for safety. 2. Use a script or SQL queries to delete specific post meta related to WPML import. Here are the SQL commands you can run:
DELETE FROM `wp_postmeta` WHERE `meta_key` = '_wpml_import_language_code';<br />DELETE FROM `wp_postmeta` WHERE `meta_key` = '_wpml_import_source_language_code';<br />DELETE FROM `wp_postmeta` WHERE `meta_key` = '_wpml_import_translation_group';<br />DELETE FROM `wp_postmeta` WHERE `meta_key` = '_wpml_import_after_process_post_status';
This solution might be irrelevant if it's 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 issue persists, please open a new support ticket at WPML support forum.