• Resolved havishka

    (@havishka)


    Hi there,

    I am using WPLMS theme on my WordPress website. When students try to access their dashboard they are getting this error. If I deactivate elementor the error is gone and the site works smoothly.

    Here is the error:

    Fatal error: Uncaught Error: Class 'Elementor\Scheme_Color' not found
    in /nas/content/live/gutsycreatives/wp-content/plugins/vibebp/includes/elementor/profile/field.php on line 92
    
    Call stack:
    
    VibeBP_Field::_register_controls()
    wp-content/plugins/elementor/includes/base/controls-stack.php:2280
    Elementor\Controls_Stack::init_controls()
    wp-content/plugins/elementor/includes/base/controls-stack.php:494
    Elementor\Controls_Stack::get_stack()
    wp-content/plugins/elementor/includes/base/widget-base.php:177
    Elementor\Widget_Base::get_stack()
    wp-content/plugins/elementor/includes/base/controls-stack.php:300
    Elementor\Controls_Stack::get_controls()
    wp-content/plugins/elementor/core/files/css/global-css.php:120
    Elementor\C\F\C\Global_CSS::render_schemes_and_globals_css()
    wp-content/plugins/elementor/core/files/css/global-css.php:66
    Elementor\C\F\C\Global_CSS::render_css()
    wp-content/plugins/elementor/core/files/css/base.php:632
    Elementor\C\F\C\Base::parse_content()
    wp-content/plugins/elementor/core/files/base.php:180
    Elementor\C\F\Base::update_file()
    wp-content/plugins/elementor/core/files/css/base.php:131
    Elementor\C\F\C\Base::update()
    wp-content/plugins/elementor/core/files/css/base.php:218
    Elementor\C\F\C\Base::enqueue()
    wp-content/plugins/elementor/includes/frontend.php:980
    Elementor\Frontend::parse_global_css_code()
    wp-content/plugins/elementor/includes/frontend.php:633
    Elementor\Frontend::enqueue_styles()
    wp-content/plugins/wplms_plugin/includes/theme/class.course.component.php:50
    WPLMS_Course_Component_Init::wplms_course_data()
    wp-includes/class-wp-hook.php:307
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:331
    WP_Hook::do_action()
    wp-includes/plugin.php:474
    do_action()
    wp-includes/script-loader.php:2105
    wp_enqueue_scripts()
    wp-includes/class-wp-hook.php:307
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:331
    WP_Hook::do_action()
    wp-includes/plugin.php:474
    do_action()
    wp-includes/general-template.php:3042
    wp_head()
    wp-content/themes/wplms/header.php:10
    require_once()
    wp-includes/template.php:770
    load_template()
    wp-includes/template.php:716
    locate_template()
    wp-includes/general-template.php:48
    get_header()
    wp-content/themes/wplms/members/single/home.php:13
    require_once()
    wp-includes/template.php:770
    load_template()
    wp-content/plugins/buddypress/bp-core/bp-core-catchuri.php:500
    bp_core_load_template()
    wp-content/plugins/buddypress/bp-xprofile/screens/public.php:35
    xprofile_screen_display_profile()
    wp-includes/class-wp-hook.php:307
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:331
    WP_Hook::do_action()
    wp-includes/plugin.php:474
    do_action()
    wp-content/plugins/buddypress/bp-core/bp-core-dependency.php:388
    bp_screens()
    wp-includes/class-wp-hook.php:307
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:331
    WP_Hook::do_action()
    wp-includes/plugin.php:474
    do_action()
    wp-content/plugins/buddypress/bp-core/bp-core-dependency.php:445
    bp_template_redirect()
    wp-includes/class-wp-hook.php:307
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:331
    WP_Hook::do_action()
    wp-includes/plugin.php:474
    do_action()
    wp-includes/template-loader.php:13
    require_once()
    wp-blog-header.php:19
    require()
    index.php:17

    Please Help!

    Thanks

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter havishka

    (@havishka)

    Changing to the below code in field.php fixed the issue. To everyone experiencing this error change the values in color scheme as below in each place that triggers the fatal error that would fix the error.

    'scheme' => [
                        'type' => \Elementor\Core\Schemes\Color::get_type(),
                        'value' => \Elementor\Core\Schemes\Color::COLOR_1,
                    ],

    Hi @havishka
    This is not advisable as the new Elementor update will overwrite their changes.
    Make sure that you have the latest Elementor pro 3.6.4 and Elementor core 3.6.1, then disable the “JetMenu” plugin (this one is a known culprit), or if you don’t have that plugin, disable ALL third-party plugins, and enable them 1 by 1 until you find the culprit, as it is a conflict that is causing this issue. You might also want to try switching to the Hello Elementor theme.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error: Uncaught Error: Class ‘Elementor\Scheme_Color’ not found’ is closed to new replies.