Title: Undefined array key &#8220;gotowebinar_enable_timezone_conversion&#8221;
Last modified: January 15, 2022

---

# Undefined array key “gotowebinar_enable_timezone_conversion”

 *  Resolved [PixelPrinzip](https://wordpress.org/support/users/pixelprinzip/)
 * (@pixelprinzip)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/undefined-array-key-gotowebinar_enable_timezone_conversion/)
 * Hello,
    I currently receive the following error on my webinar registration page:
 * `Warning: Undefined array key "gotowebinar_enable_timezone_conversion" in /var/
   www/vhosts/pjmueller.de/beta.geldhochschule.de/wp-content/plugins/wp-gotowebinar/
   inc/shortcode-registration.php on line 224`
 * I guess the problem is PHP 8.0, but I am not 100% sure.
 *     ```
       PHP Version: 8.0.14
       Wordpress Version: 5.8.3
       Plugin Version: 14.30
       Current Theme: PJM
       Application Used: Own Application
       Active Plugins:
       Advanced Custom Fields PRO
       Advanced Custom Fields
       Bulk remove posts from category
       Contact Form 7
       DigiMember 3
       Favorites
       GamiPress - Button
       GamiPress - Link
       GamiPress
       Geldhochschule Custom Plugin
       LuckyWP Table of Contents
       WP OAuth Server - CE
       SearchWP Live Ajax Search
       SearchWP
       WP Fastest Cache
       WP GoToWebinar
       WPComplete
       ```
   

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

 *  Plugin Author [Northern Beaches Websites](https://wordpress.org/support/users/northernbeacheswebsites/)
 * (@northernbeacheswebsites)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/undefined-array-key-gotowebinar_enable_timezone_conversion/#post-15258252)
 * Hi [@pixelprinzip](https://wordpress.org/support/users/pixelprinzip/),
 * I will release a fix for this in the next version. In the mean time you can change
   that code to include an additional check like so:
 *     ```
       if(array_key_exists('gotowebinar_enable_timezone_conversion',$options)){
                       if($options['gotowebinar_enable_timezone_conversion'] == 1){
                           $html .= '<p><a class="timezone-convert-link-registration">'.__( 'Convert to my timezone', 'wp-gotowebinar' ).'</a></p>';
                           $html .= '<span id="timezone_error_message" style="display:none;">';
   
                           if(isset($options['gotowebinar_timezone_error_message']) && strlen($options['gotowebinar_timezone_error_message'])>0){
                               $html .= $options['gotowebinar_timezone_error_message'];     
                           } else {   
                               $html .= 'Sorry, your location could not be determined.';
                           }
                           $html .= '</span>';     
                       }
                   }
       ```
   
 * Or alternatively you can just turn off PHP show errors in your wp-config or hosting
   configuration. The error itself is non-consequential, that is, apart from the
   visual display it doesn’t actually affect anything. Thanks,
 *  Thread Starter [PixelPrinzip](https://wordpress.org/support/users/pixelprinzip/)
 * (@pixelprinzip)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/undefined-array-key-gotowebinar_enable_timezone_conversion/#post-15404021)
 * Amazing!
    Thank you very much
 *  Plugin Author [Northern Beaches Websites](https://wordpress.org/support/users/northernbeacheswebsites/)
 * (@northernbeacheswebsites)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/undefined-array-key-gotowebinar_enable_timezone_conversion/#post-15409376)
 * No worries 🙂

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

The topic ‘Undefined array key “gotowebinar_enable_timezone_conversion”’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [Northern Beaches Websites](https://wordpress.org/support/users/northernbeacheswebsites/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/undefined-array-key-gotowebinar_enable_timezone_conversion/#post-15409376)
 * Status: resolved