WordPress.org

Ready to get started?Download WordPress

Forums

WP Media Cleaner
[resolved] Origin ID / Filesystem (5 posts)

  1. Greybox
    Member
    Posted 7 months ago #

    In the scan report some files show Origin ID number, for example, ID 280, but some file show Origin - Filesystem. Could you explain what is the difference and what does it mean?

    http://wordpress.org/plugins/wp-media-cleaner/

  2. Jordy Meow
    Member
    Plugin Author

    Posted 7 months ago #

    When there is an ID, it means they are registered in WordPress as a media, and if you click on that ID you can access the Media page about them.

    Filesystem means it's in your WordPress upload folders but it's not present in the database as a media.

  3. Greybox
    Member
    Posted 7 months ago #

    I see. I have a lot of them! Do you have any idea why this might happen? I just want to prevent this from happening again.

  4. Jordy Meow
    Member
    Plugin Author

    Posted 7 months ago #

    Simply when you are not using them in a post but uploading them anyway.
    When there is are files on the filesystem but not in the library it's a bit more annoying, not sure why it happens. Plugins, WP reinstall/update, etc...

  5. Greybox
    Member
    Posted 7 months ago #

    In the same scan report there are two types of corresponding issues. If I understand correctly:

    Related content not found - file exists in the upload folders, is registered in the database, but not used in the contents pages.

    Related content or media not found - file exists in the upload folders, not registered in the database and not used in the contents pages.

    It is just the description is a little confusing - "content not found" doesn't identify what is the content: it could be a media file, text, a web page.

    And "media not found" sounds like the file is registered in the database, but is missing from the file system. But it is actually the other way around - the file is not found in WordPress media database, but exists in the file system. Maybe it is better to use something more descriptive like

    Related page not found.
    Related page or media DB entry not found.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.