Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Felipe Santos

    (@foosantos)

    Hi there,

    I don’t see how that’s related to the theme, but looking at your issue I can recommend that you actually don’t try to delete this folder.

    I believe it is likely created because you have some attachment on the database associated with this date, but the impact looks inexistent in terms of storage or performance.

    Trying to manually change it on the database could trigger issues and tends to bring more problems than solutions.

    Thread Starter Mauro Vicariotto

    (@mrosfy)

    Hi @foosantos and thank you for your your comment. If you read my previous topic I never said that it is related to the theme! Or might be you wrote this because we are in TS area … yes, that is because I have some friends in this section and last time I commented the issue with them.

    TI think that the issue depends on an old plugin (no longer existing) that creates new folder in media libraries: it is possible to delete all empty folders except for the very first one created in wp by date and month (created before installing it): folder 2019 (year) and subfolder 6 (month).

    My reconstruction of the facts is : I started creating folders by date … then added this plugin … the plugin fixed some info in the db … then once deleted the plugin remained a trace in SQL.

    Few years ago I deleted the 70% of plugins (prefer to write my codes in functions).

    I know it is not very important, but since all my child themes are complex and sophisticated, and I always wish to have all clean, this only flaw has become a matter of fussiness, as well as worrying me that there is a bug in the db.

    I have plenty of backups of my themes and database, so I wish to try to understand what happened.

    Just I want to know where to fix the media folders in SQL (wp_options?).

    Thank you

    Mauro

    Moderator Felipe Santos

    (@foosantos)

    Hi there,

    Yes, if not related to the theme, it is generally more productive to create the topic on the other forums.

    I indeed haven’t faced something like that and am not sure of a solution. I would recommend ensuring that you don’t have plugins active on a copy/staging site and try to reproduce the issue again — whatever you do, it might be a good idea to not edit the database on the production site anyway.

    Thread Starter Mauro Vicariotto

    (@mrosfy)

    @foosantos, thanks again for the suggestion. Yes I will limit myself to make a deep clean of db to sweep transient and typos, but will not touch info. It must be a php instruction such as mkdir, but where it is written … I must patiently make a research in all remaining plugins. Will let you know, for curiosity.

    Regards.

    Thread Starter Mauro Vicariotto

    (@mrosfy)

    @foosantos, for your info I found the issue: it was a remnant of an old plugin of Katsushi Kawamori, “Extend Media Upload” (no longer existing) which was repetitively recreating a folder with the date of its first installation.

    Probably it’s connected with what I found in the web: “This plugin has been closed as of June 21, 2023 and is not available for download. This closure is permanent. Reason: Author Request.”

    Solved with a search in SQL + a deep sweep.

    Thank you for your time.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.