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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: Asia/Singapore (GMT+08:00)

This topic contains 0 reply, has 0 voices.

Last updated by Kor 6 months, 2 weeks ago.

Assisted by: Kor.

Author Posts
November 19, 2024 at 5:02 am

Miles De Feyter

Background of the issue:
I am trying to resolve a PHP fatal error related to WPML. My previously submitted ticket was marked resolved, but the issue persists. I created a clean install on a new environment with WP, RealHomes theme, Elementor, and WPML on a staging site: hidden link. Here, WPML works perfectly. However, when I pulled production data to a DEV environment and matched the plugins with Stage, we still encounter critical errors when trying to translate the Elementor homepage. Dev environment: hidden link. Both Elementor and WPEngine support have referred me back to WPML. Additionally, moving items out of the 'translation Bucket' to be translated hangs and throws JS errors. Link to a page where the issue can be seen: hidden link.

Symptoms:
PHP Fatal error: Uncaught Error: Call to undefined method Continues. The process of moving items out of the 'translation Bucket' hangs and throws JS errors.

Questions:
Why does the PHP fatal error occur when trying to translate the Elementor homepage in the DEV environment?
Why does moving items out of the 'translation Bucket' hang and throw JS errors in the DEV and Prod environments?

November 19, 2024 at 5:42 am
November 19, 2024 at 5:43 am #16417607

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience. Here is the ticket. Please let me know how it goes.

November 19, 2024 at 7:00 am #16417801

panama-equityR

Unfortunately -deactivating the plugins so they matched our success on DEV didn't work.

Here is the error message:

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
Active theme: RealHomes (version 4.3.5)
Current plugin: WPML Multilingual CMS (version 4.6.13)
PHP version 8.2.24

