Skip to content Skip to sidebar

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

Problem:
The client is experiencing a 'Critical Error' when trying to view the translated version of their website after installing WPML CMS and String Translation.
Solution:
We found an issue with the menu. We recommend creating a new menu and translating it. This resolved the 'Critical Error', and the translated homepage should now open without any issues.

If this solution doesn't look relevant to your issue, please open a new support ticket with us.

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 1 year, 12 months ago.

Assisted by: Dražen.

Author Posts
January 4, 2024 at 8:14 am #15149445

andrewP-40

I have just installed WPML CMS and String Translation. I have several websites using this setup, however, on this site, I am getting a "Critical Error" when trying to view the translated version.

January 4, 2024 at 8:35 am #15149558

Dražen
Supporter

Languages: English (English )

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

Hello,

Please make a full backup of your site (files and database) and confirm it in your next reply.
If possible please provide access to the staging website, not production.

Please note, that I might need to do some debugging procedures like enable/disable plugins, switch themes, change the default language of the user account, and/or access your website database to debug the issue furtherly.

I will share with you any changes or steps done in this process. Please let me know if you do not agree with the above or if I do not have your permission for any.

I would need to access both your site's wp-admin and FTP account, if possible.

I have enabled the private username and password fields in your next reply.

I suggest you create a new user, set it as an administrator and then add those credentials in the private fields mentioned.

You can safely add your information into these fields.

Regards,
Drazen

January 4, 2024 at 9:57 am #15149841

Dražen
Supporter

Languages: English (English )

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

Hello,

I have checked and I saw there is some issue with menu translation, so I have created new menu and translated it.

AR homepage works and opens up fine now.

Regards,
Drazen

January 4, 2024 at 10:38 am #15150021

andrewP-40

Thank you, it is working now, however, I noticed that the footer did not translate, and also only one section of the contact form?

Please assist, I have attached screenshots.

Screenshot 2.png
Screenshot 1.png
January 4, 2024 at 10:42 am #15150058

Dražen
Supporter

Languages: English (English )

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

Hello,

you would need to translate footer widget or template depending on how you are adding it, I am not sure how you added it in default language, I can not find it, maybe from theme options. Please check next:

- hidden link

If it is a template, you can set them as translatable and translate:
- https://wpml.org/documentation/getting-started-guide/translating-custom-posts/

As for strings probably coming from theme/plugin, please scan theme and theme plugins and translate them as explained in the next docs:

- https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/

Please note we limit 1 issue per 1 ticket, to keep things clear and easy to follow. If you need further help please open a new ticket or I can do it for you.

Regards,
Drazen