• Resolved Greg Marshall

    (@timeassistant)


    Hi all

    There seems to be a bug with the media library. When using the “grid view” I am recently finding that I am getting infinite ajax loops in the console.

    Instead of loading then next set of images / thumbs as you scroll the page there just seems to be another ajax requests every second. My admin backend has made 760 requests in less than 5 min.

    I have disabled all plugins and tried using 2017 and 2015 themes, I have changed PHP version and cleared out the htaccess (all suggestions I could find online)

    I have also reinstalled wordpress via update core page.

    Aside from this site that keeps doing it it is not something I have been able to replicate. The site in question was actually a new site which the content of another was imported (I did this via the wordpress native import/export options) This site is essentially a dev version of a live site.

    Anyone got some insight into this please?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Sorry I can’t help, I’m just bumping this because I’m having the same issue….

    This sounds like the best way forward is to start fresh. Install a completely fresh version of WP and test the media library… that will rule out or expose server/hosting related issues.

    Then import your data and test. It is probably something in the import file/s. Test again after import.

    See how you go with that.

    Thread Starter Greg Marshall

    (@timeassistant)

    Thanks, I’ll need to transfer my changes over to the live site first so that will probably take some time before I can recreate the dev site and fix the issues

    It intrigues me when these things happen, the reason I created the dev clone was because the live site started having issues so I decided to create a brand new install with fresh theme, plugins and core files and then just import the content and now I have a whole brand new issue….

    I’ll post back when I get a chance to copy my changes over (manually) to the new site and recreate the dev clone and see if it still happens

    Thread Starter Greg Marshall

    (@timeassistant)

    Ok I think I worked it out.

    Instead of uploading the media bit at a time via the uploader I was copying them to the folder (via ssh) then using a plugin to add to library. Which was fine, the actual problem seems to be from exporting and importing my sliders from my two slider plugins, even though their images originally came from the library, when imported they created their own folders in the uploads folder and put their images there (clever I guess in case my new import location didn’t have the same library set up)

    Anyway I removed the 2 folders from the slider plugins and that seems to have fixed it. I still had the media in my library so I did a mix of search and replace and using the image picker to set the correct images.

    So in short, removing the additional plugin folders from uploads fixed it for me. IF anyone wants to try the same backup your files first! Some plugins legitimately need folders in the uploads directory. So take a copy before deleting

    @benbodhi thanks for your suggestion on the import files it put me in the right direction!

    @timeassistant glad you worked it out, thanks for the update 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Media library grid view infinitely loading’ is closed to new replies.