Skip Navigation

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 1 reply, has 2 voices.

Last updated by Mateus Getulio 1 year, 4 months ago.

Author Posts
September 18, 2023 at 10:15 am #14410981

michalM-12

element_id and type do not match for element_id:627 the database contains tax_elementor_library_type while this function was called with tax_category

CleanShot 2023-09-18 at 12.10.09@2x.jpg
September 18, 2023 at 9:03 pm #14415407

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi there,

Thanks for your contact.

Before your ticket is assigned to one of my colleagues, please allow me to walk you through some initial debugging steps. This will help speed up the support process.

This kind of error generally happens because of corrupt entry or misconfiguration in the database. Please check the errata page related to this issue: https://wpml.org/errata/fatal-error-invalidargumentexception-element_id-and-type-do-not-match/

Let's try some possible solutions to see if this gets corrected:

**IMPORTANT** - Please make a backup of the site files and database before doing the following procedures:

#1 If you can still access your WP Dashboard:

- Go to WPML -> Support
- Click on the Troubleshooting link
- Click on the Fix post type assignment for translations button

#2 If you can’t access the WP Dashboard or the steps above do not help:

- Get access to your database using phpMyAdmin (or any other similar tool)
- Go to the wp_icl_translations table
- Find the entry with element_id:627 and delete that row

It might be necessary to replicate this workflow a couple of times until the issue is fixed.

Please give those instructions a try and let us know how they go. We're looking forward to your reply. Thanks!

Kind regards,
Mateus.

The topic ‘[Closed] element_id and type do not match for element_id:627 the database contains tax_el’ is closed to new replies.