Skip Navigation

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

Problem:
If you're experiencing a 404 error on the English version of your WooCommerce 'Thank You' page while the French version displays correctly, it might be due to accented characters in the translated endpoint. Additionally, if you encounter a database error indicating missing tables such as 'wp_icl_strings', this could be related to the WPML plugin.

Solution:
For the 404 error, we recommend removing any accented characters from the translated endpoint in your URL and replacing them with simple English letters (e.g., "ordre-recu").

For the database issue, please check the following errata page for a potential solution: Missing _icl_strings and _icl_string_translations data tables.

If these steps do not resolve your issues, the solution might be outdated or not applicable to your specific case. 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 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.

Our next available supporter will start replying to tickets in about 6.86 hours from now. Thank you for your understanding.

Tagged: 

This topic contains 5 replies, has 2 voices.

Last updated by Waqas Bin Hasan 1 month, 3 weeks ago.

Assisted by: Waqas Bin Hasan.

Author Posts
September 19, 2024 at 3:16 pm #16199720

jing-yingM

Background of the issue:
I am trying to: My woocommerce website has French and English two language. After the payment and order confirmation page(Thank you page) of French version can display, but the page of English version can't display, it shows a 404 page. Please find the details in the screenshot of seeting "String translation>Domain-"WP Endpoints">String-"order-received" and screenshot of issue page.

Symptoms:
The Thank You page (Order confirmation page) in the English version of my WooCommerce site shows a 404 error, while the French version displays correctly.

Questions:
What is the reason for the Thank You page in English showing a 404 error?
How can I translate the Thank You page?

September 20, 2024 at 9:09 am #16201836

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting the support.

Can you please remove those accented character(s) from the translated endpoint? And use simple English letters (like "ordre-recu") and then try again?

Regards.

September 20, 2024 at 5:16 pm #16203885

jing-yingM

Hi

I have revised the translated endpoint as "ordre-recu", however the issue hasn't been resolved. It doesn't work.

Please help me investigate this issue.

Thank you

2024-09-20-Englsih _order confirmation page.png
September 23, 2024 at 5:34 am #16207333

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for the updates.

Can you please try the following?

1) Take a full backup of your site and database before proceeding.
2) Deactivate all plugins except WPML, String Translation, WooCommerce and WCML.
3) Switch to a standard theme like 2024 and resave permalinks.
4) Check for the issue if it still happens.
5) Then start activating plugins one by one while keep checking for the issue. This way you 'll be able to pinpoint a conflict when & where it starts creating the problem.
6) If after activating all plugins you see that it still works fine, then switch to your parent theme. Lastly check with your child theme and see if that's causing it.

Please let me know and I'll try my best to help you further on the matter.

September 26, 2024 at 12:02 pm #16224977

jing-yingM

Hi

Thank you for your response and feedback.
I have followed your instructions to check with this issue. I noticed that this issue above maybe related with the theme plugin. So I will try to connect with theme.

However, there is another issue with my website. I use <Cookie Notice & Compliance for GDPR / CCPA>plugin and in my admin pannel ,there is an erro message below:

We have detected a problem with some tables in the database. Please contact WPML support to get this fixed.

Table 'u530602214_ViSVA.wp_icl_strings' doesn't exist
Array
(
[language] => en
[context] => Cookie Notice
[gettext_context] =>
[domain_name_context_md5] => 690273c84ab2e9f16976a541ecfefc5f
[name] => Message in the notice
[value] => We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.
[status] => 0
[translation_priority] => optional
[allow_empty_value] =>
)

Could you help me resolve this problem ?

Thank you

cookie notice.png
September 26, 2024 at 12:45 pm #16225276

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for the updates.

Sure please check with the plugin support and feel free to update here for any technical information or help needed from our side.

For the other issue, I'll recommend checking https://wpml.org/errata/missing-_icl_strings-_icl_string_translations-data-tables/.

If the solution in the said errata doesn't resolve the problem, I recommend opening a separate ticket/chat because as per forum policy we can only handle one issue per ticket/chat. So you can get more to the point help, without mixing up several issues in one long ticket.