Skip Navigation

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.

Tagged: 

This topic contains 3 replies, has 0 voices.

Last updated by jamesO-17 1 day, 9 hours ago.

Assisted by: Shekhar Bhandari.

Author Posts
December 18, 2024 at 2:32 pm #16526359

jamesO-17

<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?

Screenshot 2024-12-17 at 14.07.07.png
Screenshot 2024-12-17 at 14.13.50.png
Screenshot 2024-12-17 at 14.11.10.png
December 19, 2024 at 6:46 am #16528480

Shekhar Bhandari
Supporter

Languages: English (English )

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

Hello there,

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

This info is private and available to you and WPML supporters only.
Read more about this: https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

Note:
Backup your sites before providing the credentials or if possible provide credentials for the test site

Look forward to your reply.

Thanks

December 19, 2024 at 9:26 am #16528962

jamesO-17

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

December 19, 2024 at 9:29 am #16528970

Shekhar Bhandari
Supporter

Languages: English (English )

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

Hello there,

Please try the solution as mentioned from here and see if it helps:
https://wpml.org/forums/topic/fatal-error-uncaught-error-class-elementorcoreschemescolor/#post-14019045

Look forward to your reply.

Thanks

December 19, 2024 at 10:24 am #16529347

jamesO-17

I have fixed this by following the steps on this thread
https://wpml.org/forums/topic/fatal-error-uncaught-error-class-elementorcoreschemescolor/