Title: Cannot decode JSON
Last modified: April 10, 2022

---

# Cannot decode JSON

 *  Resolved [panon](https://wordpress.org/support/users/panon/)
 * (@panon)
 * [4 years ago](https://wordpress.org/support/topic/cannot-decode-json/)
 * I am getting the following error when i am trying to run the profiler
 * Cannot decode JSON-encode file (CODE_PROFILER_TMP_IOSTATS_LOG)
    -  This topic was modified 4 years ago by [panon](https://wordpress.org/support/users/panon/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [bruandet](https://wordpress.org/support/users/bruandet/)
 * (@bruandet)
 * [4 years ago](https://wordpress.org/support/topic/cannot-decode-json/#post-15546759)
 * The data generated by the profiler seems corrupted or empty.
    Can you enable 
   debugging in WordPress and see if there’s anything written to the PHP error log?
 * 1. Edit your wp-config.php script.
    2. Search for: `define('WP_DEBUG', false);`
   3. Replace with: `define('WP_DEBUG', true);` 4. Add this line below: `define('
   WP_DEBUG_LOG', true );`
 * Try to run the profiler, then check the log that will be saved to “/wp-content/
   debug.log”.

Viewing 1 replies (of 1 total)

The topic ‘Cannot decode JSON’ is closed to new replies.

 * ![](https://ps.w.org/code-profiler/assets/icon-256x256.png?rev=3143506)
 * [Code Profiler - WordPress Performance Profiling and Debugging Made Easy](https://wordpress.org/plugins/code-profiler/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/code-profiler/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/code-profiler/)
 * [Active Topics](https://wordpress.org/support/plugin/code-profiler/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/code-profiler/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/code-profiler/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [bruandet](https://wordpress.org/support/users/bruandet/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/cannot-decode-json/#post-15546759)
 * Status: resolved