Conditional Display PHP Errors
-
Using conditional display within the plugin but constantly seeing php errors that end up causing the site not to load for specific customers who run into these errors:
Uncaught Exception: DateTimeZone::__construct(): Unknown or bad timezone () in XXXXXXXX/public_html/wp-content/plugins/premium-addons-for-elementor/includes/helper-functions.php:826
We have confirmed our timezones on the server are properly set in the OS and PHP, and tracing the error back it appears to be related to how the plugin uses cookie variable and/or IP to try and determine the users local timezone.
Anyone else run into this? Feels like if the plugin cannot determine local timezone there should be a fall back and not an uncaught exception.
- You must be logged in to reply to this topic.