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.

Elementor users - please update WPML to the latest version to maintain compatibility. More details here - https://wpml.org/changelog/2024/12/wpml-4-6-15-critical-update-for-elementor-sites/
Sun Mon Tue Wed Thu Fri Sat
12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 - -
- - - - - - -

Supporter timezone: Asia/Karachi (GMT+05:00)

Tagged: 

This topic contains 7 replies, has 0 voices.

Last updated by Noman 10 hours, 27 minutes ago.

Assisted by: Noman.

Author Posts
December 14, 2024 at 6:15 pm #16513798

alexandreR-30

Background of the issue:
I was updating articles and noticed a critical error. After troubleshooting with Elementor, I found that the issue is related to the WPML String Translation plugin. Disabling the plugin resolves the issue, but enabling it causes the articles to go offline. The problem appears randomly across articles. Link to a page where the issue can be seen: hidden link

Symptoms:
There has been a critical error on this website when the WPML String Translation plugin is enabled.

Questions:
How can I solve the critical error caused by the WPML String Translation plugin?

December 15, 2024 at 9:11 am #16514548

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting WPML Support. I can see the issue on your site, and I’ll do my best to assist you with it. Could you please follow the steps below and let me know the results?

1. The current WP Memory Limit on your site is 40MB. The WP memory limit needs to be increased, it's different from PHP memory. PHP memory is fine but WordPress uses 40MB as default in your site. The minimum requirements for WPML are 128MB: https://wpml.org/home/minimum-requirements/

Please add this line to your wp-config.php file to increase WP memory, wp-config.php file is located in the root of your WP install:

/* WP Memory Limit */
define('WP_MEMORY_LIMIT', '256M');

You can add it anywhere in your file. I recommend placing it right before the following line:

/* That's all, stop editing! Happy blogging. */

2. Please delete all sorts of caches on your site/server cache if any / plugin cache / CDN cache, clear the browser cache, and then see if it resolves the issue afterward.

3. If the issue persists, please enable error reporting on your site as I need to see the details of the latest error log to understand the cause of the issue better. To enable it, open your ‘wp-config.php’ file and look for ‘define(‘WP_DEBUG’, false);’. Change it to:

// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );
 
// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );
 
// Disable display of errors and warnings
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );
 
define( 'SCRIPT_DEBUG', true );

After adding the above code, please try activating the WPML String Translation plugin and visiting this page: hidden link again, and if this process creates a debug.log file in your site's wp-content directory. Please send us its contents.

Here is a doc for more details:
https://wpml.org/documentation/support/debugging-wpml/

Thank you

December 15, 2024 at 10:21 am #16514654

alexandreR-30

Hi,

I followed the steps but the issue is still present. Here is the content of the debug.log

