Title: JSON Problem?
Last modified: August 30, 2016

---

# JSON Problem?

 *  [CreationP](https://wordpress.org/support/users/creationp/)
 * (@creationp)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/json-problem/)
 * Hello.
 * Yesterday I was doing some resizes fine but today when I tried to resize some
   images i got this error:
 * “Error parsing server response for POST 3622: JSON.parse: unexpected character
   at line 1 column 1 of the JSON data. Check the console for details.”
 * How can I fix that?
 * PS: On the console I got the report: “Invalid JSON Response: 
    <b>Fatal error
   </b>: Allowed memory size of 268435456 bytes exhausted (tried to allocate 14592
   bytes) in <b>/home/…/public_html/hydranews/wp-includes/class-wp-image-editor-
   gd.php</b> on line <b>311</b> ” imsanity.js:59:17
 * [https://wordpress.org/plugins/imsanity/](https://wordpress.org/plugins/imsanity/)

Viewing 1 replies (of 1 total)

 *  [Jason](https://wordpress.org/support/users/verysimple/)
 * (@verysimple)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/json-problem/#post-6208958)
 * You need to allot more memory for PHP – most likely a certain image is a bit 
   larger than the rest and is causing PHP to use a lot of memory. Here’s some info
   on how to configure memory for PHP: [http://stackoverflow.com/questions/4096582/allowed-memory-size-of-x-bytes-exhausted](http://stackoverflow.com/questions/4096582/allowed-memory-size-of-x-bytes-exhausted)

Viewing 1 replies (of 1 total)

The topic ‘JSON Problem?’ is closed to new replies.

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

 * 1 reply
 * 2 participants
 * Last reply from: [Jason](https://wordpress.org/support/users/verysimple/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/json-problem/#post-6208958)
 * Status: not resolved