Dies ist das technische Support-Forum für WPML – das mehrsprachige WordPress-Plugin.
Mitlesen können alle, doch nur WPML-Kunden können hier Fragen veröffentlichen. Das WPML-Team antwortet im Forum an 6 Tagen pro Woche, 22 Stunden am Tag.
Hintergrund des Themas:
I am trying to edit a translation of a post by using the post-overview list. The issue can be seen at the following link: versteckter Link.
Die Symptome:
I am encountering a WordPress database error 'Duplicate entry'. Instead of the usual 'plus-icon' or 'pen-icon' next to the post-title, I am getting a critical error. This error causes the list to display only one record, and searching for posts results in a critical error. This affects 'Main Focus' Posts, 'Blick in die Welt' Posts, and regular posts, but pages work as expected. The error log shows entries similar to those mentioned in this article: https://wpml.org/errata/wordpress-database-error-duplicate-entry/. However, the timestamps of the error_log do not match, Im assuming they onle appear when re-enabling WPML. With the same EXACT database in my local DDEV project, I was not able reproduce the issue. The codebase on live should match the codebase I have on local because we are using bitbucket pipelines to deploy. I generally doubt that the issue is code-related, but not 100% sure.
Fragen:
Can you help me resolve the critical error when editing translations?
Why does the error occur only for certain post types and not pages?