widget-options icon indicating copy to clipboard operation
widget-options copied to clipboard

Undefined index 'settings' in widget-options\includes\widgets\display.php

Open SeanDKendle opened this issue 5 years ago • 1 comments

Undefined index: settings in ...\wp-content\plugins\widget-options\includes\widgets\display.php on line 439:

        $get_classes = widgetopts_classes_generator( $opts, $widget_options, $widget_options['settings'] );

Should check if isset($widget_options['settings']) before attempting to use, or initialize $widget_options['settings'] to null and check against that later.

Error goes away after turning on at least one setting under Plugins > Widget Options > Settings > Pages Visibility > Configure Settings


WordPress v4.9.10 PHP v5.6

SeanDKendle avatar Jun 19 '19 20:06 SeanDKendle