【问题标题】:WP Regenerate Thumbnails Plugin: Error getting a chunk of thumbnail IDs to process.WP Regenerate Thumbnails Plugin:获取要处理的缩略图 ID 块时出错。
【发布时间】:2018-07-02 07:00:54
【问题描述】:

我已经为我的 Wordpress 网站安装并激活了 Regenerate Thumbnails 插件。

每当我尝试重新生成图像时,都会发生错误:

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&load[]=jquery-core,jquery-migrate,utils&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 (<anonymous>)
    at n.parseJSON (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.9.6:4)
    at a.parseJSON (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.9.6:9)
    at Xb (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.9.6:4)
    at y (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.9.6:4)
    at XMLHttpRequest.c (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&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 (<anonymous>)
    at n.parseJSON (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.9.6:4)
    at a.parseJSON (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.9.6:9)
    at Xb (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.9.6:4)
    at y (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.9.6:4)
    at XMLHttpRequest.c (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&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 (<anonymous>)
    at n.parseJSON (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.9.6:4)
    at a.parseJSON (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.9.6:9)
    at Xb (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.9.6:4)
    at y (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.9.6:4)
    at XMLHttpRequest.c (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=4.9.6:4)

我该如何解决这个问题?

我想让它工作。

【问题讨论】:

    标签: wordpress localhost


    【解决方案1】:

    可能有点晚了,但有同样的问题。 删除 cookie 对我有用。

    【讨论】:

      【解决方案2】:

      看起来您可能启用了旧的 WP REST API 插件。由于 REST API 是 WordPress 本身的一部分,因此不再需要此插件(实际上已过时)。

      禁用并删除该插件,然后一切都会按预期工作。

      【讨论】:

      • 那是哪个特定的插件?我只安装了 9 个插件:1.) Akismet Anti-Spam 2.) Genesis Visual Hook Guide 3.) Hello Dolly 4.) podbean Shortcode 5.) 防止浏览器缓存 6.) 重新生成缩略图 7.) Starter Wordpress Plugin 8. ) Wordpress 导入器 9.) WP 字幕
      • 这是由于插件冲突,因为我以前遇到过这个问题,所以请通过一个一个停用每个插件来检查,这可能会解决问题。我因WP REST API 插件而面临发布,但您尚未使用该插件,因此可能是其他插件冲突。
      • 你是对的。是 7.) 有冲突的 Starter Wordpress 插件。这是我按照教程创建的插件...该插件不使用 REST API ....但是好吧...这就是冲突所在...
      猜你喜欢
      • 2016-12-15
      • 1970-01-01
      • 2013-05-04
      • 2013-12-22
      • 1970-01-01
      • 2015-08-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多