WordPress always assigns this numbering if a file with exactly the same name already exists. Have you ever verified this?
Unfortunately I can’t see your video because of access protection.
Thank you for your input @threadi
I actually just made a whole new video where I make a fresh installation of WordPress 6.2 and replicate the issue of the duplicated images here:
https://files.fm/u/5ea4au22b
I can’t recreate this on my test like this. However, I have also not activated LiteSpeed plugin already after installation. Can you do it again without that?
If it happens even then, your PHP settings would be interesting. And what kind of environment are you working in anyway? Don’t know this view at all.
@impressao3d i’m experiencing the same, the issue is runcloud or litespeed related (i’m also using both). Can confirm what @threadi said, can’t replicate on a freshly installed WP 6.2 on nginx. But it’s not related to the Litespeed plugin, it also happens with that turned off.
Awesome to know that we are narrowing this down. Indeed Runcloud and the Litespeed technology seem to be the only common denominators at this point. I don’t currently have access to another type of host so I am very glad you could chime in @cptjump and thank you very much @threadi for your help in troubleshooting this so far.
I have already just contacted Runcloud support with all this info, see if they can shine some light on this.
@impressao3d I’ve also reached out to Runcloud but they’re supposing the issue is on the WordPress side. I’m not really sure about that, maybe something litespeed related?
I am still going through it with the Runcloud team.
I have made some several videos of me creating a brand new, fresh runcloud WordPress installation and uploading images to it and replicating the issue of duplicated uploaded images on the WordPress media library.
I tried clearing caches, using different browsers, incognito mode, also using entirely different computers, trying to use different internet connections, and in all of them the issue is replicated, however the latest update from Runcloud is that they are not able to replicate it on their side, but I believe they are not trying with enough images.
Hey @impressao3d, I’ve given up trying to “debug” this with RunCloud since I had no luck.
I’m trying with LiteSpeed team, they can reproduce the issue on my site (running on Upcloud server via RunCloud) but not on their sites.
It appears the issue is server / configuration related and has something to do with the new set_imagick_time_limit() function added with 6.2 (commenting out that, stops the issue) -> https://core.trac.wordpress.org/ticket/52569
I really appreciate the update @cptjump
I have sent this info over to Runcloud support as well as we are still exchanging tickets.
I sure am greatful I found you with the same issue because at this point I am really not sure what else I can do to help.
I admit I don’t really get who/where exactly is the fault, if is it WordPress core related because of that new function or Runcloud related because of the server configuration.
Having this issue happening on all my sites has been a hair pulling nightmare, especially justifying to my clients or superiors why is this happening and them assuming it’s somehow my fault :P.
If there is anything I can do to help, some place else I can also manifest this issue just let me know, and please do keep me updated with your findings!
Thank you so much for your updates so far.
-
This reply was modified 2 years, 2 months ago by
impressao3d.
I have the same problem. WordPress 6.2 duplicates the images in Media library. The site I’m developing is on my local environment, I’m using Open Server. Everything was fine in previous version of WordPress.