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 12 replies, has 2 voices.

Last updated by Prosenjit Barman 1 year, 1 month ago.

Assisted by: Prosenjit Barman.

Author Posts
October 7, 2023 at 9:34 am #14532317

Вадим Сигаев

We discovered a problem with the translated version of the site. All menus do not load on the main page. Pages that were previously translated/created in a second language do not load at all. Example of links for two language versions of the site:

Translated - hidden link
Original - hidden link

Unfortunately, it was not possible to trace the cause of this problem in time. This may have happened after the latest WPML plugin update.

WordPress - 6.3.1
Theme XStore - 9.1.11
WPML Multilingual CMS - 4.6.5

Version of the site with an external language - hidden link

Please help us solve the problem.

October 9, 2023 at 7:00 am #14536099

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thanks for contacting WPML Support. Sorry for the delay in responding due to the weekend.

I checked the Translated version of the site and understood the issue. Upon checking, I found that the following things have not been translated into the Ukrainian language yet.

- Комплекты сантехники (Page)
- Котлы (Product Category)
- Насосы (Product Category)
- Черная сантехника (Page)

To see those items in the Ukrainian version of the site, please translate them first. If you need help in translating product categories, please check this documentation: https://wpml.org/documentation/related-projects/woocommerce-multilingual/#taxonomies

I hope it will help. Feel free to let me know if you need any further assistance. I will be happy to help.

Best regards,
Prosenjit

October 9, 2023 at 7:05 am #14536207

Вадим Сигаев

I know that not all pages of the site are translated, but what worries me more is that the translated pages do not load. Let me repeat the example:

Translated - hidden link
Original - hidden link

October 10, 2023 at 3:27 am #14543381

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thank you for sharing the links.

I checked again and noticed that the default archive template is still loading on the translated version of that page. Maybe the translation of that template is not fully completed yet which is why, the contents in the translated version are not showing correctly. Please try the following steps and check if that helps to solve the issue.

- Please clear the site's caches.
- Navigate to WPML > Support > Troubleshooting.
- In the "cleanup" section, choose "pages" from the dropdown and then click "Synchronize post taxonomies."
- Afterward, click the buttons marked in this screenshot: hidden link.
- Once done, open the main page and make a small change in the title
- Save the changes and update the translation. Make sure to 100% complete the translation.

I hope it will help.

Feel free to let me know if you need further assistance in this matter. I will be happy to help.

Best regards,
Prosenjit

October 10, 2023 at 6:57 am #14545069

Вадим Сигаев

Unfortunately, these steps did not fix the problem. In addition, last night WordPress sent an error with the WPML Multilingual CMS plugin:

An error with type E_ERROR occurred on line 36 of the file /var/www/sanhub/sanhub.com.ua/wp-content/plugins/sitepress-multilingual-cms/classes/records/class-wpml-tm-icl-translation-status. php. Error message: Uncaught InvalidArgumentException: Unknown column: rid or invalid id: 0 in /var/www/sanhub/sanhub.com.ua/wp-content/plugins/sitepress-multilingual-cms/classes/records/class-wpml- tm-icl-translation-status.php:36
Stack trace:
#0 [internal function]: WPML_TM_ICL_Translation_Status->__construct(Object(wpdb), Object(WPML_TM_Records), 0, 'rid')
#1 /var/www/sanhub/sanhub.com.ua/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/auryn/lib/Injector.php(415): ReflectionClass->newInstanceArgs(Array)
#2 /var/www/sanhub/sanhub.com.ua/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/auryn/lib/Injector.php(373): WPML\Auryn\Injector->provisionInstance ('WPML_TM_ICL_Tra...', 'wpml_tm_icl_tra...', Array)
#3 /var/www/sanhub/sanhub.com.ua/wp-content/plugins/sitepress-multilingual-cms/classes/container/class-wpml-container.php(98): WPML\Auryn\Injector->make ('WPML_TM_ICL_Tra...', Array)
#4 /var/www/sanhub/sanhub.com.ua/wp-content/plugins/sitepress-multilingual-cms/classes/container/functions.php(29): WPML\Container\Container::make('WPML_TM_ICL_Tra. ..', Array)
#5 [internal function]: WPML\Container\{closure}('WPML_TM_ICL_Tra...', Array)
#6 /var/www/sanhub/sanhub.com.ua/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php(154): call_user_func_array(Object(Closure), Array )
#7 [internal function]: WPML\FP\{closure}('WPML_TM_ICL_Tra...', Array)
#8 /var/www/sanhub/sanhub.com.ua/wp-content/plugins/sitepress-multilingual-cms/classes/container/functions.php(35): call_user_func_array(Object(Closure), Array)
#9 /var/www/sanhub/sanhub.com.ua/wp-content/plugins/sitepress-multilingual-cms/classes/records/class-wpml-tm-icl-translation-status.php(198): WPML\ Container\make('WPML_TM_ICL_Tra...', Array)
#10 /var/www/sanhub/sanhub.com.ua/wp-content/plugins/sitepress-multilingual-cms/inc/translation-jobs/helpers/wpml-update-translation-data-action.class.php(38 ): WPML_TM_ICL_Translation_Status::makeByRid(0)
#11 /var/www/sanhub/sanhub.com.ua/wp-content/plugins/sitepress-multilingual-cms/inc/actions/wpml-tm-action-he