Error Details
=============
An error of type E_ERROR was caused in line 61 of the file /nas/content/live/panamaequity/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Elementor/class-wpml-elementor-translatable-nodes.php. Error message: Uncaught Error: Call to undefined method WPML\PB\Elementor\Modules\ModuleWithItemsFromConfig::get() in /nas/content/live/panamaequity/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Elementor/class-wpml-elementor-translatable-nodes.php:61
Stack trace:
#0 /nas/content/live/panamaequity/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Shared/st/compatibility/class-wpml-page-builders-register-strings.php(86): WPML_Elementor_Translatable_Nodes->get('c1c719a', Array)
#1 /nas/content/live/panamaequity/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Elementor/class-wpml-elementor-register-strings.php(17): WPML_Page_Builders_Register_Strings->register_strings_for_node('c1c719a', Array, Array)
#2 /nas/content/live/panamaequity/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Elementor/class-wpml-elementor-register-strings.php(20): WPML_Elementor_Register_Strings->register_strings_for_modules(Array, Array)
#3 /nas/content/live/panamaequity/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Elementor/class-wpml-elementor-register-strings.php(20): WPML_Elementor_Register_Strings->register_strings_for_modules(Array, Array)
#4 /nas/content/live/panamaequity/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Elementor/class-wpml-elementor-register-strings.php(20): WPML_Elementor_Register_Strings->register_strings_for_modules(Array, Array)
#5 /nas/content/live/panamaequity/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Elementor/class-wpml-elementor-register-strings.php(20): WPML_Elementor_Register_Strings->register_strings_for_modules(Array, Array)
#6 /nas/content/live/panamaequity/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Shared/st/compatibility/class-wpml-page-builders-register-strings.php(64): WPML_Elementor_Register_Strings->register_strings_for_modules(Array, Array)
#7 /nas/content/live/panamaequity/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Shared/st/class-page-builder-integration.php(61): WPML_Page_Builders_Register_Strings->register_strings(Object(WP_Post), Array)
#8 /nas/content/live/panamaequity/wp-includes/class-wp-hook.php(324): WPML_Page_Builders_Integration->register_pb_strings(Object(WP_Post), Array)
#9 /nas/content/live/panamaequity/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#10 /nas/content/live/panamaequity/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#11 /nas/content/live/panamaequity/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Shared/st/strategy/api-hooks/class-wpml-pb-api-hooks-strategy.php(17): do_action('wpml_page_build...', Object(WP_Post), Array)
#12 [internal function]: WPML_PB_API_Hooks_Strategy->register_strings(Object(WP_Post))
#13 /nas/content/live/panamaequity/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Invoker/Invoker.php(41): call_user_func_array(Array, Array)
#14 /nas/content/live/panamaequity/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Fns.php(175): WPML\FP\Invoker\_Invoker->__invoke(Object(WPML_PB_API_Hooks_Strategy))
#15 [internal function]: WPML\FP\Fns::WPML\FP\{closure}(Object(WPML\FP\Invoker\_Invoker), Object(WPML_PB_API_Hooks_Strategy), 0)
#16 /nas/content/live/panamaequity/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php(154): call_user_func_array(Object(Closure), Array)
#17 [internal function]: WPML\FP\{closure}(Object(WPML_PB_API_Hooks_Strategy), 0)
#18 /nas/content/live/panamaequity/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Fns.php(164): array_map(Object(Closure), Array, Array)
#19 [internal function]: WPML\FP\Fns::WPML\FP\{closure}(Object(Closure), Array)
#20 /nas/content/live/panamaequity/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php(154): call_user_func_array(Object(Closure), Array)
#21 [internal function]: WPML\FP\Fns::WPML\FP\{closure}(Object(Closure), Array)
#22 /nas/content/live/panamaequity/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/collect/src/Illuminate/Support/Traits/Macroable.php(56): call_user_func_array(Object(Closure), Array)
#23 /nas/content/live/panamaequity/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Fns.php(169): WPML\FP\Fns::__callStatic('map', Array)
#24 [internal function]: WPML\FP\Fns::WPML\FP\{closure}(Object(WPML\FP\Invoker\_Invoker), Array)
#25 /nas/content/live/panamaequity/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php(154): call_user_func_array(Object(Closure), Array)
#26 [internal function]: WPML\FP\Fns::WPML\FP\{closure}(Object(WPML\FP\Invoker\_Invoker), Array)
#27 /nas/content/live/panamaequity/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/collect/src/Illuminate/Support/Traits/Macroable.php(56): call_user_func_array(Object(Closure), Array)
#28 /nas/content/live/panamaequity/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Shared/st/class-wpml-pb-integration.php(319): WPML\FP\Fns::__callStatic('each', Array)
#29 /nas/content/live/panamaequity/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Shared/st/class-wpml-pb-integration.php(249): WPML_PB_Integration->with_strategies(Object(WPML\FP\Invoker\_Invoker))
#30 /nas/content/live/panamaequity/wp-includes/class-wp-hook.php(324): WPML_PB_Integration->register_all_strings_for_translation(Object(WP_Post))
#31 /nas/content/live/panamaequity/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#32 /nas/content/live/panamaequity/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#33 /nas/content/live/panamaequity/wp-content/plugins/sitepress-multilingual-cms/inc/translation-management/translation-management.class.php(1356): do_action('wpml_pb_registe...', Object(WP_Post))
#34 /nas/content/live/panamaequity/wp-content/plugins/sitepress-multilingual-cms/classes/class-wpml-translation-job-factory.php(112): TranslationManagement->send_jobs(Object(WPML_TM_Translation_Batch), 'post', 1)
#35 /nas/content/live/panamaequity/wp-content/plugins/sitepress-multilingual-cms/classes/jobs/Manual.php(164): WPML_Translation_Job_Factory->create_local_job('145657', 'es', NULL, 'post_page', 1, 'en')
#36 /nas/content/live/panamaequity/wp-content/plugins/sitepress-multilingual-cms/classes/jobs/Manual.php(43): WPML\TM\Jobs\Manual->createLocalJob('145657', 'en', 'es', 'post_page')
#37 /nas/content/live/panamaequity/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Either.php(207): WPML\TM\Jobs\Manual->createOrReuse(Array)
#38 /nas/content/live/panamaequity/wp-content/plugins/sitepress-multilingual-cms/classes/editor/Editor.php(92): WPML\FP\Right->map(Array)
#39 /nas/content/live/panamaequity/wp-content/plugins/sitepress-multilingual-cms/classes/menu/translation-queue/class-wpml-translations-queue.php(52): WPML\TM\Editor\Editor->open(Array)
#40 /nas/content/live/panamaequity/wp-includes/class-wp-hook.php(324): WPML_Translations_Queue->load(Object(WP_Screen))
#41 /nas/content/live/panamaequity/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#42 /nas/content/live/panamaequity/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#43 /nas/content/live/panamaequity/wp-admin/includes/class-wp-screen.php(424): do_action('current_screen', Object(WP_Screen))
#44 /nas/content/live/panamaequity/wp-admin/includes/screen.php(243): WP_Screen->set_current_screen()
#45 /nas/content/live/panamaequity/wp-admin/admin.php(212): set_current_screen()
#46 {main}
thrown

One difference is I didn't have all of the same WPML Plugins in prod that we do in DEV. See screen shot for comparison. Dev is on left and prod on right.

I've added the same user to prod for you with the same pass. hidden link

Screenshot-2024-11-18-at-11.54.52 PM.png
November 19, 2024 at 7:02 am #16417818

Miles De Feyter

Sorry - replied under our other account. Switching back to this one

November 19, 2024 at 3:31 pm
November 20, 2024 at 4:29 pm
November 21, 2024 at 3:36 am #16427210

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

Sorry, you shared the staging credentials again. I need access to your production so that I can check what's going on. Could you recheck again? Please remember to backup the site.

The topic ‘[Closed] PHP Fatal error: Uncaught Error: Call to undefined method Continues’ is closed to new replies.