• Resolved s0what

    (@s0what)


    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

    (@sunny454)

    Hi @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

    (@s0what)

    hi @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

    (@s0what)

    I made a pull request https://github.com/thenly/all-in-one-event-calendar/pull/1312

    • This reply was modified 7 years ago by s0what.
    Sunny Lal

    (@sunny454)

    Hi @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.