Latest plugin version 1.7.0 causes a critical error in WordPress.
Error Description
• Error Type: Uncaught TypeError
• Message: DynamicConditions\Admin\DynamicConditionsAdmin::addConditionFields(): Argument #1 ($element) must be of type Elementor\Element_Base, ElementorPro\Modules\Popup\Documents\Document given.
• File and Line: The error occurs in wp-includes/class-wp-hook.php on line 324.
• Call Stack Trace: The error originates from the function DynamicConditionsAdmin::addConditionFields() and involves various Elementor plugin files.
Key Points of the Error
TypeError: This means that a function was expecting a specific type of argument, but received a different type.
Expected Type: Elementor\Element_Base
Given Type: ElementorPro\Modules\Popup\Documents\Document
Latest plugin version 1.7.0 causes a critical error in WordPress.
Error Description • Error Type: Uncaught TypeError • Message: DynamicConditions\Admin\DynamicConditionsAdmin::addConditionFields(): Argument #1 ($element) must be of type Elementor\Element_Base, ElementorPro\Modules\Popup\Documents\Document given. • File and Line: The error occurs in wp-includes/class-wp-hook.php on line 324. • Call Stack Trace: The error originates from the function DynamicConditionsAdmin::addConditionFields() and involves various Elementor plugin files.
Key Points of the Error
Likely Cause
The addConditionFields function in the DynamicConditions plugin is being called with an argument that does not match the expected type.