• Resolved mbratch

    (@mbratch)


    Hello

    I know this error or something similar has been posted before, but I have not found a solution in those posts.

    Our website was working fine up until very recently and now just fails with: “There has been a critical error on the website”. I have been pulling my hair out trying to fix it. I am a volunteer for a non-profit and have little experience with WordPress or Elementor. I’ve been learning as I go…

    If I go into the site as admin and try to view a page using Elementor, I get the following error:

    There has been a critical error on this website.
    
    Learn more about troubleshooting WordPress.
    
    Uncaught Error: Class 'Elementor\Scheme_Color' not found in /var/www/wp-content/plugins/navmenu-addon-for-elementor/modules/branding/widgets/elementor-branding.php:108
    Stack trace:
    #0 /var/www/wp-content/plugins/elementor/includes/base/controls-stack.php(2313): ElementorMenus\Modules\Branding\Widgets\Elementor_Branding->_register_controls()
    #1 /var/www/wp-content/plugins/elementor/includes/base/controls-stack.php(496): Elementor\Controls_Stack->init_controls()
    #2 /var/www/wp-content/plugins/elementor/includes/base/widget-base.php(177): Elementor\Controls_Stack->get_stack()
    #3 /var/www/wp-content/plugins/elementor/includes/base/controls-stack.php(300): Elementor\Widget_Base->get_stack()
    #4 /var/www/wp-content/plugins/elementor/includes/base/controls-stack.php(2402): Elementor\Controls_Stack->get_controls()
    #5 /var/www/wp-content/plugins/elementor/includes/base/controls-stack.php(1107): Elementor\Controls_Stack->sanitize_settings(Array)
    #6 /var/www/wp-content/plugins/elementor/includes/base/controls-stack.php(2

    I’ve done a lot of searching and found this error quoted, and then solutions offered involving editing the PHP code. However, I cannot find the code that they are referring to that I can edit. I found some PHP modules to edit under PlugIns, but when I look at, for example, the NavMenu plugin source, it has nothing that is mentioned in the suggested fixes. So I am at a loss as to how to get this site up and running.

    I’ve built several websites myself from the ground up. If I had the luxury to do so, I’d just rip out all this stuff and build the site manually… I am not happy with WordPress at all. 🙁

    • This topic was modified 1 year, 7 months ago by mbratch.
    • This topic was modified 1 year, 7 months ago by mbratch.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • lisa

    (@contentiskey)

    *do you have a recent backup of the database and files for your site?

    *if you have access to plugins folder, are you able to rename of the plugins folder to temporarily deactivate all plugins? (this might help you gain access to login to the WordPress dashboard to do further troubleshooting/repair)

    *since the error messages seem to relate to Elementor plugin — start a topic for the Elementor plugin support team to request guidance from the team most familiar with the plugin. https://wordpress.org/support/plugin/elementor/

    Thread Starter mbratch

    (@mbratch)

    Hello Lisa (@contentiskey), thank you so much for the reply.

    *do you have a recent backup of the database and files for your site?

    I do not. However, I will probably run off and do that promptly!

    *if you have access to plugins folder, are you able to rename of the plugins folder to temporarily deactivate all plugins? (this might help you gain access to login to the WordPress dashboard to do further troubleshooting/repair)

    I have access to the WP Filemanager. I did find a plugin folder with LOTS of stuff under it. I can fool with that…

    *since the error messages seem to relate to Elementor plugin — start a topic for the Elementor plugin support team…

    Ok, I can do that. The error I showed in detail is from attempting to open Elementor which provides a preview. It probably failed to show the preview.

    Is there a way to see a server log to see what the error is that occurs when just trying to access the website? I don’t know if it would be the same as the error I get when accessing Elementor.

    • This reply was modified 1 year, 7 months ago by mbratch.
    • This reply was modified 1 year, 7 months ago by mbratch.
    Thread Starter mbratch

    (@mbratch)

    Hello again, Lisa (@contentiskey). I think I got it working. Once I was able to hunt down the files that the error complained about, I was able to replace class specifiers for Color and Typography per some clues I read on another site:

    Scheme_Color::... --> \Elementor\Core\Schemes\Color::...
    Scheme_Typography::... --> \Elementor\Core\Schemes\Typography::...

    I had to make this change in several places in a couple of different files.

    This is just a hack. I’m sure there’s a more elegant way to fix this. I think perhaps to upgrade the navmen plugin (if there is such a thing). I thought I had upgraded a couple of plugins already that looked relevant. But anyway, this gets me by for now. Thanks again for your help, you got me thinking in a helpful direction.

    • This reply was modified 1 year, 7 months ago by mbratch.
    • This reply was modified 1 year, 7 months ago by mbratch.
    • This reply was modified 1 year, 7 months ago by mbratch.
    • This reply was modified 1 year, 7 months ago by mbratch.
    lisa

    (@contentiskey)

    @mbratch : any edits made directly to plugin files will be overwritten during plugin updates. start a topic for the Elementor plugin support team to request guidance from the team most familiar with the plugin. https://wordpress.org/support/plugin/elementor/

    Thread Starter mbratch

    (@mbratch)

    Ok thanks Lisa, will do.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Class ‘Elementor\Scheme_Color’ not found’ is closed to new replies.