• Resolved pilinski

    (@pilinski)


    Hello,

    I have constantly the PHP notice logged into the ‘debug.log’:

    
    [22-Jun-2020 11:39:47 UTC] PHP Notice:  Undefined variable: webinar_timezone in /home/.../wp-content/plugins/wp-gotowebinar/inc/widget-options.php on line 27
    

    Ithink it was also reported here: https://plugintests.com/plugins/wp-gotowebinar/latest

    Any idea, how to fix it?

    Kind regards,
    Maciej

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Northern Beaches Websites

    (@northernbeacheswebsites)

    Hi @pilinski,

    The code looks standard, so I am not sure why you are getting this error. I will fix this in an update in the next release.

    If you want to fix now, you can change that code to the following:

    foreach($time_zone_list as $key => $value) {
                    if(isset($webinar_timezone) && $webinar_timezone == $key){
                        echo '<option value="'.$key.'" selected="selected">'.$key.'</option>';
                    } else {
                        echo '<option value="'.$key.'">'.$key.'</option>';
                    }
                }
    Thread Starter pilinski

    (@pilinski)

    Thank you!

    Kind regards,
    Maciej

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Undefined variable: webinar_timezone’ is closed to new replies.