[Resolved] Images randomly deleted

Home Forums Support [Resolved] Images randomly deleted

Home Forums Support Images randomly deleted

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #535881
    Graham

    I am not sure if this is a theme issue, but all I have done with my site this week is to use GeneratePress in combination with Elementor. I am asking the same question over at Elementor as I am not sure whether it is a theme or plugin issue.

    Here’s what’s happening. My site looks OK and apart from design tweaks I need to make having only recently installed my new theme, it is all loading OK.

    Then, a few hours later I load my site and the front page images are missing.

    When I check the sizes being used on the front page have been deleted from the Uploads folder. The other sizes for the same images are still there.

    What could be deleting only the front page images and only the sizes used on the front page?

    This is happening every day.

    I have checked the Cron list and there is nothing there that could be doing this.

    I have done the usual switch off plugins and nothing seems to make a difference.

    I have checked my site for malware and that isn’t a problem.

    I am mystified…!

    If anyone can point me in the right direction I’d be grateful.

    #536273
    Tom
    Lead Developer
    Lead Developer

    How are the font page images added? From within Elementor?

    #536672
    Graham

    The images are the featured images for the blog posts which are shown in the posts grid widget on the front page.

    The images just keep disappearing…!

    #536778
    Tom
    Lead Developer
    Lead Developer

    Is the featured image still set when you open the actual post? Or is it gone altogether?

    #536810
    Graham

    The featured image is still set. The actual file is deleted from the server. However, all other sizes of the image remain on the server. Only the size used by the featured image is removed.

    #537167
    Tom
    Lead Developer
    Lead Developer

    That’s weird. You must have some sort of server issue going on, or maybe a plugin which is causing it?

    #661613
    Nick

    I’m having the same issue with featured images getting deleted.

    It seems to impact posts that are a few months old, and only the original image gets deleted; the other sizes WordPress creates are still there.

    Did you ever get this resolved, Graham?

    #661746
    Tom
    Lead Developer
    Lead Developer

    A function would have to run to actually delete an image from your server.

    My best guess would be a plugin you’re using with a cron event.

    #661877
    Graham

    In my original post, I said I had checked for cron events but there were none that were deleting images or changing images in any way.

    However, the problem has gone away and I have done nothing….!

    So, I imagine that the issue disappeared when something – a plugin or theme – got updated. But as the issue was still present with all plugins switched off, I can’t see how that happened either…!

    #1920759
    Neil

    Happening to me also. Here’s the list of plugins and whatnot on my site Ill check the cron jobs here in a bit.

    `

    ### wp-core ###

    version: 5.8
    site_language: en_US
    user_language: en_US
    timezone: +00:00
    permalink: /%postname%/
    https_status: true
    multisite: false
    user_registration: 1
    blog_public: 1
    default_comment_status: open
    environment_type: production
    user_count: 1
    dotorg_communication: true

    ### wp-paths-sizes ###

    wordpress_path: /home/sailstock.deviatedsystems.com/public_html
    wordpress_size: 43.68 MB (45799462 bytes)
    uploads_path: /home/sailstock.deviatedsystems.com/public_html/wp-content/uploads
    uploads_size: 10.93 MB (11458944 bytes)
    themes_path: /home/sailstock.deviatedsystems.com/public_html/wp-content/themes
    themes_size: 4.82 MB (5050870 bytes)
    plugins_path: /home/sailstock.deviatedsystems.com/public_html/wp-content/plugins
    plugins_size: 116.31 MB (121955851 bytes)
    database_size: 19.67 MB (20627456 bytes)
    total_size: 195.40 MB (204892583 bytes)

    ### wp-active-theme ###

    name: SailStock Green (Sailstock_Theme)
    version: 0.1a
    author: Deviated Systems
    author_website: https://Deviatedsystems.com
    parent_theme: GeneratePress (generatepress)
    theme_features: core-block-patterns, widgets-block-editor, automatic-feed-links, post-thumbnails, post-formats, woocommerce, title-tag, html5, customize-selective-refresh-widgets, align-wide, responsive-embeds, custom-logo, menus, editor-style, widgets
    theme_path: /home/sailstock.deviatedsystems.com/public_html/wp-content/themes/Sailstock_Theme
    auto_update: Disabled

    ### wp-parent-theme ###

    name: GeneratePress (generatepress)
    version: 3.0.4
    author: Tom Usborne
    author_website: https://tomusborne.com
    theme_path: /home/sailstock.deviatedsystems.com/public_html/wp-content/themes/generatepress
    auto_update: Disabled

    ### wp-mu-plugins (2) ###

    ManageWP – Worker Loader: author: GoDaddy, version: (undefined)
    wpshopify-compatibility.php: author: (undefined), version: (undefined)

    ### wp-plugins-active (22) ###

    ACF Frontend: version: 3.0.38, author: Shabti Kaplan, Auto-updates disabled
    Advanced Custom Fields: Extended: version: 0.8.8.4, author: ACF Extended (latest version: 0.8.8.5), Auto-updates disabled
    Advanced Custom Fields PRO: version: 5.10.2, author: Delicious Brains, Auto-updates disabled
    Antispam Bee: version: 2.10.0, author: pluginkollektiv, Auto-updates disabled
    Classic Editor: version: 1.6.2, author: WordPress Contributors, Auto-updates disabled
    Custom Post Type UI: version: 1.9.2, author: WebDevStudios, Auto-updates disabled
    Dashboard Welcome for Elementor: version: 1.0.5, author: IdeaBox Creations, Auto-updates disabled
    Database Browser: version: 1.4.4, author: Chris Taylor, Auto-updates disabled
    Elementor: version: 3.4.3, author: Elementor.com, Auto-updates disabled
    Elementor Pro: version: 3.4.1, author: Elementor.com, Auto-updates disabled
    Essential Addons for Elementor: version: 4.9.0, author: WPDeveloper, Auto-updates disabled
    Filester – File Manager Pro: version: 1.7.3, author: Ninja Team, Auto-updates disabled
    GP Premium: version: 2.0.3, author: Tom Usborne, Auto-updates disabled
    Instant Images: version: 4.4.0.3, author: Darren Cooney, Auto-updates disabled
    LiteSpeed Cache: version: 4.3, author: LiteSpeed Technologies, Auto-updates disabled
    Maintenance: version: 4.03, author: WebFactory Ltd, Auto-updates disabled
    ManageWP – Worker: version: 4.9.9, author: GoDaddy, Auto-updates enabled
    Woody code snippets (PHP snippets | Insert PHP): version: 2.4.1, author: Creative Motion, Will Bontrager Software, LLC <will@willmaster.com>, Auto-updates disabled
    wpDiscuz: version: 7.2.2, author: gVectors Team, Auto-updates disabled
    WP Shopify Elementor: version: 1.0.2, author: WP Shopify, Auto-updates disabled
    WP Shopify Pro: version: 3.7.2, author: WP Shopify, Auto-updates disabled
    Wp Ultimate Review: version: 1.4.3, author: Wpmet, Auto-updates disabled

    ### wp-plugins-inactive (1) ###

    Rank Math SEO PRO: version: 2.13.0, author: Rank Math, Auto-updates disabled

    ### wp-media ###

    image_editor: WP_Image_Editor_GD
    imagick_module_version: 1690
    imagemagick_version: ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org
    imagick_version: @PACKAGE_VERSION@
    file_uploads: File uploads is turned off
    post_max_size: 64M
    upload_max_filesize: 256M
    max_effective_size: 64 MB
    max_file_uploads: 20
    gd_version: bundled (2.1.0 compatible)
    gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
    ghostscript_version: not available

    ### wp-server ###

    server_architecture: Linux 5.4.0-77-generic x86_64
    httpd_software: LiteSpeed
    php_version: 8.0.8 64bit
    php_sapi: litespeed
    max_input_variables: 1000
    time_limit: 60
    memory_limit: 512M
    max_input_time: 60
    upload_max_filesize: 256M
    php_post_max_size: 64M
    curl_version: 7.68.0 OpenSSL/1.1.1f
    suhosin: false
    imagick_availability: true
    pretty_permalinks: true
    htaccess_extra_rules: true

    ### wp-database ###

    extension: mysqli
    server_version: 10.3.30-MariaDB-0ubuntu0.20.04.1
    client_version: mysqlnd 8.0.8

    ### wp-constants ###

    WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /home/sailstock.deviatedsystems.com/public_html/wp-content
    WP_PLUGIN_DIR: /home/sailstock.deviatedsystems.com/public_html/wp-content/plugins
    WP_MEMORY_LIMIT: 40M
    WP_MAX_MEMORY_LIMIT: 512M
    WP_DEBUG: false
    WP_DEBUG_DISPLAY: true
    WP_DEBUG_LOG: false
    SCRIPT_DEBUG: false
    WP_CACHE: true
    CONCATENATE_SCRIPTS: undefined
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_LOCAL_DEV: undefined
    DB_CHARSET: utf8
    DB_COLLATE: undefined

    ### wp-filesystem ###

    wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    mu-plugins: writable

    `

    #1920760
    Neil

    Went through my cron jobs and found that this corn job was deleting images (I believe)
    wpdiscuz_delete_unattached_images
    Link to Forum Post

    #1920854
    Leo
    Staff
    Customer Support

    Glad to hear that you found the issue 🙂

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Images randomly deleted’ is closed to new replies.