Skip to content

Commit cabd21b

Browse files
Fixed issue with class-mltools-elementor-config-generator.php (#32)
See compsupp-7127
1 parent 2d852f0 commit cabd21b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

inc/class-mltools-elementor-config-generator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function get_widgets_list( $elements ) {
6060
$widgets = array();
6161

6262
foreach ( $elements as $element ) {
63-
if ( $element->elType === 'widget' ) {
63+
if ( $element->elType === 'widget' && isset( $element->settings ) && is_object( $element->settings ) ) {
6464
$widgetType = $element->widgetType;
6565
$settings = (array) get_object_vars( $element->settings );
6666

0 commit comments

Comments
 (0)