• Resolved actopix

    (@actopix)


    Hi,

    I noticed an error when using Display Conditions on the builder, in some cases it shows this error on frontend :

    Fatal error: Uncaught Exception: DateTimeZone::__construct(): Unknown or bad timezone () in /wp-content/plugins/premium-addons-for-elementor/includes/helper-functions.php:776 Stack trace: #0 /wp-content/plugins/premium-addons-for-elementor/includes/helper-functions.php(776): DateTimeZone->__construct(”) #1 /wp-content/plugins/premium-addons-for-elementor/includes/pa-display-conditions/conditions/date-range.php(74): PremiumAddons\Includes\Helper_Functions::get_local_time(‘d-m-Y’) #2 /wp-content/plugins/premium-addons-for-elementor/includes/pa-display-conditions/pa-controls-handler.php(329): PremiumAddons\Includes\PA_Display_Conditions\Conditions\Date_Range->compare_value(Array, ‘is’, ‘2024-04-12 to 2…’, ”, ‘local’) #3 /wp-content/plugins/premium-addons-for-elementor/includes/pa-display-conditions/pa-controls-handler.php(281): PremiumAddons\Includes\PA_Controls_Handler->store_condition_results(Array, ‘5bc6dbb’, Array) in?/wp-content/plugins/premium-addons-for-elementor/includes/helper-functions.php?on line?776

    It shows when I use Display Conditions with Time Range on a module.

    Is there any way to fix it ?

    Regards

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • leap13support

    (@leap13support)

    Hi there,
    It seems the issue is caused by an invalid local timezone value. so could you please navigate to your Theme File Editor -> functions.php file and add this line at the end
    phpinfo();?as we need to check your local and default timezone to help us debug the error.
    Also please confirm that this issue shows up when you use the Time Range condition as the error stack above shows that the error is coming from the Date Range condition.
    Regards

    Thread Starter actopix

    (@actopix)

    Hi,

    Here is the phpinfo content :

    https://equilibriumconcept.com/dev/

    Regards

    Hi there,

    Please download and install this version on your site and let me know if everything is working fine from your end now.

    Thanks

    Thread Starter actopix

    (@actopix)

    Hi Leap13,

    Yes it works fine on my end with this version !

    Thank you very much

    Great, so glad to hear that.
    You can’t imagine how much we would appreciate rating Premium Addons for Elementor plugin from?here.
    Regards.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error DateTimeZone when using Display Conditions’ is closed to new replies.