I'm running out of time to complete the project, so I kindly ask you to help me as quickly as possible. If you need any additional information, tell me what it is, I will definitely send it to you.

October 10, 2023 at 7:03 am #14545415

Вадим Сигаев

I can’t understand why only the menu blocks do not load on the main page (see “false.jpg”). It should be like in the picture "true.jpg".

true.jpg
false.jpg
October 11, 2023 at 4:04 am #14554805

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thank you for trying out the suggestions.

Please be informed that we are allowed to handle one issue per ticket. As the issue that you mentioned in the last ticket is different than the issue reported initially, I kindly request you to create a new ticket for that. Our support team will be happy to check and assist you accordingly.

To solve the issue the primary issues, a closer inspection will be required to understand the root cause of the issue.

I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to have a testing site where the issue is replicated.

You will find the needed fields below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you.

IMPORTANT
-Please backup site files and database before providing us access.
-If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this:
hidden link

Looking forward to your response.

Best Regards,
Prosenjit

October 14, 2023 at 4:57 am #14576185

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thank you for sharing the login information.

I'm still investigating the issue you're having with the menu on the homepage in secondary language. Even after selecting the menu manually from the Xstore Header builder, the menu is not showing for some reason. It may take some more time but, as soon as I have any updates, I will surely inform you.

Thank you for your continued patience and kind cooperation in this matter.

Best regards,
Prosenjit

October 16, 2023 at 3:59 am #14581081

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi There,
I hope you're doing well.

The configuration made for the Header seems to be correct but for some reason, it is not showing on the Ukranian version of the Homepage only. I also tried to replicate the issue in my development environment(Used the same version of the theme and core plugin) but everything works fine there. You can check from here: hidden link

I believe there might be a conflict between a theme or plugin that's affecting the menu functionality on your site. To diagnose this, I'd like to conduct a conflict test by temporarily disabling the theme and plugins. However, considering your site is live, may I have your permission to do the conflict test there?

If you want, you can create a staging site from the main site. This will allow me to conduct tests without impacting the main site in any way. I already have enabled the private box for you if you want to share access to the staging or testing site.

Looking forward to your response and appreciate your patience and cooperation in this matter.

Best regards,
Prosenjit

October 16, 2023 at 10:05 am #14583301

Вадим Сигаев

Hello,

The site hidden link is a copy of the main site, so you can do everything you need there.

October 16, 2023 at 4:01 pm #14586733

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thank you for granting permission to conduct the conflict test.

During the investigation, I identified that the issue is coming from a plugin named "OnSale Page for WooCommerce". The menu started to show properly on the Ukranian homepage as soon as I deactivated the Plugin. Please check this video for a better understanding: hidden link

It appears that something within that plugin is causing interference with the Menu, especially on the Homepage, resulting in the problem. Since this plugin is relatively new and not listed in our compatible plugin directory, I kindly request you reach out to the Plugin Author/Support and discuss this matter. They can help you better in this matter.

I also have checked the Russian and Ukrainian versions of the "САНТЕХНИКА ДЛЯ КУХНИ" page and can confirm that the contents are showing perfectly in both languages.

Russian: hidden link
Ukranian: hidden link

Since everything works fine at the testing site, please check and confirm that the category is properly translated in the Main site.

Please let me know if there is anything else you need help with. I will be happy to assist.

Best regards,
Prosenjit

October 18, 2023 at 7:29 am #14599575

Вадим Сигаев

Hello,

Thanks, this helped!

There are still questions, but they do not directly relate to the topic of this appeal. Is it better to create a new request or can we continue here?

October 19, 2023 at 2:55 am #14609667

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,

You're welcome! I'm glad I could assist.

To maintain clarity and organization in each thread, we are allowed to address one issue per ticket. For that reason, I kindly request you create a new thread mentioning the other issue. We're here to help and will gladly assist you with it.

Thank you for understanding. Should you require any assistance or have any questions related to this particular thread, feel free to let me know. I will be happy to help. Otherwise, please mark this thread as resolved.

Best Regards,
Prosenjit 🙂