Support » Plugin: Regenerate Thumbnails » Access to Media Library very slow after update 3
Access to Media Library very slow after update 3
Nothing to say more.
Deactivating the plugin restore a normal display time.
Is this in list or grid view? Is it faster if you switch to the other view?
Also do you mostly have images being viewed or is it other types such as videos?
I have some ideas as to what might be wrong, but I’ll need your help tracking it down if you’re up for it. 🙂
Well you’re right, it needs some details.
Both views are slow. It took so long time to load that I can’t tell you which is the slower. But I think the grid view load some media sooner than the the list view.
Most of the medias are pictures. We have one video, a .zip and a .pdf
And the library is not so large, about 264 items.
And you can have all the help I can give you !
Can you try adding the following code to your theme’s
If that fixes the issue, then try deleting one of the three
remove_lines at a time to see which of the three is actually fixing the issue.
The following one resolve the issue:
remove_filter( 'media_row_actions', array( RegenerateThumbnails(), 'add_regenerate_link_to_media_list_view' ), 10 );rahilwazir
This issue only occurs for me on PHP
v7.2but it works fine on PHP
Commenting out this line of code solved the issue in PHP
add_filter( 'attachment_fields_to_edit', array( $this, 'add_button_to_edit_media_modal_fields_area' ), 99, 2 );
- This reply was modified 5 years, 5 months ago by rahilwazir. Reason: formatting
- This reply was modified 5 years, 5 months ago by rahilwazir.
- This reply was modified 5 years, 5 months ago by rahilwazir. Reason: not sure what I'm doing
Hmm, I upgraded my local development environment to PHP 7.2.0 and tried to reproduce this but I can’t.
I dont’t think it’s related to the version of PHP. For my part, I get the issue with PHP 5.4rahilwazir
I agree with @sugardaddy, I tried to reproduce to one of my other projects which is also running under PHP 7.2 and I can’t reproduce it there.
Let me expand on my issue,
So whenever I open Media Library it just freezes there, upon investigation it was filling up my server
/tmpfolder with gigabytes of data, actually taking full space of
/tmpfolder which is
6GB. But it doesn’t stop there it continues to put the process in queue I guess, which causes my server to freeze unless I forcefully restart my
I tried disabling all the plugins except Renegerate Thumbnails and switched to default Twenty Seventeen theme this issue still persists. So not a plugin conflict or theme issue.
My LEMP setup: https://drive.google.com/file/d/1U5VwxAJXethJQY6n_Vwx37eETPdJFrhd/view?usp=sharing
I have also tested without
Xdebug, issue persists..
- This reply was modified 5 years, 5 months ago by rahilwazir. Reason: add server config
Thanks @rahilwazir! That gave me an idea. Can you guys try this version of the plugin to see if it solves the issue?
https://raw.githubusercontent.com/Viper007Bond/regenerate-thumbnails/try/image-editor-choose/regenerate-thumbnails.phpThread Starter sugardaddy
Sorry for being so long to answer.
I upgraded to 3.0.1 and it doesn’t do anything.
I used your file and it’s ok to me.Plugin Contributor Alex Mills
Excellent. Thanks for testing. The fix will be included in the next release.Thread Starter sugardaddy
Thanks to you ! Great support !
- The topic ‘Access to Media Library very slow after update 3’ is closed to new replies.