[15-Dec-2024 10:17:56 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the

complianz-gdpr

domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the

init

action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home1/flwpptmy/public_html/wp-includes/functions.php on line 6114
[15-Dec-2024 10:17:56 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the

interactive-geo-maps

domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the

init

action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home1/flwpptmy/public_html/wp-includes/functions.php on line 6114
[15-Dec-2024 10:17:58 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the

complianz-gdpr

domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the

init

action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home1/flwpptmy/public_html/wp-includes/functions.php on line 6114
[15-Dec-2024 10:17:58 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the

interactive-geo-maps

domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the

init

action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home1/flwpptmy/public_html/wp-includes/functions.php on line 6114
[15-Dec-2024 10:17:59 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_class_name() on null in /home1/flwpptmy/public_html/wp-content/plugins/elementor-pro/modules/global-widget/widgets/global-widget.php:192
Stack trace:
#0 /home1/flwpptmy/public_html/wp-content/plugins/elementor-pro/modules/global-widget/widgets/global-widget.php(159): ElementorPro\Modules\GlobalWidget\Widgets\Global_Widget->init_original_element_instance()
#1 /home1/flwpptmy/public_html/wp-content/plugins/elementor-pro/modules/global-widget/widgets/global-widget.php(154): ElementorPro\Modules\GlobalWidget\Widgets\Global_Widget->get_original_element_instance()
#2 /home1/flwpptmy/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php(2475): ElementorPro\Modules\GlobalWidget\Widgets\Global_Widget->get_controls()
#3 /home1/flwpptmy/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php(1158): Elementor\Controls_Stack->sanitize_settings(Array)
#4 /home1/flwpptmy/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php(2218): Elementor\Controls_Stack->get_data('settings')
#5 /home1/flwpptmy/public_html/wp-content/plugins/elementor/core/base/base-object.php(142): Elementor\Controls_Stack->get_init_settings()
#6 /home1/flwpptmy/public_html/wp-content/plugins/elementor/core/base/base-object.php(40): Elementor\Core\Base\Base_Object->ensure_settings()
#7 /home1/flwpptmy/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php(389): Elementor\Core\Base\Base_Object->get_settings()
#8 /home1/flwpptmy/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php(1204): Elementor\Controls_Stack->get_controls_settings()
#9 /home1/flwpptmy/public_html/wp-content/plugins/elementor/core/base/elements-iteration-actions/assets.php(22): Elementor\Controls_Stack->get_active_settings()
#10 /home1/flwpptmy/public_html/wp-content/plugins/elementor/core/base/document.php(2046): Elementor\Core\Base\Elements_Iteration_Actions\Assets->element_action(Object(ElementorPro\Modules\GlobalWidget\Widgets\Global_Widget))
#11 [internal function]: Elementor\Core\Base\Document->Elementor\Core\Base\{closure}(Array, Array)
#12 /home1/flwpptmy/public_html/wp-content/plugins/elementor/includes/db.php(264): call_user_func(Object(Closure), Array, Array)
#13 /home1/flwpptmy/public_html/wp-content/plugins/elementor/includes/db.php(268): Elementor\DB->iterate_data(Array, Object(Closure), Array)
#14 /home1/flwpptmy/public_html/wp-content/plugins/elementor/includes/db.php(261): Elementor\DB->iterate_data(Array, Object(Closure), Array)
#15 /home1/flwpptmy/public_html/wp-content/plugins/elementor/includes/db.php(268): Elementor\DB->iterate_data(Array, Object(Closure), Array)
#16 /home1/flwpptmy/public_html/wp-content/plugins/elementor/includes/db.php(261): Elementor\DB->iterate_data(Array, Object(Closure), Array)
#17 /home1/flwpptmy/public_html/wp-content/plugins/elementor/includes/db.php(268): Elementor\DB->iterate_data(Array, Object(Closure), Array)
#18 /home1/flwpptmy/public_html/wp-content/plugins/elementor/core/base/document.php(2031): Elementor\DB->iterate_data(Array, Object(Closure))
#19 /home1/flwpptmy/public_html/wp-content/plugins/elementor/core/base/document.php(1864): Elementor\Core\Base\Document->iterate_elements(Array, Array, 'render')
#20 /home1/flwpptmy/public_html/wp-content/plugins/elementor/core/base/document.php(1822): Elementor\Core\Base\Document->do_print_elements(Array)
#21 /home1/flwpptmy/public_html/wp-content/plugins/elementor/core/base/document.php(1200): Elementor\Core\Base\Document->print_elements(Array)
#22 /home1/flwpptmy/public_html/wp-content/plugins/elementor/includes/frontend.php(1190): Elementor\Core\Base\Document->print_elements_with_wrapper(Array)
#23 /home1/flwpptmy/public_html/wp-content/plugins/elementor-pro/modules/posts/skins/skin-content-base.php(271): Elementor\Frontend->get_builder_content(1883, false)
#24 /home1/flwpptmy/public_html/wp-content/plugins/elementor-pro/modules/theme-builder/widgets/post-content.php(111): ElementorPro\Modules\ThemeBuilder\Widgets\Post_Content->render_post_content(false, false)
#25 /home1/flwpptmy/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php(2325): ElementorPro\Modules\ThemeBuilder\Widgets\Post_Content->render()
#26 /home1/flwpptmy/public_html/wp-content/plugins/elementor/includes/base/widget-base.php(635): Elementor\Controls_Stack->render_by_mode()
#27 /home1/flwpptmy/public_html/wp-content/plugins/elementor/includes/base/widget-base.php(776): Elementor\Widget_Base->render_content()
#28 /home1/flwpptmy/public_html/wp-content/plugins/elementor/includes/base/element-base.php(483): Elementor\Widget_Base->print_content()
#29 /home1/flwpptmy/public_html/wp-content/plugins/elementor/modules/element-cache/module.php(73): Elementor\Element_Base->print_element()
#30 /home1/flwpptmy/public_html/wp-includes/shortcodes.php(434): Elementor\Modules\ElementCache\Module->Elementor\Modules\ElementCache\{closure}(Array, '', 'elementor-eleme...')
#31 [internal function]: do_shortcode_tag(Array)
#32 /home1/flwpptmy/public_html/wp-includes/shortcodes.php(273): preg_replace_callback('/\\[(\\[?)(elemen...', 'do_shortcode_ta...', '[elementor-elem...')
#33 /home1/flwpptmy/public_html/wp-content/plugins/elementor/core/base/document.php(1855): do_shortcode('[elementor-elem...')
#34 /home1/flwpptmy/public_html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(412): Elementor\Core\Base\Document->print_elements(Array)
#35 /home1/flwpptmy/public_html/wp-content/plugins/elementor/includes/frontend.php(1190): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->print_elements_with_wrapper(Array)
#36 /home1/flwpptmy/public_html/wp-content/plugins/elementor/core/base/document.php(1248): Elementor\Frontend->get_builder_content(742, false)
#37 /home1/flwpptmy/public_html/wp-content/plugins/elementor/modules/library/documents/library-document.php(76): Elementor\Core\Base\Document->get_content(false)
#38 /home1/flwpptmy/public_html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(158): Elementor\Modules\Library\Documents\Library_Document->get_content(false)
#39 /home1/flwpptmy/public_html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(173): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->get_content()
#40 /home1/flwpptmy/public_html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/single-base.php(100): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->print_content()
#41 /home1/flwpptmy/public_html/wp-content/plugins/elementor-pro/modules/theme-builder/classes/locations-manager.php(370): ElementorPro\Modules\ThemeBuilder\Documents\Single_Base->print_content()
#42 /home1/flwpptmy/public_html/wp-content/themes/astra/inc/compatibility/class-astra-elementor-pro.php(243): ElementorPro\Modules\ThemeBuilder\Classes\Locations_Manager->do_location('single')
#43 /home1/flwpptmy/public_html/wp-includes/class-wp-hook.php(324): ElementorPro\Modules\ThemeBuilder\ThemeSupport\Astra_Elementor_Pro->do_template_parts('')
#44 /home1/flwpptmy/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#45 /home1/flwpptmy/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#46 /home1/flwpptmy/public_html/wp-content/themes/astra/inc/class-astra-loop.php(192): do_action('astra_template_...')
#47 /home1/flwpptmy/public_html/wp-includes/class-wp-hook.php(324): Astra_Loop->loop_markup('')
#48 /home1/flwpptmy/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#49 /home1/flwpptmy/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#50 /home1/flwpptmy/public_html/wp-content/themes/astra/inc/core/theme-hooks.php(256): do_action('astra_content_l...')
#51 /home1/flwpptmy/public_html/wp-content/themes/astra/single.php(27): astra_content_loop()
#52 /home1/flwpptmy/public_html/wp-includes/template-loader.php(106): include('/home1/flwpptmy...')
#53 /home1/flwpptmy/public_html/wp-blog-header.php(19): require_once('/home1/flwpptmy...')
#54 /home1/flwpptmy/public_html/index.php(17): require('/home1/flwpptmy...')
#55 {main}
thrown in /home1/flwpptmy/public_html/wp-content/plugins/elementor-pro/modules/global-widget/widgets/global-widget.php on line 192
[15-Dec-2024 10:18:01 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_class_name() on null in /home1/flwpptmy/public_html/wp-content/plugins/elementor-pro/modules/global-widget/widgets/global-widget.php:192
Stack trace:
#0 /home1/flwpptmy/public_html/wp-content/plugins/elementor-pro/modules/global-widget/widgets/global-widget.php(159): ElementorPro\Modules\GlobalWidget\Widgets\Global_Widget->init_original_element_instance()
#1 /home1/flwpptmy/public_html/wp-content/plugins/elementor-pro/modules/global-widget/widgets/global-widget.php(154): ElementorPro\Modules\GlobalWidget\Widgets\Global_Widget->get_original_element_instance()
#2 /home1/flwpptmy/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php(2475): ElementorPro\Modules\GlobalWidget\Widgets\Global_Widget->get_controls()
#3 /home1/flwpptmy/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php(1158): Elementor\Controls_Stack->sanitize_settings(Array)
#4 /home1/flwpptmy/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php(2218): Elementor\Controls_Stack->get_data('settings')
#5 /home1/flwpptmy/public_html/wp-content/plugins/elementor/core/base/base-object.php(142): Elementor\Controls_Stack->get_init_settings()
#6 /home1/flwpptmy/public_html/wp-content/plugins/elementor/core/base/base-object.php(40): Elementor\Core\Base\Base_Object->ensure_settings()
#7 /home1/flwpptmy/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php(389): Elementor\Core\Base\Base_Object->get_settings()
#8 /home1/flwpptmy/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php(1204): Elementor\Controls_Stack->get_controls_settings()
#9 /home1/flwpptmy/public_html/wp-content/plugins/elementor/core/base/elements-iteration-actions/assets.php(22): Elementor\Controls_Stack->get_active_settings()
#10 /home1/flwpptmy/public_html/wp-content/plugins/elementor/core/base/document.php(2046): Elementor\Core\Base\Elements_Iteration_Actions\Assets->element_action(Object(ElementorPro\Modules\GlobalWidget\Widgets\Global_Widget))
#11 [internal function]: Elementor\Core\Base\Document->Elementor\Core\Base\{closure}(Array, Array)
#12 /home1/flwpptmy/public_html/wp-content/plugins/elementor/includes/db.php(264): call_user_func(Object(Closure), Array, Array)
#13 /home1/flwpptmy/public_html/wp-content/plugins/elementor/includes/db.php(268): Elementor\DB->iterate_data(Array, Object(Closure), Array)
#14 /home1/flwpptmy/public_html/wp-content/plugins/elementor/includes/db.php(261): Elementor\DB->iterate_data(Array, Object(Closure), Array)
#15 /home1/flwpptmy/public_html/wp-content/plugins/elementor/includes/db.php(268): Elementor\DB->iterate_data(Array, Object(Closure), Array)
#16 /home1/flwpptmy/public_html/wp-content/plugins/elementor/includes/db.php(261): Elementor\DB->iterate_data(Array, Object(Closure), Array)
#17 /home1/flwpptmy/public_html/wp-content/plugins/elementor/includes/db.php(268): Elementor\DB->iterate_data(Array, Object(Closure), Array)
#18 /home1/flwpptmy/public_html/wp-content/plugins/elementor/core/base/document.php(2031): Elementor\DB->iterate_data(Array, Object(Closure))
#19 /home1/flwpptmy/public_html/wp-content/plugins/elementor/core/base/document.php(1864): Elementor\Core\Base\Document->iterate_elements(Array, Array, 'render')
#20 /home1/flwpptmy/public_html/wp-content/plugins/elementor/core/base/document.php(1822): Elementor\Core\Base\Document->do_print_elements(Array)
#21 /home1/flwpptmy/public_html/wp-content/plugins/elementor/core/base/document.php(1200): Elementor\Core\Base\Document->print_elements(Array)
#22 /home1/flwpptmy/public_html/wp-content/plugins/elementor/includes/frontend.php(1190): Elementor\Core\Base\Document->print_elements_with_wrapper(Array)
#23 /home1/flwpptmy/public_html/wp-content/plugins/elementor-pro/modules/posts/skins/skin-content-base.php(271): Elementor\Frontend->get_builder_content(1883, false)
#24 /home1/flwpptmy/public_html/wp-content/plugins/elementor-pro/modules/theme-builder/widgets/post-content.php(111): ElementorPro\Modules\ThemeBuilder\Widgets\Post_Content->render_post_content(false, false)
#25 /home1/flwpptmy/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php(2325): ElementorPro\Modules\ThemeBuilder\Widgets\Post_Content->render()
#26 /home1/flwpptmy/public_html/wp-content/plugins/elementor/includes/base/widget-base.php(635): Elementor\Controls_Stack->render_by_mode()
#27 /home1/flwpptmy/public_html/wp-content/plugins/elementor/includes/base/widget-base.php(776): Elementor\Widget_Base->render_content()
#28 /home1/flwpptmy/public_html/wp-content/plugins/elementor/includes/base/element-base.php(483): Elementor\Widget_Base->print_content()
#29 /home1/flwpptmy/public_html/wp-content/plugins/elementor/modules/element-cache/module.php(73): Elementor\Element_Base->print_element()
#30 /home1/flwpptmy/public_html/wp-includes/shortcodes.php(434): Elementor\Modules\ElementCache\Module->Elementor\Modules\ElementCache\{closure}(Array, '', 'elementor-eleme...')
#31 [internal function]: do_shortcode_tag(Array)
#32 /home1/flwpptmy/public_html/wp-includes/shortcodes.php(273): preg_replace_callback('/\\[(\\[?)(elemen...', 'do_shortcode_ta...', '[elementor-elem...')
#33 /home1/flwpptmy/public_html/wp-content/plugins/elementor/core/base/document.php(1855): do_shortcode('[elementor-elem...')
#34 /home1/flwpptmy/public_html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(412): Elementor\Core\Base\Document->print_elements(Array)
#35 /home1/flwpptmy/public_html/wp-content/plugins/elementor/includes/frontend.php(1190): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->print_elements_with_wrapper(Array)
#36 /home1/flwpptmy/public_html/wp-content/plugins/elementor/core/base/document.php(1248): Elementor\Frontend->get_builder_content(742, false)
#37 /home1/flwpptmy/public_html/wp-content/plugins/elementor/modules/library/documents/library-document.php(76): Elementor\Core\Base\Document->get_content(false)
#38 /home1/flwpptmy/public_html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(158): Elementor\Modules\Library\Documents\Library_Document->get_content(false)
#39 /home1/flwpptmy/public_html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(173): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->get_content()
#40 /home1/flwpptmy/public_html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/single-base.php(100): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->print_content()
#41 /home1/flwpptmy/public_html/wp-content/plugins/elementor-pro/modules/theme-builder/classes/locations-manager.php(370): ElementorPro\Modules\ThemeBuilder\Documents\Single_Base->print_content()
#42 /home1/flwpptmy/public_html/wp-content/themes/astra/inc/compatibility/class-astra-elementor-pro.php(243): ElementorPro\Modules\ThemeBuilder\Classes\Locations_Manager->do_location('single')
#43 /home1/flwpptmy/public_html/wp-includes/class-wp-hook.php(324): ElementorPro\Modules\ThemeBuilder\ThemeSupport\Astra_Elementor_Pro->do_template_parts('')
#44 /home1/flwpptmy/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#45 /home1/flwpptmy/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#46 /home1/flwpptmy/public_html/wp-content/themes/astra/inc/class-astra-loop.php(192): do_action('astra_template_...')
#47 /home1/flwpptmy/public_html/wp-includes/class-wp-hook.php(324): Astra_Loop->loop_markup('')
#48 /home1/flwpptmy/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#49 /home1/flwpptmy/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#50 /home1/flwpptmy/public_html/wp-content/themes/astra/inc/core/theme-hooks.php(256): do_action('astra_content_l...')
#51 /home1/flwpptmy/public_html/wp-content/themes/astra/single.php(27): astra_content_loop()
#52 /home1/flwpptmy/public_html/wp-includes/template-loader.php(106): include('/home1/flwpptmy...')
#53 /home1/flwpptmy/public_html/wp-blog-header.php(19): require_once('/home1/flwpptmy...')
#54 /home1/flwpptmy/public_html/index.php(17): require('/home1/flwpptmy...')
#55 {main}
thrown in /home1/flwpptmy/public_html/wp-content/plugins/elementor-pro/modules/global-widget/widgets/global-widget.php on line 192
[15-Dec-2024 10:18:12 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the

complianz-gdpr

domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the

init

action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home1/flwpptmy/public_html/wp-includes/functions.php on line 6114
[15-Dec-2024 10:18:12 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the

interactive-geo-maps

domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the

init

action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home1/flwpptmy/public_html/wp-includes/functions.php on line 6114
[15-Dec-2024 10:18:14 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the

complianz-gdpr

domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the

init

action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home1/flwpptmy/public_html/wp-includes/functions.php on line 6114
[15-Dec-2024 10:18:14 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the

interactive-geo-maps

domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the

init

action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home1/flwpptmy/public_html/wp-includes/functions.php on line 6114
[15-Dec-2024 10:18:25 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the

complianz-gdpr

domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the

init

action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home1/flwpptmy/public_html/wp-includes/functions.php on line 6114
[15-Dec-2024 10:18:25 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the

interactive-geo-maps

domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the

init

action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home1/flwpptmy/public_html/wp-includes/functions.php on line 6114
[15-Dec-2024 10:19:02 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the

complianz-gdpr

domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the

init

action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home1/flwpptmy/public_html/wp-includes/functions.php on line 6114
[15-Dec-2024 10:19:02 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the

interactive-geo-maps

domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the

init

action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home1/flwpptmy/public_html/wp-includes/functions.php on line 6114
[15-Dec-2024 10:19:02 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the

complianz-gdpr

domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the

init

action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home1/flwpptmy/public_html/wp-includes/functions.php on line 6114
[15-Dec-2024 10:19:02 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the

interactive-geo-maps

domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the

init

action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home1/flwpptmy/public_html/wp-includes/functions.php on line 6114

December 15, 2024 at 12:41 pm #16514846

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thanks for sharing the error details. I can see the Fatal error which causing this issue:

[15-Dec-2024 10:18:01 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_class_name() on null in

This usually arises when some invalid content is stored in a database somehow or some elementor template is not saved properly. To fix this issue, can you please try to follow the below procedure for those elementor template which are being used on this page:
hidden link

1. Open the default language page/template in Edit mode.
2. Edit it with Elementor page builder.
3. Make a small change, for example, add a heading element.
4. Press the Save/Update button.
5. Now, please remove that heading elementor that did in step #3.
5. Update the page again.
6. Clear all sorts of cache.

7. If the above steps don’t help, please provide temporary access (WP-Admin and FTP Login info) to your site (preferably staging site), so that I can look into your setup and debug the issue.

Your next answer will be private, meaning only you and I can access it.

=== Please backup your database and website ===

✙ I would additionally need your permission to deactivate and reactivate Plugins and the Theme and to change configurations on the site. This is also a reason the backup is essential.

Thank you

December 15, 2024 at 1:06 pm #16514898

alexandreR-30

Hi,

The steps you mentioned are working and when followed they do reactivate the post. The only problem is that there are 375 articles on my site. It is not possible to do them one by one.

Plus, how to prevent this from happening in the future?

Regards

December 15, 2024 at 3:09 pm #16514992

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for the update.

If all 375 articles have the same issue, I recommend checking if there’s a common Elementor template/popup/section used across those articles. If so, please try applying the suggested steps to that specific template instead of doing it individually for each article.

Since this error is originating from the Elementor Pro plugin, it’s worth reaching out to their support team. They might be able to provide insight into the root cause and steps to prevent such issues in the future.

Let me know if you need further assistance or have any updates.

Thank you for your cooperation

December 15, 2024 at 3:54 pm #16515036

alexandreR-30

What's troublesome is that this issue is not over all articles. Just "randomly" across some of them. The manual solutions is either to turn off WPML, or to open one by one all the articles to find which one are affected and update them.

However, none of this solve the issue and guarantee that it will not happen anymore.

Plus, it is extremely time consuming.

December 16, 2024 at 7:57 am #16516096

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for clarifying. Since the issue occurs randomly and not across all articles, it may indicate an inconsistency in the database or specific templates. Resolving this manually for all affected articles is indeed time consuming and might not be a long-term solution.

To address this more efficiently, I recommend:

1. Identify if specific templates are linked to the affected articles and apply the earlier suggested steps to those templates.

2. Since the error originates from the Elementor Pro plugin, their support team might provide a better resolution or tools to identify and fix affected pages systematically.

If you’d like, I can also assist further by debugging directly in a staging environment to better understand the scope of the issue. Let me know how you’d like to proceed.

Thank you for your cooperation and patience

December 19, 2024 at 2:54 pm #16530678

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

It seems you’ve marked the ticket as closed, but if the issue still persists, I’d be happy to assist further. To investigate this thoroughly without affecting your live site, we can migrate your website to a test server(cloudways) for deeper debugging.

I’m going to share the migration details in my next private reply.

Thank you, and I apologize for any inconvenience caused so far. I’m here to help resolve this issue.