Title: Timezone on Null error
Last modified: February 26, 2024

---

# Timezone on Null error

 *  [trouille2](https://wordpress.org/support/users/trouille2/)
 * (@trouille2)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/timezone-on-null-error/)
 * Hello, I’m interested to test your plugin, after installation and having created
   an event, when I want to view that event, it gets me a fatal error beginning 
   with : **Warning**: Attempt to read property “timezone” on null in **…/plugins/
   simple-wp-events/includes/wp-events-global-functions.php** on line **776**
 * Fatal error: Uncaught Exception: DateTimeZone::__construct(): Unknown or bad 
   timezone () in …/plugins/simple-wp-events/public/templates/single-wp_events.php:
   61 Stack trace: #0 …/plugins/simple-wp-events/public/templates/single-wp_events.
   php(61): DateTimeZone->__construct(”) #1 …/wp-includes/template-loader.php(106):
   include(‘…’) #2 …/wp-blog-header.php(19): require_once(‘/home/clients/e…’) #3…/
   index.php(17): require(‘…’) #4 {main} thrown in …/plugins/simple-wp-events/public/
   templates/single-wp_events.php on line 61
 * Can you tell me what to do?
 * Best regards,
 * Christophe

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Noor ul ain Shuja](https://wordpress.org/support/users/noorshuja/)
 * (@noorshuja)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/timezone-on-null-error/#post-17466426)
 * Hi Christophe,
 * Thank you for pointing that out. It seems that the plugin was unable to find 
   your IP address to determine your location and had no fallback default condition
   hence generating the error.
 * Can you please make sure that you are connected to a network while testing?
 * Alternatively, We have released a new update which might fix this problem. Can
   you please update the plugin and let us know if the issue is resolved?
 * Regards,
 * The Simple WP Events Team

Viewing 1 replies (of 1 total)

The topic ‘Timezone on Null error’ is closed to new replies.

 * ![](https://ps.w.org/simple-wp-events/assets/icon-256x256.png?rev=2780685)
 * [Simple WP Events](https://wordpress.org/plugins/simple-wp-events/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-wp-events/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-wp-events/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-wp-events/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-wp-events/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-wp-events/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Noor ul ain Shuja](https://wordpress.org/support/users/noorshuja/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/timezone-on-null-error/#post-17466426)
 * Status: not resolved