• Resolved panon

    (@panon)


    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 2 years, 11 months ago by panon.
Viewing 1 replies (of 1 total)
  • Plugin Author bruandet

    (@bruandet)

    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.