Title: Error when saving code snippet
Last modified: September 12, 2017

---

# Error when saving code snippet

 *  Resolved [wanlapat](https://wordpress.org/support/users/wanlapat/)
 * (@wanlapat)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/error-when-saving-code-snippet/)
 * Hi,
 * I received below error when trying to update the code. I’m not sure why it gave
   an error about all in one event calendar. Please help.
 * Thank you,
    Wanlapa
 * Don’t Panic
 * The code snippet you are trying to save produced a fatal error on line 191:
 * Uncaught TypeError: Argument 1 passed to Ai1ec_Exception_Handler::handle_exception()
   must be an instance of Exception, instance of ParseError given in /var/www/html/
   wp-content/plugins/all-in-one-event-calendar/lib/exception/handler.php:191 Stack
   trace: #0 [internal function]: Ai1ec_Exception_Handler->handle_exception(Object(
   ParseError)) #1 {main} thrown
    The previous version of the snippet is unchanged,
   and the rest of this site should be functioning normally as before.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * (@bungeshea)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/error-when-saving-code-snippet/#post-9508257)
 * Hey Wanlapa,
 * It’s possible that this is due to the already reported error in version 2.9.3.
   I’m just about to release version 2.9.4 – could you please try it out and let
   me known whether the error is fixed?

Viewing 1 replies (of 1 total)

The topic ‘Error when saving code snippet’ is closed to new replies.

 * ![](https://ps.w.org/code-snippets/assets/icon.svg?rev=2148878)
 * [Code Snippets](https://wordpress.org/plugins/code-snippets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/code-snippets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/code-snippets/)
 * [Active Topics](https://wordpress.org/support/plugin/code-snippets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/code-snippets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/code-snippets/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/error-when-saving-code-snippet/#post-9508257)
 * Status: resolved