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.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
9:00 – 18:00 | 9:00 – 18:00 | 9:00 – 18:00 | 9:00 – 18:00 | 9:00 – 18:00 | - | - |
- | - | - | - | - | - | - |
Supporter timezone: Africa/Cairo (GMT+03:00)
This topic contains 20 replies, has 2 voices.
Last updated by Osama Mersal 1 year, 8 months ago.
Assisted by: Osama Mersal.
Author | Posts |
---|---|
August 11, 2022 at 5:12 pm #11852295 | |
amyL-11 |
As of recently, string translation is slipping. Translations are in place and have been working. Strings are translated. If I choose Auto register, the problem goes away, but as soon as I uncheck it, problem reappears. |
August 14, 2022 at 11:16 am #11863031 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi, Thanks for contacting WPML forums support. I'll be glad to help you today. 1) First of all, sorry for the late reply due to a higher workload. Could you please let me know where to check the code and where to see the string on the front end? Also, I would need to request temporary access (WP-Admin and FTP) Your next answer will be private, which means only you and I can access it. ❌ Please backup your database and website ❌ ✙ I would need your permission to de-activate and re-activate Plugins and the Theme and change configurations on the site. This is also a reason the backup is critical. ✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site. 2) Could you please share your Debug information with me? Thanks for your cooperation and patience Regards, |
August 16, 2022 at 7:40 pm #11875179 | |
amyL-11 |
I have ( temporarily? ) fixed the issue by scanning for strings and checking the domains. But I will need a Root Cause Assessment for my company of why this happened. Can you help me with some explanations of why/how that could have happened? I am having trouble duplicating the issue. |
August 16, 2022 at 7:53 pm #11875201 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi, 1) Thanks for the access details. The account you provided is not an admin account, so please make sure it has admin capabilities and let me know where to check the mentioned string. 2) According to the debug information, you use old WordPress Core and WPML plugins, so please update them and check if that fixed the issue. You can find the latest versions of WPML plugins here. (https://wpml.org/account/downloads/) Using outdated versions could cause issues like the one you face. 3) I can't be sure what caused the issue without checking it. It could be caused by using old versions, stuck translation, or caching. If you know how to reproduce the issue from scratch, please let me know to share a sandbox site with you to replicate the issue. After replicating the issue, I'll check it and escalate it if needed. Thanks for your cooperation Best regards, |
August 18, 2022 at 9:47 pm #11889855 | |
amyL-11 |
Hi, The problem is that I cannot easily replicate the issue on a site that you could have access to. My WordPress version is 5.8.4. What versions of WPML and the helper plugins are good with that? |
August 18, 2022 at 10:26 pm #11889863 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi, I think the following versions are released with this WP version. (WPML CMS "4.5.3", and String Translation "3.2.1") I suggest updating the WordPress core to the latest version along with WPML's latest versions. Best regards, |
August 18, 2022 at 11:16 pm #11889901 | |
amyL-11 |
Hi, I updated all WPML to latest. PHP fatal error: [18-Aug-2022 23:12:57 UTC] PHP Warning: include(/dom37361/wp-content/plugins/sitepress-multilingual-cms/vendor/composer/../../classes/language/Detection/CookieLanguage.php): failed to open stream: No such file or directory in /dom37361/wp-content/plugins/acfml/vendor/composer/ClassLoader.php on line 444 [18-Aug-2022 23:12:57 UTC] PHP Warning: include(): Failed opening '/dom37361/wp-content/plugins/sitepress-multilingual-cms/vendor/composer/../../classes/language/Detection/CookieLanguage.php' for inclusion (include_path='.:/usr/local/lib/php') in /dom37361/wp-content/plugins/acfml/vendor/composer/ClassLoader.php on line 444 [18-Aug-2022 23:12:57 UTC] PHP Fatal error: Uncaught Error: Class 'WPML\Language\Detection\CookieLanguage' not found in /dom37361/wp-content/plugins/sitepress-multilingual-cms/inc/wpml_load_request_handler.php:18 Stack trace: #0 /dom37361/wp-content/plugins/sitepress-multilingual-cms/sitepress.php(282): wpml_load_request_handler(true, Array, 'en') #1 /wordpress-versions/5.8.4/wp-settings.php(357): include_once('/dom37361/wp-co...') #2 /dom37361/wp-config.php(66): require_once('/wordpress-vers...') #3 /dom37361/wp-load.php(50): require_once('/dom37361/wp-co...') #4 /wordpress-versions/5.8.4/wp-admin/admin.php(34): require_once('/dom37361/wp-lo...') #5 {main} thrown in /dom37361/wp-content/plugins/sitepress-multilingual-cms/inc/wpml_load_request_handler.php on line 18 |
August 18, 2022 at 11:20 pm #11889905 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi, Could you please update WP to the latest version as well? Thanks, |
August 18, 2022 at 11:23 pm #11889907 | |
amyL-11 |
Updated Wp to latest, 6.0.1 [18-Aug-2022 23:17:55 UTC] PHP Fatal error: Uncaught Error: Undefined constant "WPML_TM_PATH" in /Users/eddie/WEBSITES/WB-GitHub/sitecode/document-root/wp-content/plugins/sitepress-multilingual-cms/inc/functions-load-tm.php:331 Stack trace: #0 /Users/eddie/WEBSITES/WB-GitHub/sitecode/document-root/wp-content/plugins/sitepress-multilingual-cms/inc/functions-load-tm.php(355): wpml_tm_load_tm_dashboard_ajax() #1 /Users/eddie/WEBSITES/WB-WordpressCore/wp-includes/class-wp-hook.php(303): wpml_tm_load_and_intialize_dashboard_ajax('') #2 /Users/eddie/WEBSITES/WB-WordpressCore/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array) #3 /Users/eddie/WEBSITES/WB-WordpressCore/wp-includes/plugin.php(470): WP_Hook->do_action(Array) #4 /Users/eddie/WEBSITES/WB-WordpressCore/wp-settings.php(441): do_action('plugins_loaded') #5 /Users/eddie/WEBSITES/WB-WordpressCore/wp-config.php(146): require_once('/Users/eddie/WE...') #6 /Users/eddie/WEBSITES/WB-WordpressCore/wp-load.php(50): require_once('/Users/eddie/WE...') #7 /Users/eddie/WEBSITES/WB-WordpressCore/wp-admin/admin-ajax.php(22): require_once('/Users/eddie/WE...') #8 {main} thrown in /Users/eddie/WEBSITES/WB-GitHub/sitecode/document-root/wp-content/plugins/sitepress-multilingual-cms/inc/functions-load-tm.php on line 331 |
August 18, 2022 at 11:36 pm #11889945 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi, 1) Could you please let me know if you could translate pages or not? Also, please let me know if any action triggers the error. 2) Please go to WPML-> Settings and select "Translate Some", then save. After that, please go to WPML-> Support-> Troubleshooting and run the functions one by one. (Kindly check this hidden link) Thanks, |
August 19, 2022 at 4:47 pm #11894855 | |
amyL-11 |
There is a fatal error on the site, as you can see. It is throwing a 500 error. |
August 19, 2022 at 6:12 pm #11895147 | |
amyL-11 |
Reverting WPML Sitepress back to 4.5.4 clears the fatal error. |
August 19, 2022 at 7:00 pm #11895255 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi, Thanks for your update. It's good that you have found a workaround for the issue, but in order to know why the latest version is not working on your site, we need to debug the issue by accessing your site. Or please provide a copy that we can install it locally and check it. Thanks, |
August 19, 2022 at 7:17 pm #11895261 | |
amyL-11 |
You will not be able to debug a site that is down. [18-Aug-2022 23:12:57 UTC] PHP Warning: include(/dom37361/wp-content/plugins/sitepress-multilingual-cms/vendor/composer/../../classes/language/Detection/CookieLanguage.php): failed to open stream: No such file or directory in /dom37361/wp-content/plugins/acfml/vendor/composer/ClassLoader.php on line 444 [18-Aug-2022 23:12:57 UTC] PHP Warning: include(): Failed opening '/dom37361/wp-content/plugins/sitepress-multilingual-cms/vendor/composer/../../classes/language/Detection/CookieLanguage.php' for inclusion (include_path='.:/usr/local/lib/php') in /dom37361/wp-content/plugins/acfml/vendor/composer/ClassLoader.php on line 444 [18-Aug-2022 23:12:57 UTC] PHP Fatal error: Uncaught Error: Class 'WPML\Language\Detection\CookieLanguage' not found in /dom37361/wp-content/plugins/sitepress-multilingual-cms/inc/wpml_load_request_handler.php:18 Stack trace: #0 /dom37361/wp-content/plugins/sitepress-multilingual-cms/sitepress.php(282): wpml_load_request_handler(true, Array, 'en') #1 /wordpress-versions/5.8.4/wp-settings.php(357): include_once('/dom37361/wp-co...') #2 /dom37361/wp-config.php(66): require_once('/wordpress-vers...') #3 /dom37361/wp-load.php(50): require_once('/dom37361/wp-co...') #4 /wordpress-versions/5.8.4/wp-admin/admin.php(34): require_once('/dom37361/wp-lo...') #5 {main} thrown in /dom37361/wp-content/plugins/sitepress-multilingual-cms/inc/wpml_load_request_handler.php on line 18 |
August 19, 2022 at 7:21 pm #11895311 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi, I can disable WPML using FTP and run the minimal environment test to check if it's a plugin conflict. If we check it locally, we will have access to the files and DB to run other tests. Also, it would be possible to escalate the issue. Regards, |
The topic ‘[Closed] Translations only show if Auto Register strings is selected’ is closed to new replies.