Title: Json error
Last modified: December 16, 2021

---

# Json error

 *  Resolved [ildomandatore](https://wordpress.org/support/users/ildomandatore/)
 * (@ildomandatore)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/json-error-39/)
 * When I save pages and posts I get a red notification with Json error written 
   on it.
 * By deactivating your plugin, I was able to save.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjson-error-39%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [ildomandatore](https://wordpress.org/support/users/ildomandatore/)
 * (@ildomandatore)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/json-error-39/#post-15175192)
 *     ```
       When seeking help with this issue, you may be asked for some of the following information:
       WordPress version 5.8.2
       Current theme: Astra Child (version 1.0.0)
       Current plugin: Code Snippets (version 2.14.2)
       PHP version 7.4.25
   
       Error Details
       =============
       An error of type E_PARSE was caused in line 2 of the file /home/smlolwcq/public_html/wp-content/plugins/code-snippets/php/admin-menus/class-edit-menu.php(221) : eval()'d code. Error message: syntax error, unexpected ':'
       ```
   
 *  Plugin Author [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * (@bungeshea)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/json-error-39/#post-15182934)
 * This is an error from one of your snippets – you have malformed PHP code. It’s
   not something I can fix in the plugin.

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

The topic ‘Json error’ 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/json-error-39/#post-15182934)
 * Status: resolved