Can’t save Elementor template conditions with latest versions of this plugin
-
I am using Elementor 3.10.0 and Elementor Pro 3.10.1 (new releases from today). I am also using Essential Addons for Elementor 4.0.1 + Essential Addons for Elementor Pro 5.5.2.
When I try to save my Elementor template condition (to get my header to show sitewide), it throws this error:
PHP Fatal error: Uncaught TypeError: ElementorPro\Modules\ThemeBuilder\Classes\Conditions_Cache::add(): Argument #2 ($conditions) must be of type array, string given, called in /var/www/public_html/wp-content/plugins/elementor-pro/modules/theme-builder/classes/conditions-cache.php on line 135 and defined in /var/www/public_html/wp-content/plugins/elementor-pro/modules/theme-builder/classes/conditions-cache.php:29\nStack trace:\n#0 /var/www/public_html/wp-content/plugins/elementor-pro/modules/theme-builder/classes/conditions-cache.php(135): ElementorPro\Modules\ThemeBuilder\Classes\Conditions_Cache->add()\n#1 /var/www/public_html/wp-content/plugins/elementor-pro/modules/theme-builder/classes/conditions-manager.php(298): ElementorPro\Modules\ThemeBuilder\Classes\Conditions_Cache->regenerate()\n#2 /var/www/public_html/wp-content…’, referer: https://mysite.com/wp-admin/post.php?post=82&action=elementor
Using Hello Elementor theme. My header was working fine before updating Elementor to 3.10.0.
I did some testing. I deactivated all plugins except Elementor and Elementor Pro, then started reactivating plugins and retrying to save my template condition;
With Essential Addons for Elementor 4.0.1 + Essential Addons for Elementor Pro 5.5.2 (I need Pro) activated, I can’t save conditions with Elementor. With them deactivated I can save conditions just fine.
For now, I have worked around this issue by temporarily deactivating Essential Addons and Essential Addons Pro, editing my template and its conditions and saving that, and then reactivating Essential Addons and Essential Addons Pro. Not a long-term solution, but at least this worked for me.
- The topic ‘Can’t save Elementor template conditions with latest versions of this plugin’ is closed to new replies.