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 2 replies, has 1 voice.

Last updated by Shekhar Bhandari 1 month, 2 weeks ago.

Author Posts
December 10, 2024 at 12:57 am #16495580

duanmanZ

Background of the issue:
I am trying to access my website hidden link and encountered a technical issue with the WPML Multilingual CMS plugin. WordPress detected a fatal error with this plugin. I was directed to check the page hidden link for any visible issues. Additionally, I have a recovery mode link: hidden link.

Symptoms:
An error of type E_ERROR was caused in line 501 of the file /home/customer/www/chinasanren.com/public_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.

Questions:

December 10, 2024 at 12:59 am #16495581

duanmanZ

Howdy!

WordPress has a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

In this case, WordPress caught an error with one of your plugins, WPML Multilingual CMS.

First, visit your website (hidden link) and check for any visible issues. Next, visit the page where the error was caught (hidden link) and check for any visible issues.

Please contact your host for assistance with investigating this issue further.

If your site appears broken and you can't access your dashboard normally, WordPress now has a special "recovery mode". This lets you safely login to your dashboard and investigate further.

hidden link

To keep your site safe, this link will expire in 1 day. Don't worry about that, though: a new link will be emailed to you if the error occurs again after it expires.

When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.7.1
Active theme: Hello Elementor (version 3.1.1)
Current plugin: WPML Multilingual CMS (version 4.6.14)
PHP version 8.2.26

Error Details
=============
An error of type E_ERROR was caused in line 501 of the file /home/customer/www/chinasanren.com/public_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 /home/customer/www/chinasanren.com/public_html/wp-content/plugins/sitepress-multilingual-cms/inc/functions-load-tm.php:501
Stack trace:
#0 /home/customer/www/chinasanren.com/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/ATE/Hooks/class-wpml-tm-ate-jobs-actions.php(153): wpml_tm_create_ATE_job_creation_model(395, true)
#1 [internal function]: WPML_TM_ATE_Jobs_Actions->{closure}(395, 23)
#2 /home/customer/www/chinasanren.com/public_html/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 /home/customer/www/chinasanren.com/public_html/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 /home/customer/www/chinasanren.com/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/collect/src/Illuminate/Support/Traits/Macroable.php(56): call_user_func_array(Object(Closure), Array)
#7 /home/customer/www/chinasanren.com/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/ATE/Hooks/class-wpml-tm-ate-jobs-actions.php(152): WPML\FP\Fns::__callStatic('map', Array)
#8 /home/customer/www/chinasanren.com/public_html/wp-includes/class-wp-hook.php(324): WPML_TM_ATE_Jobs_Actions->added_translation_jobs(Array, 6, Object(WPML_TM_Translation_Batch))
#9 /home/customer/www/chinasanren.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#10 /home/customer/www/chinasanren.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#11 /home/customer/www/chinasanren.com/public_html/wp-content/plugins/sitepress-multilingual-cms/inc/translation-management/translation-management.class.php(1478): do_action('wpml_added_tran...', Array, 6, Object(WPML_TM_Translation_Batch))
#12 /home/customer/www/chinasanren.com/public_html/wp-content/plugins/sitepress-multilingual-cms/inc/translation-management/translation-management.class.php(1316): TranslationManagement->send_jobs(Object(WPML_TM_Translation_Batch), 'post', 6)
#13 /home/customer/www/chinasanren.com/public_html/wp-includes/class-wp-hook.php(324): TranslationManagement->action_send_jobs(Object(WPML_TM_Translation_Batch), 'post', 6)
#14 /home/customer/www/chinasanren.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#15 /home/customer/www/chinasanren.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#16 /home/customer/www/chinasanren.com/public_html/wp-content/plugins/sitepress-multilingual-cms/API/Batch.php(40): do_action('wpml_tm_send_po...', Object(WPML_TM_Translation_Batch), 'post', 6)
#17 /home/customer/www/chinasanren.com/public_html/wp-content/plugins/sitepress-multilingual-cms/API/Batch.php(56): WPML\TM\API\Batch::WPML\TM\API\{closure}(Object(WPML_TM_Translation_Batch))
#18 /home/customer/www/chinasanren.com/public_html/wp-content/plugins/sitepress-multilingual-cms/API/Batch.php(44): WPML\TM\API\Batch::send(Object(Closure), Array, Object(WPML_TM_Translation_Batch))
#19 [internal function]: WPML\TM\API\Batch::sendPosts(Object(WPML\TM\Jobs\Dispatch\Messages), Object(WPML_TM_Translation_Batch), 6)
#20 /home/customer/www/chinasanren.com/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php(100): call_user_func_array('WPML\\TM\\API\\Bat...', Array)
#21 /home/customer/www/chinasanren.com/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/translation-jobs/Dispatch/Elements.php(49): WPML\FP\{closure}(Object(WPML\TM\Jobs\Dispatch\Messages), Object(WPML_TM_Translation_Batch))
#22 /home/customer/www/chinasanren.com/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/translation-jobs/Dispatch/Posts.php(19): WPML\TM\Jobs\Dispatch\Elements::dispatch(Object(Closure), Object(WPML\TM\Jobs\Dispatch\Messages), Object(Closure), Array, 'post')
#23 /home/customer/www/chinasanren.com/public_html/wp-content/plugins/sitepress-multilingual-cms/inc/translation-management/translation-management.class.php(497): WPML\TM\Jobs\Dispatch\Posts::dispatch(Object(Closure), Object(WPML\TM\Jobs\Dispatch\Messages), Object(Closure), Array)
#24 /home/customer/www/chinasanren.com/public_html/wp-content/plugins/sitepress-multilingual-cms/inc/translation-management/translation-management.class.php(295): TranslationManagement->process_request(Array)
#25 /home/customer/www/chinasanren.com/public_html/wp-includes/class-wp-hook.php(324): TranslationManagement->wp_loaded('')
#26 /home/customer/www/chinasanren.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#27 /home/customer/www/chinasanren.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#28 /home/customer/www/chinasanren.com/public_html/wp-settings.php(726): do_action('wp_loaded')
#29 /home/customer/www/chinasanren.com/public_html/wp-config.php(105): require_once('/home/customer/...')
#30 /home/customer/www/chinasanren.com/public_html/wp-load.php(50): require_once('/home/customer/...')
#31 /home/customer/www/chinasanren.com/public_html/wp-admin/admin.php(34): require_once('/home/customer/...')
#32 {main}
thrown

December 10, 2024 at 4:54 am #16495801

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello,

Thank you for reaching out to WPML support. Before your ticket is assigned to a supporter, I’d like to provide some detailed guidance to help you address the issue.

Could you please go to WPML-> Support ->Troubleshooting and click the below buttons and see if it helps?

+ Clear Cache in WPML
+ Set Language information
+ Fix element types collation
+ Remove ghost entries from the translation tables
+ Assign translation status to duplicated content

Further, To help you further on this issue, we would need further information, so could you please go to WPML > Support > Debug Information and give me the information in the next reply. You can read the detailed instruction here: http://wpml.org/faq/provide-debug-information-faster-support/

Look forward to your reply.

Thanks

The topic ‘[Closed] Site is Experiencing a Technical Issue’ is closed to new replies.