{"action":"opened","issue":{"url":"https://api.github.com/repos/reduxframework/redux-framework/issues/2257","labels_url":"https://api.github.com/repos/reduxframework/redux-framework/issues/2257/labels{/name}","comments_url":"https://api.github.com/repos/reduxframework/redux-framework/issues/2257/comments","events_url":"https://api.github.com/repos/reduxframework/redux-framework/issues/2257/events","html_url":"https://github.com/reduxframework/redux-framework/issues/2257","id":70150908,"number":2257,"title":"multi-text Undefined index if no value in array","user":{"login":"HandyWP","id":12058499,"avatar_url":"https://avatars.githubusercontent.com/u/12058499?v=3","gravatar_id":"","url":"https://api.github.com/users/HandyWP","html_url":"https://github.com/HandyWP","followers_url":"https://api.github.com/users/HandyWP/followers","following_url":"https://api.github.com/users/HandyWP/following{/other_user}","gists_url":"https://api.github.com/users/HandyWP/gists{/gist_id}","starred_url":"https://api.github.com/users/HandyWP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HandyWP/subscriptions","organizations_url":"https://api.github.com/users/HandyWP/orgs","repos_url":"https://api.github.com/users/HandyWP/repos","events_url":"https://api.github.com/users/HandyWP/events{/privacy}","received_events_url":"https://api.github.com/users/HandyWP/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-22T14:55:36Z","updated_at":"2015-04-22T14:55:36Z","closed_at":null,"body":"Hello,\r\n\r\nI have created this field:\r\n\r\n                    array(\r\n                        'id'=>'custom-sidebars',\r\n                        'type' => 'multi_text',\r\n                        'title' => __('Custom Sidebars', 'redux-framework-demo'),\r\n                        'validate' => 'no_special_chars',\r\n                        'show_empty' => false,\r\n                        'subtitle' => __('Add unlimited custom sidebars to use in your website', 'redux-framework-demo'),\r\n                        'desc' => __('Click on Add More to add the widget. If you want to remove sidebars, click remove next to the text field.', 'redux-framework-demo')\r\n                    )\r\n\r\nfor making custom sidebars and this is the code in a file called widgets.php located in a folder called framework:\r\n\r\n\tglobal $handy_wp;\r\n\t$sidebars = $handy_wp['custom-sidebars'];\r\n\tif($sidebars){\r\n\t\tforeach ($sidebars as $sidebar){\r\n\t\t\tregister_sidebar( array(\r\n\t\t\t\t'name' => $sidebar,\r\n\t\t\t\t'id' => sanitize_title($sidebar),\r\n\t\t\t\t'before_widget' => $sidebar,\r\n\t\t\t\t'after_widget' => $after_widget,\r\n\t\t\t\t'before_title' => $before_title,\r\n\t\t\t\t'after_title' => $after_title,\r\n\t\t\t) );\r\n\t\t}\r\n\t}\r\n\r\nIt appears in options without any problem but there is an error message appear on the top of the admin panel:\r\n\r\nNotice: Undefined index: custom-sidebars in C:\\MAMP\\htdocs\\76\\wp-content\\themes\\hwp\\framework\\widgets.php on line 54\r\n\r\nLine number 54 is:\r\n$sidebars = $handy_wp['custom-sidebars'];\r\n\r\nBut when I add values the error message disappear and when I delete all values the error message return.\r\n\r\nIs there a way to disable this error message if there is no value entered in the multi-text field?\r\n\r\nNotice that:\r\nDebug mode is On\r\nDeveloper mode is On\r\nRedux Version: 3.5.1"}}