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.
Related documentation:
This topic contains 21 replies, has 2 voices.
Last updated by Andrey 5 months, 3 weeks ago.
Assisted by: Andrey.
Author | Posts |
---|---|
July 16, 2024 at 8:18 pm #15962498 | |
mirteM |
<b>Background of the issue: </b> This is the error: 2024-07-16T20:13:02+00:00 CRITICAL Uncaught Error: Call to a member function get_source_language_code() on false in /data/sites/web/baniwafelsbe/www/wp-content/plugins/sitepress-multilingual-cms/inc/functions-load-tm.php:501 CONTEXT: {"error":{"type":1,"file":"/data/sites/web/baniwafelsbe/www/wp-content/plugins/sitepress-multilingual-cms/inc/functions-load-tm.php","line":501},"backtrace":["","#0 /data/sites/web/baniwafelsbe/www/wp-content/plugins/sitepress-multilingual-cms/classes/ATE/Hooks/class-wpml-tm-ate-jobs-actions.php(153): wpml_tm_create_ATE_job_creation_model(166, true)","#1 [internal function]: WPML_TM_ATE_Jobs_Actions->{closure}(166, 0)","#2 /data/sites/web/baniwafelsbe/www/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Fns.php(164): array_map(Object(Closure), Array, Array)","#3 [internal function]: WPML\FP\Fns::WPML\FP\{closure}(Object(Closure), Array)","#4 /data/sites/web/baniwafelsbe/www/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php(154): call_user_func_array(Object(Closure), Array)","#5 [internal function]: WPML\FP\Fns::WPML\FP\{closure}(Object(Closure), Array)","#6 /data/sites/web/baniwafelsbe/www/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/collect/src/Illuminate/Support/Traits/Macroable.php(56): call_user_func_array(Object(Closure), Array)","#7 /data/sites/web/baniwafelsbe/www/wp-content/plugins/sitepress-multilingual-cms/classes/ATE/Hooks/class-wpml-tm-ate-jobs-actions.php(152): WPML\FP\Fns::__callStatic('...', Array)","#8 /data/sites/web/baniwafelsbe/www/wp-includes/class-wp-hook.php(324): WPML_TM_ATE_Jobs_Actions->added_translation_jobs(Array, 1, Object(WPML_TM_Translation_Batch))","#9 /data/sites/web/baniwafelsbe/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)","#10 /data/sites/web/baniwafelsbe/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array)","#11 /data/sites/web/baniwafelsbe/www/wp-content/plugins/sitepress-multilingual-cms/inc/translation-management/translation-management.class.php(1478): do_action('...', Array, 1, Object(WPML_TM_Translation_Batch))","#12 /data/sites/web/baniwafelsbe/www/wp-content/plugins/sitepress-multilingual-cms/classes/class-wpml-translation-job-factory.php(112): TranslationManagement->send_jobs(Object(WPML_TM_Translation_Batch), '...', 1)","#13 /data/sites/web/baniwafelsbe/www/wp-content/plugins/sitepress-multilingual-cms/classes/jobs/Manual.php(164): WPML_Translation_Job_Factory->create_local_job('...', '...', NULL, '...', 1, '...')","#14 /data/sites/web/baniwafelsbe/www/wp-content/plugins/sitepress-multilingual-cms/classes/jobs/Manual.php(43): WPML\TM\Jobs\Manual->createLocalJob('...', '...', '...', '...')","#15 /data/sites/web/baniwafelsbe/www/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Either.php(207): WPML\TM\Jobs\Manual->createOrReuse(Array)","#16 /data/sites/web/baniwafelsbe/www/wp-content/plugins/sitepress-multilingual-cms/classes/editor/Editor.php(92): WPML\FP\Right->map(Array)","#17 /data/sites/web/baniwafelsbe/www/wp-content/plugins/sitepress-multilingual-cms/classes/menu/translation-queue/class-wpml-translations-queue.php(52): WPML\TM\Editor\Editor->open(Array)","#18 /data/sites/web/baniwafelsbe/www/wp-includes/class-wp-hook.php(324): WPML_Translations_Queue->load(Object(WP_Screen))","#19 /data/sites/web/baniwafelsbe/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)","#20 /data/sites/web/baniwafelsbe/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array)","#21 /data/sites/web/baniwafelsbe/www/wp-admin/includes/class-wp-screen.php(424): do_action('...', Object(WP_Screen))","#22 /data/sites/web/baniwafelsbe/www/wp-admin/includes/screen.php(243): WP_Screen->set_current_screen()","#23 /data/sites/web/baniwafelsbe/www/wp-admin/admin.php(212): set_current_screen()","#24 {main}","thrown"]} <b>Symptoms: </b> <b>Questions: </b> |
July 16, 2024 at 8:51 pm #15962629 | |
Andrey Supporter Languages: English (English ) Russian (Русский ) Timezone: Europe/Kyiv (GMT+02:00) |
Thank you for contacting WPML support. Please be sure to run the WooCommerce Multilingual setup wizard to configure it correctly before you start translating your products. |
July 16, 2024 at 9:00 pm #15962661 | |
mirteM |
I don't understand what you mean. It has been installed for a few years and I have translated products in the past. |
July 16, 2024 at 9:07 pm #15962726 | |
Andrey Supporter Languages: English (English ) Russian (Русский ) Timezone: Europe/Kyiv (GMT+02:00) |
I need to request temporary access (wp-admin and FTP) to your site, preferably a test site where the problem has been replicated, if possible, in order to better help you. You will find the required fields below the comment area when you log in to leave your next reply. The information you provide will be private, meaning only you and I can see and access it. Please provide a few examples. If you can check, please verify if the issue persists only with WPML, WooCommerce Multilingual, and WooCommerce Multilingual. |
July 16, 2024 at 9:35 pm #15962802 | |
Andrey Supporter Languages: English (English ) Russian (Русский ) Timezone: Europe/Kyiv (GMT+02:00) |
If I need to debug the problem further, I want to ask you about the possibility of replicating your site locally. I'll need to install a "Duplicator temporarily" or "All In One Migration" plugin on your site. This will allow me to create a copy of your site and your content. If you prefer to do it independently, you can provide the snapshot and send me the zipped package you downloaded. Let me know how you feel about this. |
July 16, 2024 at 9:50 pm #15962826 | |
mirteM |
You can make a copy for further testing but please leave no trace behind. I try to keep things clean (also in the database). Generally support issues do scare me 😉 |
July 17, 2024 at 9:27 am #15965172 | |
mirteM |
maybe something interesting: I did migrate from mysql 5.7 to mysql 8 recently |
July 17, 2024 at 4:29 pm #15967438 | |
Andrey Supporter Languages: English (English ) Russian (Русский ) Timezone: Europe/Kyiv (GMT+02:00) |
Thank you for your feedback. I will not make any changes without your permission. If I need to make a copy of your site, I will remove the package and the installed plugin. I am unable to access your website. Is this something you are already aware of? |
July 18, 2024 at 7:36 am #15970503 | |
mirteM |
No that is strange. Try with username WPML iso the fake email (same passw ofc). |
July 18, 2024 at 8:38 am #15970960 | |
Andrey Supporter Languages: English (English ) Russian (Русский ) Timezone: Europe/Kyiv (GMT+02:00) |
I can't access it at all. Please see the screenshots. Is access country-specific? I've reactivated the private message so you can re-enter the credentials. |
July 18, 2024 at 8:47 am #15971023 | |
mirteM |
Oh but I see. It is: hidden link |
July 18, 2024 at 1:29 pm #15972783 | |
Andrey Supporter Languages: English (English ) Russian (Русский ) Timezone: Europe/Kyiv (GMT+02:00) |
Thank you, I will check and let you know. |
July 19, 2024 at 4:47 am #15975764 | |
mirteM |
Hey Andrey, how are things going with the investigation? In the first half of august I really need to complete the french products for the next season. |
July 19, 2024 at 11:10 am #15977708 | |
mirteM |
How about a conflict with Redis? Just think out loud. Redis is setup correctly though how about this issue: https://wpml.org/forums/topic/object-cache-pro-causing-wpml-issues/page/2/ |
July 19, 2024 at 11:54 am #15978131 | |
mirteM |
or this one: https://wpml.org/forums/topic/translations-are-stuck-in-progress-when-using-redis-object-cache/ Perhaps I am looking the wrong direction ofc but I have had WPML and object cache issues in the past |