Please make sure to update to WPML 4.3.6 and check our list of Known Issues before reporting
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 thread is resolved. Here is a description of the problem and solution.
Problem: Fatal error: Uncaught exception 'InvalidArgumentException' with message 'element_id and type do not match for element_id
Solution: This kind of error is happening because of corrupt entry or misconfiguration in the Database. In this case element_type which has element_id 1387 of wp_icl_translations database table doesn't match tax_category of this entry in wp_posts database table.
Please try the following steps after a full site backup to fix the issue.
1) Go to your database using phpMyAdmin(or something similar)
2) Go to wp_icl_translations database table
3) Find entry with element_id:1387 and delete that row