• I started to notice that some of the images I would upload to the library would appear as duplicated, sometimes triplicated or even more rarely quadruplicated, each with a corresponding -1, -2, -3 in front.

    This does not happen to all of the images, every time, but I noticed that I can more consistently recreate the problem if I use .png images that are slightly large ( above 1mb )

    • I tried disabling all plugins and the issue continued.
    • So I went on some of my other totally different wordpress instalations, in diferent servers, with different plugins.
      The same issue was present, disabling all plugins there too but some ocasional images after uploading were duplicated.
      The weirdest thing is that not ALL my sites on 6.2 were doing this, but the majority are.
    • After rolling back/downgrading the sites with the issue to 6.1 the problem dissapears, no more duplicated images after uploading. (I first tried with some older version such as 5.9.5 and then slowly went up )
    • Once I re-update WordPress core to the latest 6.2, the problem of duplicated images in the media library comes back to those sites (even with all plugins off).

    Here is a video showing the issue:
    https://drive.google.com/file/d/1T6wjc0RqK3j2hngT1iCouI1_SQBYe0g1/view?usp=sharing

Viewing 10 replies - 1 through 10 (of 10 total)
  • 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.

    Thread Starter impressao3d

    (@impressao3d)

    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.

    Thread Starter impressao3d

    (@impressao3d)

    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?

    Thread Starter impressao3d

    (@impressao3d)

    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.www.ads-software.com/ticket/52569

    Thread Starter impressao3d

    (@impressao3d)

    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 1 year, 6 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.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Duplicated Images in v6.2’ is closed to new replies.