This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is experiencing a PHP Fatal error during the import process using the WPML plugin, specifically when using the WPML All Import addon. The error message indicates a type error with array_filter() expecting an array but receiving a boolean.
Solution:
1. We recommend deactivating all plugins except for WPML and any essential plugins required for the import.
2. Navigate to WPML → Settings → Troubleshooting and perform the following actions:
- Clear the cache in WPML
- Set language information
- Fix the collation of element types
- Remove ghost entries from the translation tables
- Assign translation statuses to duplicated content
3. Replace the outdated 'WPML All Import' addon with the new 'WPML Export & Import' addon, which is compatible with WP All Export, WP All Import, and native WordPress and WooCommerce export and import methods. You can download it from here.
4. Ensure that the import process in WP All Import is fully completed before running the WPML importer in WPML > Export & Import.
If you're still experiencing issues after following these steps, or if the solution provided here becomes outdated, 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 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 3 voices.
Last updated by 7 months, 3 weeks ago.
Assisted by: Prosenjit Barman.