Title: Ai1ec_Exception_Handler::handle_error()
Last modified: August 22, 2016

---

# Ai1ec_Exception_Handler::handle_error()

 *  Resolved [murphy.wong](https://wordpress.org/support/users/murphywong/)
 * (@murphywong)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/ai1ec_exception_handlerhandle_error/)
 * For unknown reason, after upgrading the WordPress to 4.0 and the All-in-one event
   calendar to version 2.1.5, the error message “Warning: Missing argument 5 for
   Ai1ec_Exception_Handler::handle_error() in /home/wordpress/wp-content/plugins/
   all-in-one-event-calendar/lib/exception/handler.php on line 260” show up on my
   screen. I’ve tried the solution at [https://time.ly/forums/topic/unable-to-display-event-content/](https://time.ly/forums/topic/unable-to-display-event-content/)(
   dated August 6, 2014 at 4:54 am posted by Benjamin) but the problem is still 
   there.
 * Do you know how to make this error away? Thanks.
 * [https://wordpress.org/plugins/all-in-one-event-calendar/](https://wordpress.org/plugins/all-in-one-event-calendar/)

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

 *  [Nicola Peluchetti](https://wordpress.org/support/users/nicolapeluchetti/)
 * (@nicolapeluchetti)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/ai1ec_exception_handlerhandle_error/#post-5455733)
 * What version of PHP are you running?
 *  [Nicola Peluchetti](https://wordpress.org/support/users/nicolapeluchetti/)
 * (@nicolapeluchetti)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/ai1ec_exception_handlerhandle_error/#post-5455734)
 * And what version of the calendar are you running?
 *  Thread Starter [murphy.wong](https://wordpress.org/support/users/murphywong/)
 * (@murphywong)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/ai1ec_exception_handlerhandle_error/#post-5455735)
 * I’m using the “All-in-One Event Calendar by Timely” plugin Version 1.10.5. When
   I upgrade the version to 2.1.5, the error will display. My PHP is version 5.5.7.
   I recovered the upgrade and keep the “All-in-One Event Calendar by Timely” plugin
   at version 1.10.5 to avoid the problem but my WordPress core is in version 4.0.
   I’m not so sure whether it is a problem of another plugin WPML Multilingual CMS”
   plugin and the Jupiter theme we installed. However, I’ve already tried upgrading
   the related tools and now everything seem fine except the “All-in-One Event Calendar”.
 *  [Nicola Peluchetti](https://wordpress.org/support/users/nicolapeluchetti/)
 * (@nicolapeluchetti)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/ai1ec_exception_handlerhandle_error/#post-5455736)
 * ok then, find /home/wordpress/wp-content/plugins/all-in-one-event-calendar/lib/
   exception/handler.php on line 26o and change
 *     ```
       public function handle_error(
       		$errno,
       		$errstr,
       		$errfile,
       		$errline,
       		$errcontext
       	) {
       ```
   
 * to
 *     ```
       public function handle_error(
       		$errno,
       		$errstr,
       		$errfile,
       		$errline,
       		$errcontext = array()
       	) {
       ```
   
 * this should fix the error or at least give us more info
 *  Thread Starter [murphy.wong](https://wordpress.org/support/users/murphywong/)
 * (@murphywong)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/ai1ec_exception_handlerhandle_error/#post-5455737)
 * Thanks, this fixed the error and the display is normal now. My wordpress site
   is now patched to the latest version. Thanks a lot.

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

The topic ‘Ai1ec_Exception_Handler::handle_error()’ 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
 * 2 participants
 * Last reply from: [murphy.wong](https://wordpress.org/support/users/murphywong/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/ai1ec_exception_handlerhandle_error/#post-5455737)
 * Status: resolved