• Resolved PixelPrinzip

    (@pixelprinzip)


    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

    (@northernbeacheswebsites)

    Hi @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

    (@pixelprinzip)

    Amazing!
    Thank you very much

    Plugin Author Northern Beaches Websites

    (@northernbeacheswebsites)

    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.