Title: PHP Fatal error: Uncaught TypeError
Last modified: September 5, 2017

---

# PHP Fatal error: Uncaught TypeError

 *  Resolved [Andreas Böttger](https://wordpress.org/support/users/rztab/)
 * (@rztab)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-typeerror/)
 * No CSS files are generated.
 *     ```
       PHP Fatal error:  Uncaught TypeError: Argument 1 passed to Ai1ec_Exception_Handler::handle_exception() must be an instance of Exception, instance of Error given in /var/www/html/zll/wp-content/plugins/all-in-one-event-calendar/lib/exception/handler.php:191
       Stack trace:
       #0 [internal function]: Ai1ec_Exception_Handler->handle_exception(Object(Error))
       #1 {main}
         thrown in /var/www/html/zll/wp-content/plugins/all-in-one-event-calendar/lib/exception/handler.php on line 191
       Fatal error: Uncaught TypeError: Argument 1 passed to Ai1ec_Exception_Handler::handle_exception() must be an instance of Exception, instance of Error given in /var/www/html/zll/wp-content/plugins/all-in-one-event-calendar/lib/exception/handler.php:191
       Stack trace:
       #0 [internal function]: Ai1ec_Exception_Handler->handle_exception(Object(Error))
       #1 {main}
         thrown in /var/www/html/zll/wp-content/plugins/all-in-one-event-calendar/lib/exception/handler.php on line 191
       ```
   
    -  This topic was modified 8 years, 8 months ago by [Andreas Böttger](https://wordpress.org/support/users/rztab/).

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

 *  [Sunny Lal](https://wordpress.org/support/users/sunny454/)
 * (@sunny454)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-typeerror/#post-9470529)
 * Hi [@rztab](https://wordpress.org/support/users/rztab/),
 * Be sure that your WordPress installation and all our core calendar plugin is 
   up-to-date, and if not update them under Plugins.
 * If the error still occurs, if your host is running PHP version 7+ you can try
   having your host revert back to PHP versin 5.6 which is apparently more stable
   and causes a lot fewer problems.
 *  Thread Starter [Andreas Böttger](https://wordpress.org/support/users/rztab/)
 * (@rztab)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-typeerror/#post-9471394)
 * Hi [@sunny454](https://wordpress.org/support/users/sunny454/), a single site 
   installation with the same PHP version makes no problems. The problem occurs 
   in a multi-site installation.
    And all plugins are uptodate
    -  This reply was modified 8 years, 8 months ago by [Andreas Böttger](https://wordpress.org/support/users/rztab/).
 *  [Sunny Lal](https://wordpress.org/support/users/sunny454/)
 * (@sunny454)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-typeerror/#post-9473656)
 * [@rztab](https://wordpress.org/support/users/rztab/):
 * Thanks for the info. There was a bug with multi-site installations but it was
   fixed a few releases ago. This problem could be a result of a plugin or theme
   conflict (usually caused by a caching or security plugin).. Please try a different
   theme temporarily such as Twenty Seventeen, or, disable all plugins and then 
   check if the problem recurrs — then re-enable each one until you find which one
   caused the problem. Let me know the results.
 *  [sallymoos](https://wordpress.org/support/users/sallymoos/)
 * (@sallymoos)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-typeerror/#post-9552586)
 * Hi,
 * I’m having this same error when I switch to PHP5.6 from PHP7.
 * The site loads OK at PHP7 but I can’t get into wp-admin as it throws a 500 error.
   Switching back to PHP5.6 gets it working again.
 * I’ve don’t have any caching or security plugins running. Deactivating all plugins
   still causes wp-admin to 500 error. Is there any reason why the latest version(
   2.5.26) doesn’t fix this?
 *  [Sunny Lal](https://wordpress.org/support/users/sunny454/)
 * (@sunny454)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-typeerror/#post-9552830)
 * Hi [@sallymoos](https://wordpress.org/support/users/sallymoos/),
 * Unfortunately, I don’t know why this fixes the problem. This is a arbitrary compatibility
   issue that PHP 7+ has had on some websites. But there is no specific information
   as to why this latest version (7+) breaks operation of some functions or spits
   errors. In your case, it looks like it is breaking your WordPress dashboard administration.
   Suffice it to say that it is unstable.

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

The topic ‘PHP Fatal error: Uncaught TypeError’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/all-in-one-event-calendar.svg)
 * [Timely All-in-One Events Calendar](https://wordpress.org/plugins/all-in-one-event-calendar/)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-event-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-event-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-event-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-event-calendar/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Sunny Lal](https://wordpress.org/support/users/sunny454/)
 * Last activity: [8 years, 7 months ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-typeerror/#post-9552830)
 * Status: resolved