tommusrhodus / TommusRhodus-Framework

A modern framework designed and built for themes by TommusRhodus. Adds Post Types, Shortcodes, Additional Functionality etc. on a per-theme basis.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Elementor upgrade breaks Jumpstart theme v 1.11

neuharthr opened this issue · comments

Hi Tom. After upgrading to Elementor 3.6.5, I received the following error in the Jumpstart (v 1.0.10) (TommusRhodus Framework v 1.0.2) theme.
Stack trace:

[01-May-2022 22:06:59 UTC] PHP Fatal error:  Uncaught Error: Class 'Elementor\Scheme_Color' not found in /var/www/html/wp-content/plugins/TommusRhodus-Framework-master/elementor-blocks/jumpstart/counter-block.php:113
#0 /var/www/html/wp-content/plugins/elementor/includes/base/controls-stack.php(2280): Elementor\Widget_TommusRhodus_Counter_Block->_register_controls()
#1 /var/www/html/wp-content/plugins/elementor/includes/base/controls-stack.php(494): Elementor\Controls_Stack->init_controls()
#2 /var/www/html/wp-content/plugins/elementor/includes/base/widget-base.php(177): Elementor\Controls_Stack->get_stack()
#3 /var/www/html/wp-content/plugins/elementor/includes/base/controls-stack.php(300): Elementor\Widget_Base->get_stack()
#4 /var/www/html/wp-content/plugins/elementor/core/files/css/global-css.php(120): Elementor\Controls_Stack->get_controls()
#5 /var/www/html/wp-content/plugins/elementor/core/files/css/global-css.php(66): Elementor\Core\Files\CSS\Global_CSS->render_schemes_and_globals_css()
#6 /var/www/html/wp-content/plugins/elementor/ in /var/www/html/wp-content/plugins/TommusRhodus-Framework-master/elementor-blocks/jumpstart/counter-block.php on line 113

The fix was found here:
https://forum.elementor.com/fixing-common-issues-33/wordpress-error-with-elementor-plugin-10649
Wherever you see this error, you should replace Scheme_Color with \Elementor\Core\Schemes\Color
Like so:

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

More details of the cause is here:
elementor/elementor#16159 (comment)

Can you incorporate this change and push out to the next release?

This was updated a few days ago b84504b 👍

Delete the plugin from your site, and let the theme re-install it from "appearance => install plugins", this will always give you the latest version.