Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is experiencing a fatal error when trying to activate WPML Multilingual CMS, and the OTGS plugin reverts to deactivated status after attempting activation.
Solution:
1. Enable debug mode to identify errors during plugin activation. Modify your wp-config.php file to include:

define('WP_DEBUG', true);

and

define('WP_DEBUG_LOG', true);

This will save error logs to a debug.log file in the /wp-content/ directory. For more details on debugging WPML, visit https://wpml.org/documentation/support/debugging-wpml/.
2. Update your WPML plugin and all related add-ons to the latest version, currently 4.6.15. Updates can be found under "My Account -> Downloads" on the WPML site. Detailed update instructions are available at http://wpml.org/faq/install-wpml/. Ensure that all Elementor plugins are also updated.

If these steps do not resolve the issue or if the solution seems outdated or irrelevant to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If problems persist, please open a new support ticket at WPML support forum.

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 4 replies, has 0 voices.

Last updated by Andrey 5 months, 2 weeks ago.

Assisted by: Andrey.

Author Posts
January 15, 2025 at 7:03 am #16595640

samuelC-29

Background of the issue:
I am trying to activate WPML Multilingual CMS, but it has started crashing the site and prevents updates. Additionally, OTGS cannot be activated as it reverts to deactivated status after attempting activation. Link to a page where the issue can be seen: hidden link

Symptoms:
Fatal error when WPML Multilingual CMS is activated. OTGS cannot be activated; it reverts to deactivated status after clicking Activate.

Questions:
Can you please urgently assist with the activation issue of WPML Multilingual CMS?
Why does OTGS revert to deactivated status after activation attempt?

January 15, 2025 at 8:08 am #16595867

samuelC-29

Apologies, the Apache protected directory login is
username fpm-staging
password Crayfish@123

January 15, 2025 at 8:10 am #16595871

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

I’m sorry that you ran into trouble with this.

You need to activate the debug.log to check for errors during plugin activation.

To enable it, open your wp-config.php file and look for define(‘WP_DEBUG’, false);. Change it to:

define('WP_DEBUG', true);

To enable the error logging to a file on the server, you need to add yet one more similar line:

define( 'WP_DEBUG_LOG', true );

The errors will be saved to a debug.log log file inside the /wp-content/directory.

https://wpml.org/documentation/support/debugging-wpml/

Let me know what you see after the debug mode has been enabled.

January 16, 2025 at 11:33 am #16601690

samuelC-29

Hi Andrey

Please see the errors below. This is only happening when the WPML Multilingual CMS plugin is activated

