Title: Error while loading
Last modified: February 22, 2022

---

# Error while loading

 *  Resolved [edwindekuiper](https://wordpress.org/support/users/edwindekuiper/)
 * (@edwindekuiper)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/error-while-loading-3/)
 * Can’t show the plugin anymore.
    From one day to another, the page craches with:“
   Er heeft zich een kritieke fout voorgedaan…”
 * Just disabling the plugin recovers the page.
 *     ```
       Foutdetails
       ===========
       Een fout van het type E_ERROR werd veroorzaakt op regelnummer 581 van het bestand ....deventerschermvereniging.nl/httpdocs/www/wp-content/plugins/simple-google-icalendar-widget/includes/ical.php. Foutmelding: Uncaught Exception: DateTimeZone::__construct(): Unknown or bad timezone () in .../deventerschermvereniging.nl/httpdocs/www/wp-content/plugins/simple-google-icalendar-widget/includes/ical.php:581
       Stack trace:
       ..../deventerschermvereniging.nl/httpdocs/www/wp-content/plugins/simple-google-icalendar-widget/includes/ical.php(581): DateTimeZone->__construct()
       ..../deventerschermvereniging.nl/httpdocs/www/wp-content/plugins/simple-google-icalendar-widget/includes/ical.php(640): IcsParser->parseIanaTimezoneid()
       .../deventerschermvereniging.nl/httpdocs/www/wp-content/plugins/simple-google-icalendar-widget/includes/ical.php(210): IcsParser->parseVevent()
       .../deventerschermvereniging.nl/httpdocs/www/wp-content/plugins/simple-google-icalendar-widget/simple-google-icalendar-widget.php(137): IcsParser->parse()
       .../deventerschermvereniging.nl/httpdocs/www/wp-content/plugins/simple-google-icalendar-widget/simple-google-icalendar-widget.php(
       ```
   
    -  This topic was modified 4 years, 1 month ago by [edwindekuiper](https://wordpress.org/support/users/edwindekuiper/).
    -  This topic was modified 4 years, 1 month ago by [edwindekuiper](https://wordpress.org/support/users/edwindekuiper/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-while-loading-3%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [bramwaas](https://wordpress.org/support/users/bramwaas/)
 * (@bramwaas)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/error-while-loading-3/#post-15392718)
 * Hi Edwin,
 * Thank you for your detailed feedback.
    Sad to hear that my plugin crashes your
   site.
 * As far as I can see from the error details it is caused by an appointment with
   a timezone that is not available in my conversion table. I expect the appointment
   is made in the last hour before your site crashed. Maybe that gives you a lead
   for a workaround.
 * Anyway this should not give an unexpected error(Uncaught Exception) so I’m going
   to try to protect my code from such errors and see if my translation table of
   microsoft timezones needs to be expanded. In this way I hope to be able to present
   a new version soon in which this error no longer occurs.
 * If you want you can help me with the .ics file. I suppose you have an outlook
   agenda then you can probably download the ics file on an url like [https://outlook.live.com/owa/calendar/00000000-0000-0000-0000-000000000000/…/cid-…/calendar.ics](https://outlook.live.com/owa/calendar/00000000-0000-0000-0000-000000000000/…/cid-…/calendar.ics)
 * You can contact me via contact@ with my website domain:
    waasdorpsoekhan.nl or
   I can mail you via the secretaris email-adres on the deventer scherm vereniging
   site.
 * Kind regards
    Bram Waasdorp
 * **UPDATE**
    After some further searching, I’m convinced that the error probably
   occurs if a timezone cannot be found in the translation table and as a last resort
   the timezone of the WordPress installation is used. If this time zone is not 
   a city, but at a UTC time, eg UTC+1, it will still go wrong. If this is indeed
   the case, you can solve the error by setting the time zone to Amsterdam in the
   General settings of WordPress.
    -  This reply was modified 4 years, 1 month ago by [bramwaas](https://wordpress.org/support/users/bramwaas/).
 *  Plugin Author [bramwaas](https://wordpress.org/support/users/bramwaas/)
 * (@bramwaas)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/error-while-loading-3/#post-15396533)
 * fixed with version 1.4.1.
 * Error was caused by timezone setting in WP settings used as fallback for an empty
   or incorrect timezone.
    If a timezone offset such as UTC-1 is used there, the
   name is empty. So the fall-back time zone could not be determined from this. 
   With the wp-timezone() function this does work. So now I use that as fallback.
   This solves the error.
 * Thanks Edwin for reporting this error and helping me fix it.

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

The topic ‘Error while loading’ is closed to new replies.

 * ![](https://ps.w.org/simple-google-icalendar-widget/assets/icon-128x128.png?rev
   =2099704)
 * [Simple Google Calendar Outlook Events Widget](https://wordpress.org/plugins/simple-google-icalendar-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-google-icalendar-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-google-icalendar-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-google-icalendar-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-google-icalendar-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-google-icalendar-widget/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [bramwaas](https://wordpress.org/support/users/bramwaas/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/error-while-loading-3/#post-15396533)
 * Status: resolved