Home›Support›English Support›[Resolved] The WPML Multilingual CMS plugin is clashing with the elementor plugin.
[Resolved] The WPML Multilingual CMS plugin is clashing with the elementor plugin.
This thread is resolved. Here is a description of the problem and solution.
Problem: You are trying to create a new page using the Elementor page builder, but encounter an issue where the screen just spins grey when clicking 'add new page'. The page doesn't load unless the WPML Multilingual CMS plugin is disabled. Solution: If you're experiencing this issue, we recommend following the steps provided in this WPML forum thread: https://wpml.org/forums/topic/fatal-error-uncaught-error-class-elementorcoreschemescolor/. This solution addresses a similar problem where a PHP Fatal error occurs due to a missing class in Elementor when WPML is enabled.
Please note that this solution might be irrelevant if it's outdated or not applicable to your specific 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 the issue persists, please open a new support ticket at WPML support forum for further assistance.
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.
<b>Background of the issue: </b>
I am trying to create a new page using the Elementor page builder, but I encounter an issue. The problem occurs when I click 'add new page', and the screen just spins grey. The issue can be seen at this link: hidden link.
<b>Symptoms: </b>
The page doesn't load unless I disable the WPML Multilingual CMS plugin.
<b>Questions: </b>
Why does the page not load when WPML Multilingual CMS is enabled?
How can I resolve the conflict between WPML Multilingual CMS and Elementor?
Thank you for contacting WPML support. I'd be happy to assist you on this issue.
To debug this issue further, I would need to check your site settings once, for this I would need temporary access (wp-admin and ftp) to your site.
So could you please provide me with those details, you will find the needed fields for this below the comment area when you log in to leave your next reply. hidden link
Hey, can I just send the error in the log instead. Can you work with this?
[19-Dec-2024 09:22:09 UTC] PHP Fatal error: Uncaught Error: Class "Elementor\Core\Schemes\Color" not found in /var/www/html/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Elementor/LanguageSwitcher/WidgetAdaptor.php:156
FULL ERROR:
[19-Dec-2024 09:25:35 UTC] PHP Fatal error: Uncaught Error: Class "Elementor\Core\Schemes\Color" not found in /var/www/html/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Elementor/LanguageSwitcher/WidgetAdaptor.php:156
Stack trace:
#0 /var/www/html/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Elementor/LanguageSwitcher/Widget.php(50): WPML\PB\Elementor\LanguageSwitcher\WidgetAdaptor->registerControls()
#1 /var/www/html/wp-content/plugins/elementor/includes/base/controls-stack.php(2386): WPML\PB\Elementor\LanguageSwitcher\Widget->register_controls()
#2 /var/www/html/wp-content/plugins/elementor/includes/base/widget-base.php(1050): Elementor\Controls_Stack->init_controls()
#3 /var/www/html/wp-content/plugins/elementor/includes/base/controls-stack.php(569): Elementor\Widget_Base->init_controls()
#4 /var/www/html/wp-content/plugins/elementor/includes/base/widget-base.php(184): Elementor\Controls_Stack->get_stack()
#5 /var/www/html/wp-content/plugins/elementor/includes/managers/widgets.php(391): Elementor\Widget_Base->get_stack(false)
#6 [internal function]: Elementor\Widgets_Manager->ajax_get_widget_types_controls_config(Array, Object(Elementor\Core\Common\Modules\Ajax\Module))
#7 /var/www/html/wp-content/plugins/elementor/core/common/modules/ajax/module.php(176): call_user_func(Array, Array, Object(Elementor\Core\Common\Modules\Ajax\Module))
#8 /var/www/html/wp-includes/class-wp-hook.php(324): Elementor\Core\Common\Modules\Ajax\Module->handle_ajax_request('')
#9 /var/www/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#10 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#11 /var/www/html/wp-admin/admin-ajax.php(192): do_action('wp_ajax_element...')
#12 {main}
thrown in /var/www/html/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Elementor/LanguageSwitcher/WidgetAdaptor.php on line 156