Support » Plugin: Regenerate Thumbnails » Rewrite Json

  • Hey!

    I have a multisite installation with some custom rewrites.
    The plugin says:
    Unable to fetch a list of attachment IDs to process from the WordPress REST API. You can check your browser's console for details.

    Console says

    Regenerate Thumbnails: Error getting the total featured images count. [object...] error Not Found
    Regenerate Thumbnails: Error getting the total attachment count. [object...] error Not Found
    Regenerate Thumbnails: Error getting a chunk of thumbnail IDs to process. [object...] error Not Found
    and so on

    If someone runs in this problem and used the rewrite rules posted here: https://codex.wordpress.org/Multisite_Network_Administration

    `RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes|json).*) wordpress/$2 [L]’
    add |json in this line.

  • You must be logged in to reply to this topic.