title: WP Regenerate Thumbnails Plugin: Error getting a chunk of thumbnail IDs to process.
body: <p>I have installed and activated the Regenerate Thumbnails Plugin for my Wordpress site.</p>
  
  <p>Whenever I try to regenerate the images there is an error that happens:</p>
  
  <pre><code>Regenerate Thumbnails: Error getting a chunk of thumbnail IDs to process. {readyState: 4, getResponseHeader: ƒ, getAllResponseHeaders: ƒ, setRequestHeader: ƒ, overrideMimeType: ƒ, …}abort: ƒ (a)arguments: nullcaller: nulllength: 1name: "abort"prototype: {constructor: ƒ}__proto__: ƒ ()[[FunctionLocation]]: load-scripts.php?c=1&amp;load[]=jquery-core,jquery-migrate,utils&amp;ver=4.9.6:4[[Scopes]]: Scopes[3]always: ƒ ()complete: ƒ ()done: ƒ ()error: ƒ ()fail: ƒ ()getAllResponseHeaders: ƒ ()getResponseHeader: ƒ (a)overrideMimeType: ƒ (a)pipe: ƒ ()progress: ƒ ()promise: ƒ (a)readyState: 4responseText: "load_whoops[{"id":8},{"id":24},{"id":28},{"id":43},{"id":44},{"id":45},{"id":46},{"id":47},{"id":48},{"id":611},{"id":616},{"id":617},{"id":754},{"id":755},{"id":756},{"id":757},{"id":758},{"id":759},{"id":760},{"id":761},{"id":762},{"id":763},{"id":764},{"id":765},{"id":766}]"setRequestHeader: ƒ (a,b)state: ƒ ()status: 200statusCode: ƒ (a)statusText: "OK"success: ƒ ()then: ƒ ()__proto__: Object parsererror SyntaxError: Unexpected token l in JSON at position 0
      at JSON.parse (&lt;anonymous&gt;)
      at n.parseJSON (load-scripts.php?c=1&amp;load[]=jquery-core,jquery-migrate,utils&amp;ver=4.9.6:4)
      at a.parseJSON (load-scripts.php?c=1&amp;load[]=jquery-core,jquery-migrate,utils&amp;ver=4.9.6:9)
      at Xb (load-scripts.php?c=1&amp;load[]=jquery-core,jquery-migrate,utils&amp;ver=4.9.6:4)
      at y (load-scripts.php?c=1&amp;load[]=jquery-core,jquery-migrate,utils&amp;ver=4.9.6:4)
      at XMLHttpRequest.c (load-scripts.php?c=1&amp;load[]=jquery-core,jquery-migrate,utils&amp;ver=4.9.6:4)
  build.js?ver=3.0.2:1 Regenerate Thumbnails: Error getting a chunk of thumbnail IDs to process. {readyState: 4, getResponseHeader: ƒ, getAllResponseHeaders: ƒ, setRequestHeader: ƒ, overrideMimeType: ƒ, …} parsererror SyntaxError: Unexpected token l in JSON at position 0
      at JSON.parse (&lt;anonymous&gt;)
      at n.parseJSON (load-scripts.php?c=1&amp;load[]=jquery-core,jquery-migrate,utils&amp;ver=4.9.6:4)
      at a.parseJSON (load-scripts.php?c=1&amp;load[]=jquery-core,jquery-migrate,utils&amp;ver=4.9.6:9)
      at Xb (load-scripts.php?c=1&amp;load[]=jquery-core,jquery-migrate,utils&amp;ver=4.9.6:4)
      at y (load-scripts.php?c=1&amp;load[]=jquery-core,jquery-migrate,utils&amp;ver=4.9.6:4)
      at XMLHttpRequest.c (load-scripts.php?c=1&amp;load[]=jquery-core,jquery-migrate,utils&amp;ver=4.9.6:4)
  build.js?ver=3.0.2:1 Regenerate Thumbnails: Error getting a chunk of thumbnail IDs to process. {readyState: 4, getResponseHeader: ƒ, getAllResponseHeaders: ƒ, setRequestHeader: ƒ, overrideMimeType: ƒ, …} parsererror SyntaxError: Unexpected token l in JSON at position 0
      at JSON.parse (&lt;anonymous&gt;)
      at n.parseJSON (load-scripts.php?c=1&amp;load[]=jquery-core,jquery-migrate,utils&amp;ver=4.9.6:4)
      at a.parseJSON (load-scripts.php?c=1&amp;load[]=jquery-core,jquery-migrate,utils&amp;ver=4.9.6:9)
      at Xb (load-scripts.php?c=1&amp;load[]=jquery-core,jquery-migrate,utils&amp;ver=4.9.6:4)
      at y (load-scripts.php?c=1&amp;load[]=jquery-core,jquery-migrate,utils&amp;ver=4.9.6:4)
      at XMLHttpRequest.c (load-scripts.php?c=1&amp;load[]=jquery-core,jquery-migrate,utils&amp;ver=4.9.6:4)
  </code></pre>
  
  <p>How do I fix this?</p>
  
  <p>I want to get it to work.</p>