Notice: Undefined index: Zumpito_event_full_day in /home2/michael/public_html/domainname.com/wp-content/themes/themename/included/main.php on line 246
Warning: Cannot modify header information - headers already sent by (output started at /home2/michael/public_html/domain.com/wp-content/themes/themename/included/main.php:246) in/home2/michael/public_html/domainname.com/wp-admin/post.php on line 197
Warning: Cannot modify header information - headers already sent by (output started at /home2/michael/public_html/domainname.com/wp-content/themes/themename/included/main.php:246) in/home2/michael/public_html/domainname.com/wp-includes/pluggable.php on line 1228
The Code on Line#246 is this -
$arr['Zumpito_event_full_day'] = ( $_POST['Zumpito_event_full_day'] ) ? esc_attr( $_POST['Zumpito_event_full_day]) : '';
Actually to an extent I found the solution here - https://wordpress.org/support/topic/errors-notice-undefined-index-and-cannot-modify-header?replies=5
But i am a beginner so could not implement it in my case. Can some one specifically guide me how should I use Isset function in my case Here.