----------------------------------------------------------------------------------
[16-Jan-2025 11:29:22 UTC] PHP Fatal error: Uncaught Error: Class "Elementor\Core\Schemes\Color" not found in /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Elementor/LanguageSwitcher/WidgetAdaptor.php:156
Stack trace:
#0 /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Elementor/LanguageSwitcher/Widget.php(50): WPML\PB\Elementor\LanguageSwitcher\WidgetAdaptor->registerControls()
#1 /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-content/plugins/elementor/includes/base/controls-stack.php(2427): WPML\PB\Elementor\LanguageSwitcher\Widget->register_controls()
#2 /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-content/plugins/elementor/includes/base/widget-base.php(1050): Elementor\Controls_Stack->init_controls()
#3 /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-content/plugins/elementor/includes/base/controls-stack.php(569): Elementor\Widget_Base->init_controls()
#4 /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-content/plugins/elementor/includes/base/widget-base.php(184): Elementor\Controls_Stack->get_stack()
#5 /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-content/plugins/elementor/includes/base/controls-stack.php(314): Elementor\Widget_Base->get_stack()
#6 /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-content/plugins/elementor/core/files/css/post.php(332): Elementor\Controls_Stack->get_controls()
#7 /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-content/plugins/elementor/core/files/css/post.php(296): Elementor\Core\Files\CSS\Post->render_element_global_styles()
#8 /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-content/plugins/elementor/core/files/css/post.php(226): Elementor\Core\Files\CSS\Post->render_styles()
#9 /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-content/plugins/elementor/core/files/css/post.php(318): Elementor\Core\Files\CSS\Post->add_controls_stack_style_rules()
#10 /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-content/plugins/elementor/core/files/css/post.php(297): Elementor\Core\Files\CSS\Post->render_element_styles()
#11 /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-content/plugins/elementor/core/files/css/post.php(226): Elementor\Core\Files\CSS\Post->render_styles()
#12 /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-content/plugins/elementor/core/files/css/post.php(318): Elementor\Core\Files\CSS\Post->add_controls_stack_style_rules()
#13 /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-content/plugins/elementor/core/files/css/post.php(297): Elementor\Core\Files\CSS\Post->render_element_styles()
#14 /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-content/plugins/elementor/core/files/css/post.php(226): Elementor\Core\Files\CSS\Post->render_styles()
#15 /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-content/plugins/elementor/core/files/css/post.php(318): Elementor\Core\Files\CSS\Post->add_controls_stack_style_rules()
#16 /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-content/plugins/elementor/core/files/css/post.php(297): Elementor\Core\Files\CSS\Post->render_element_styles()
#17 /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-content/plugins/elementor/core/files/css/post.php(226): Elementor\Core\Files\CSS\Post->render_styles()
#18 /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-content/plugins/elementor/core/files/css/post.php(318): Elementor\Core\Files\CSS\Post->add_controls_stack_style_rules()
#19 /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-content/plugins/elementor/core/files/css/post.php(297): Elementor\Core\Files\CSS\Post->render_element_styles()
#20 /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-content/plugins/elementor/core/files/css/post.php(178): Elementor\Core\Files\CSS\Post->render_styles()
#21 /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-content/plugins/elementor/core/files/css/base.php(687): Elementor\Core\Files\CSS\Post->render_css()
#22 /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-content/plugins/elementor/core/files/base.php(180): Elementor\Core\Files\CSS\Base->parse_content()
#23 /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-content/plugins/elementor/core/files/css/base.php(133): Elementor\Core\Files\Base->update_file()
#24 /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-content/plugins/elementor/core/files/css/base.php(229): Elementor\Core\Files\CSS\Base->update()
#25 /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-content/plugins/elementor/core/files/css/post.php(201): Elementor\Core\Files\CSS\Base->enqueue()
#26 /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-content/plugins/header-footer-elementor/inc/class-header-footer-elementor.php(457): Elementor\Core\Files\CSS\Post->enqueue()
#27 /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-includes/class-wp-hook.php(324): Header_Footer_Elementor->enqueue_scripts()
#28 /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#29 /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-includes/plugin.php(517): WP_Hook->do_action()
#30 /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-includes/script-loader.php(2263): do_action()
#31 /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-includes/class-wp-hook.php(324): wp_enqueue_scripts()
#32 /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#33 /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-includes/plugin.php(517): WP_Hook->do_action()
#34 /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-includes/general-template.php(3065): do_action()
#35 /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-content/themes/bookory-child/header.php(13): wp_head()
#36 /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-content/themes/bookory-child/inc/header-footer-elementor/class-hfe.php(35): require('/home/u51759677...')
#37 /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-includes/class-wp-hook.php(326): Bookory_Header_Footer_Elementor->override_header()
#38 /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#39 /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-includes/plugin.php(517): WP_Hook->do_action()
#40 /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-includes/general-template.php(38): do_action()
#41 /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-content/themes/bookory/page.php(3): get_header()
#42 /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-includes/template-loader.php(106): include('/home/u51759677...')
#43 /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-blog-header.php(19): require_once('/home/u51759677...')
#44 /home/u517596774/domains/futurepacemedia.de/public_html/staging/index.php(17): require('/home/u51759677...')
#45 {main}
thrown in /home/u517596774/domains/futurepacemedia.de/public_html/staging/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Elementor/LanguageSwitcher/WidgetAdaptor.php on line 156

January 16, 2025 at 3:44 pm #16602882

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Please update your WPML plugin and add-ons to the latest version, 4.6.15, to take advantage of the latest bug fixes and improvements.

You can check the latest released versions under "My Account -> Downloads" on this site. Instructions to update can be found here: http://wpml.org/faq/install-wpml/

If you do not see the updates, you might need to click the Check for updates button in the Plugins → Add New Plugin → Commercial tab.

Make sure that Elementor plugins are also updated.

Please remember to backup your database before you proceed.

Let me know if the issue persists after an update has been done.