Title: PHP7 not supported?
Last modified: February 6, 2018

---

# PHP7 not supported?

 *  Resolved [s0what](https://wordpress.org/support/users/s0what/)
 * (@s0what)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/php7-not-supported-2/)
 * Hi!
 * I just migrated my server to PHP7 and after activating any plugins, I get this
   error:
 * `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/ana/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/ana/wp-content/
   plugins/all-in-one-event-calendar/lib/exception/handler.php on line 191`

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

 *  [Sunny Lal](https://wordpress.org/support/users/sunny454/)
 * (@sunny454)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/php7-not-supported-2/#post-9950324)
 * Hi [@s0what](https://wordpress.org/support/users/s0what/),
 * Our plugin should work with versions of PHP upto 7.0 at the moment. Version 7.1
   or above seems unstable and has caused various issues. Our development team is
   working on a fix for the next release. Please confirm the exact version you are
   using. I recommend switching down if you are unable to find the cause of the 
   problem.
 *  Thread Starter [s0what](https://wordpress.org/support/users/s0what/)
 * (@s0what)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/php7-not-supported-2/#post-9951672)
 * hi [@sunny454](https://wordpress.org/support/users/sunny454/)
 * I am using php 7.1 and plugin version 2.5.28.
 * I was able to temporary resolve issue by removing type hint from wp-content/plugins/
   all-in-one-event-calendar/lib/exception/handler.php:191
 *  Thread Starter [s0what](https://wordpress.org/support/users/s0what/)
 * (@s0what)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/php7-not-supported-2/#post-9952382)
 * I made a pull request [https://github.com/thenly/all-in-one-event-calendar/pull/1312](https://github.com/thenly/all-in-one-event-calendar/pull/1312)
    -  This reply was modified 8 years, 4 months ago by [s0what](https://wordpress.org/support/users/s0what/).
 *  [Sunny Lal](https://wordpress.org/support/users/sunny454/)
 * (@sunny454)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/php7-not-supported-2/#post-9953735)
 * Hi [@s0what](https://wordpress.org/support/users/s0what/),
 * Thankyou for providing the solution.

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

The topic ‘PHP7 not supported?’ 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/)

## Tags

 * [PHP7](https://wordpress.org/support/topic-tag/php7/)

 * 4 replies
 * 2 participants
 * Last reply from: [Sunny Lal](https://wordpress.org/support/users/sunny454/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/php7-not-supported-2/#post-9953735)
 * Status: resolved