diff --git a/includes/compatibility/elementor/class-pmpro-elementor-content-restriction.php b/includes/compatibility/elementor/class-pmpro-elementor-content-restriction.php index eeff5ea8c9..40832c2abf 100644 --- a/includes/compatibility/elementor/class-pmpro-elementor-content-restriction.php +++ b/includes/compatibility/elementor/class-pmpro-elementor-content-restriction.php @@ -119,7 +119,7 @@ public function pmpro_elementor_has_access( $element ) { $element_settings = $element->get_active_settings(); - $restricted_levels = $element_settings['pmpro_require_membership']; + $restricted_levels = empty( $element_settings['pmpro_require_membership'] ) ? array() : $element_settings['pmpro_require_membership']; // Just bail if the content isn't restricted at all. if ( ! $restricted_levels ) {