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.

Tagged: 

This topic contains 5 replies, has 2 voices.

Last updated by elinaB-3 1 year, 11 months ago.

Assisted by: Carlos Rojas.

Author Posts
January 13, 2023 at 1:01 pm #12813427

elinaB-3

saving elementor template

Error Details
=============
An error of type E_ERROR was caused in line 486 of the file /usr/local/lsws/Example/html/wp-content/plugins/sitepress-multilingual-cms/inc/functions-load-tm.php. Error message: Uncaught Error: Call to a member function get_source_language_code() on bool in /usr/local/lsws/Example/html/wp-content/plugins/sitepress-multilingual-cms/inc/functions-load-tm.php:486
Stack trace:
#0 [internal function]: wpml_tm_create_ATE_job_creation_model()
#1 /usr/local/lsws/Example/html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Fns.php(164): array_map()
#2 [internal function]: WPML\FP\Fns::WPML\FP\{closure}()
#3 /usr/local/lsws/Example/html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php(152): call_user_func_array()
#4 [internal function]: WPML\FP\Fns::WPML\FP\{closure}()
#5 /usr/local/lsws/Example/html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/collect/src/Illuminate/Support/Traits/Macroable.php(56): call_user_func_array()
#6 /usr/local/lsws/Example/html/wp-content/plugins/sitepress-multilingual-cms/classes/ATE/Hooks/class-wpml-tm-ate-jobs-actions.php(142): WPML\FP\Fns::__callStatic()
#7 /usr/local/lsws/Example/html/wp-includes/class-wp-hook.php(308): WPML_TM_ATE_Jobs_Actions->added_translation_jobs()
#8 /usr/local/lsws/Example/html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#9 /usr/local/lsws/Example/html/wp-includes/plugin.php(517): WP_Hook->do_action()
#10 /usr/local/lsws/Example/html/wp-content/plugins/sitepress-multilingual-cms/inc/translation-management/translation-management.class.php(1412): do_action

January 13, 2023 at 1:28 pm #12813645

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Hello,
Thank you for contacting us

Please visit this link and double-check if the correct steps were followed: https://wpml.org/errata/woocommerce-multilingual-fatal-error-uncaught-error-call-to-a-member-function-get_source_language_code-on-bool/

Regards,
Carlos

January 13, 2023 at 1:40 pm #12813863

elinaB-3

i am running wpml for long time, this just happened today. otherwise all works correctly

January 13, 2023 at 1:55 pm #12813961

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Hello,
Thank you for your message.

1.- Please describe step by step how to reproduce the issue on a specific page that we can use as a reference

2.- I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. You will find the needed fields for this 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.

Our Debugging Procedures

I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to back-up the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.

Regards,
Carlos

January 16, 2023 at 10:08 am #12825335

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Hi there,
Thank you for sharing the information requested

Before we continue isolating the cause of the issue I need to ask you to update all outdated plugins and themes that appear in this link: hidden link

Once all functionalities are up-to-date then double-check if the issue disappeared.

Looking forward to your message.
Regards,
Carlos