Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
You are trying to translate content using the Classic Translation Editor and encountering several issues. Firstly, there is a 404 error for the file translations-queue.css. Secondly, you are facing a Minified React error #200. Lastly, the WYSIWYG-editor content is often empty and uneditable.
Solution:
To address these issues, we recommend the following steps:
1) To resolve the 404 error, comment out line 188 in the file

/wp-content/plugins/sitepress-multilingual-cms/classes/class-wpml-translation-management.php

using the following code:

wp_enqueue_style( 'wpml-tm-queue', WPML_TM_URL . '/res/css/translations-queue.css', array(), ICL_SITEPRESS_VERSION );

2) To fix the Minified React error #200, in the file

/wp-content/plugins/sitepress-multilingual-cms/dist/js/jobs/app.js

, replace:

document.addEventListener("DOMContentLoaded",(function(){var e=document.querySelector("#wpml-remote-jobs-container");i.a.render(Ib,e)}))

with:

document.addEventListener("DOMContentLoaded", (function(){var e=document.querySelector("#wpml-remote-jobs-container"); if(e) { i.a.render(Ib,e); }}))

If these steps do not resolve your issues or if the solution 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 problems persist, please open a new support ticket.

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.

Tagged: 

This topic contains 4 replies, has 2 voices.

Last updated by Dražen 11 months, 1 week ago.

Assisted by: Dražen.

Author Posts
July 25, 2024 at 12:03 pm #16003336

peterT-17

Background of the issue:
I am trying to translate my content with Classic Translation Editor. The issue can be seen at hidden link.

But only when logged in of course. Let me know if you need access.

I have tried disabeling all Plugins and use a default WordPress Theme. I still get the error.

Symptoms:
I always get two errors and the WYSIWYG-editor content most of the times is just empty and can't be edited. Sometimes I can edit the content and see it when I do Strg+F5 to reload the page or after (de)activating plugins. The errors are: GET /wp-content/plugins/sitepress-multilingual-cms/res/css/translations-queue.css?ver=4.6.11 [HTTP/2 404 170ms] and Uncaught Error: Minified React error #200; visit hidden link for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

Questions:
How can I resolve the 404 error for translations-queue.css?
What steps should I take to fix the Minified React error #200?
Why is the WYSIWYG-editor content empty and uneditable most of the time?
Are there any known issues with the Classic Translation Editor that could cause these errors?

July 26, 2024 at 7:10 am #16007032

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

please try to update to the latest versions of WPML 4.6.12, and check if the issue still happens in incognito windows when all other plugins disabled and using WP default theme?

If yes, then please share admin access to website so I can take a look.

Thanks,
Drazen

July 26, 2024 at 8:53 am #16007657

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

thanks.

I have checked and was able to confirm the bug on the new test site. I have escalated this further to our 2nd tier, but also as I can see this should not cause any issue with translation. They appear and are saved correctly.

Please retest, as it should work fine, or let us further info.

Regards,
Drazen

July 29, 2024 at 7:43 am #16014112

peterT-17

Not sure I understand. Did you try firefox?

I'll use Chrome for now, but can't expect my clients to switch Browser.

Thanks for your help, please let me know when it is fixed.

Kind regards
Peter

July 29, 2024 at 10:24 am #16015294

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello Peter,

the issue is escalated and it will take some time before it gets fixed, but as I mentioned before the issue looks to be purely cosmetic, and it works fine for me.

We can provide a workaround for those messages, if that helps:

1) Workaround - comment-out line 188 in /wp-content/plugins/sitepress-multilingual-cms/classes/class-wpml-translation-management.php

		wp_enqueue_style( 'wpml-tm-queue', WPML_TM_URL . '/res/css/translations-queue.css', array(), ICL_SITEPRESS_VERSION );

2) In wp-content/plugins/sitepress-multilingual-cms/dist/js/jobs/app.js
by replace:

document.addEventListener("DOMContentLoaded",(function(){var e=document.querySelector("#wpml-remote-jobs-container");i.a.render(Ib,e)}))

with

document.addEventListener("DOMContentLoaded", (function(){var e=document.querySelector("#wpml-remote-jobs-container"); if(e) { i.a.render(Ib,e); }}))

Messages should be gone, but if you still have issues with Firefox I think it is probably another non-related issue, and should be checked in the new ticket.

Let me know how it goes.

Regards.
Drazen

August 2, 2024 at 9:47 am #16032670

peterT-17

Thank you!