Title: Undefined variable: webinar_timezone
Last modified: June 22, 2020

---

# Undefined variable: webinar_timezone

 *  Resolved [pilinski](https://wordpress.org/support/users/pilinski/)
 * (@pilinski)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/undefined-variable-webinar_timezone/)
 * 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](https://plugintests.com/plugins/wp-gotowebinar/latest)
 * Any idea, how to fix it?
 * Kind regards,
    Maciej
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fundefined-variable-webinar_timezone%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Northern Beaches Websites](https://wordpress.org/support/users/northernbeacheswebsites/)
 * (@northernbeacheswebsites)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/undefined-variable-webinar_timezone/#post-13021876)
 * Hi [@pilinski](https://wordpress.org/support/users/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](https://wordpress.org/support/users/pilinski/)
 * (@pilinski)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/undefined-variable-webinar_timezone/#post-13026907)
 * 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.

 * ![](https://ps.w.org/wp-gotowebinar/assets/icon.svg?rev=2182596)
 * [WP GoToWebinar](https://wordpress.org/plugins/wp-gotowebinar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-gotowebinar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-gotowebinar/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-gotowebinar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-gotowebinar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-gotowebinar/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [pilinski](https://wordpress.org/support/users/pilinski/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/undefined-variable-webinar_timezone/#post-13026907)
 * Status: resolved