Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

all media files are delete #95

Open
Megatholding opened this issue Nov 11, 2021 · 13 comments
Open

all media files are delete #95

Megatholding opened this issue Nov 11, 2021 · 13 comments
Assignees
Labels
3rd-party compatibility bug Something isn't working
Milestone

Comments

@Megatholding
Copy link

After installing this plugin, when I upload a photo via ACF, all media files are deleted. This problem no longer exists when I uninstall the plugin. I feel there is a big bug

@Megatholding Megatholding changed the title big bug all media files are deleted :( Nov 11, 2021
@Megatholding Megatholding changed the title all media files are deleted :( all media files are delete Nov 11, 2021
@joppuyo
Copy link
Owner

joppuyo commented Nov 11, 2021

This is something that shouldn't happen.

If you disable the plugin, can you still view the files or are the files gone from the filesystem and the database too?

@Megatholding
Copy link
Author

Files are deleted completely

@joppuyo
Copy link
Owner

joppuyo commented Nov 11, 2021

There might be a conflict with a theme or a plugin.

Could you post a list of plugins installed on the site? This can be done by going to to Tools -> Site Health -> Info -> Copy site info to clipboard

You may redact any sensitive information.

@Megatholding
Copy link
Author

Megatholding commented Nov 11, 2021

ACF Frontend (Premium)
Admin Menu Editor Pro
Advanced Custom Fields PRO
Advanced Custom Fields: Extended PRO
Advanced Custom Fields: Image Aspect Ratio Crop
All-in-One WP Migration
Disable Gutenberg
Dynamic.ooo - Dynamic Content for Elementor
Element Pack Pro
Elementor
Elementor Pro
ElementsKit Lite
ElementsKit Pro
Emage Hover Effects for Elementor
File Renaming on upload Pro
Insert Headers and Footers
JetElements For Elementor
JetEngine
JetSearch For Elementor
JetSmartFilters
Piotnet Addons For Elementor Pro
PowerPack Pro for Elementor
Unlimited Elements for Elementor (Premium)
WP Rocket
WP-Optimize Premium - Clean, Compress, Cache

@Megatholding
Copy link
Author

`

wp-core

version: 5.8.2
site_language: en_US
user_language: en_US
timezone: Asia/Tehran
permalink: undefined
https_status: true
multisite: false
user_registration: 0
blog_public: 0
default_comment_status: open
environment_type: production
user_count: 4
dotorg_communication: true

wp-paths-sizes

wordpress_path: /home/avan/public_html
wordpress_size: 1.75 GB (1875915089 bytes)
uploads_path: /home/avan/public_html/wp-content/uploads
uploads_size: 67.15 MB (70413600 bytes)
themes_path: /home/avan/public_html/wp-content/themes
themes_size: 7.03 MB (7370018 bytes)
plugins_path: /home/avan/public_html/wp-content/plugins
plugins_size: 247.18 MB (259187813 bytes)
database_size: 16.08 MB (16859136 bytes)
total_size: 2.08 GB (2229745656 bytes)

wp-dropins (1)

advanced-cache.php: true

wp-active-theme

name: Hello Elementor (hello-elementor)
version: 2.4.1
author: Elementor Team
author_website: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
parent_theme: none
theme_features: core-block-patterns, widgets-block-editor, menus, post-thumbnails, automatic-feed-links, title-tag, html5, custom-logo, editor-style, align-wide, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider
theme_path: /home/avan/public_html/wp-content/themes/hello-elementor
auto_update: Disabled

wp-themes-inactive (3)

Twenty Nineteen: version: 2.1, author: the WordPress team, Auto-updates disabled
Twenty Twenty: version: 1.8, author: the WordPress team, Auto-updates disabled
Twenty Twenty-One: version: 1.4, author: the WordPress team, Auto-updates disabled

wp-plugins-active (27)

ACF Frontend (Premium): version: 3.2.6, author: Shabti Kaplan, Auto-updates disabled
Admin Menu Editor Pro: version: 2.16, author: Janis Elsts, Auto-updates disabled
Advanced Custom Fields: Extended PRO: version: 0.8.8.6, author: ACF Extended, Auto-updates disabled
Advanced Custom Fields PRO: version: 5.10.2, author: Delicious Brains (latest version: 5.11), Auto-updates disabled
All-in-One WP Migration: version: 7.50, author: ServMask, Auto-updates disabled
Disable Gutenberg: version: 2.5.1, author: Jeff Starr, Auto-updates disabled
Dynamic.ooo - Dynamic Content for Elementor: version: 2.0.6, author: Dynamic.ooo (latest version: 2.0.8), Auto-updates disabled
Elementor: version: 3.4.7, author: Elementor.com, Auto-updates disabled
Elementor Pro: version: 3.5.1, author: Elementor.com, Auto-updates disabled
Element Pack Pro: version: 5.12.0, author: BdThemes (latest version: 5.13.0), Auto-updates disabled
ElementsKit Lite: version: 2.4.0, author: Wpmet, Auto-updates disabled
ElementsKit Pro: version: 2.3.7, author: Wpmet, Auto-updates disabled
Emage Hover Effects for Elementor: version: 4.3.4, author: Blocksera, Auto-updates disabled
File Renaming on upload Pro: version: 1.2.9, author: Pablo S G Pacheco, Auto-updates disabled
Insert Headers and Footers: version: 1.6.0, author: WPBeginner, Auto-updates disabled
JetElements For Elementor: version: 2.5.9, author: Crocoblock (latest version: 2.6.0), Auto-updates disabled
JetEngine: version: 2.10.0, author: Crocoblock, Auto-updates disabled
JetSearch For Elementor: version: 2.1.14, author: Crocoblock, Auto-updates disabled
JetSmartFilters: version: 2.3.2, author: Crocoblock, Auto-updates disabled
Piotnet Addons For Elementor Pro: version: 6.4.13, author: Luong Huu Phuoc (Louis Hufer), Auto-updates disabled
PowerPack Pro for Elementor: version: 2.6.0, author: Team IdeaBox - PowerPack Elements, Auto-updates disabled
Unlimited Elements for Elementor (Premium): version: 1.4.86, author: Unlimited Elements, Auto-updates disabled
WP-Optimize Premium - Clean, Compress, Cache: version: 3.1.12, author: David Anderson, Ruhani Rabin, Team Updraft, Auto-updates disabled
WP Rocket: version: 3.10.2, author: WP Media, Auto-updates disabled
المنتور فارسی: version: 2.4.12, author: المنتور فارسی, Auto-updates disabled
تاریخ شمسی و فارسی ساز وردپرس: version: 4.1.0, author: wpvar.com, Auto-updates disabled
فیلد عددی ACF: version: 1.0.0, author: Seyed Ali Jafari, Auto-updates disabled

wp-plugins-inactive (1)

Advanced Custom Fields: Image Aspect Ratio Crop: version: 6.0.0, author: Johannes Siipola, Auto-updates disabled

wp-media

image_editor: WP_Image_Editor_GD
imagick_module_version: Not available
imagemagick_version: Not available
imagick_version: Not available
file_uploads: File uploads is turned off
post_max_size: 1024M
upload_max_filesize: 1024M
max_effective_size: 1 GB
max_file_uploads: 20
gd_version: bundled (2.1.0 compatible)
gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
ghostscript_version: unknown

wp-server

server_architecture: Linux 3.10.0-1160.11.1.el7.x86_64 x86_64
httpd_software: LiteSpeed
php_version: 8.0.12 64bit
php_sapi: litespeed
max_input_variables: 1000
time_limit: 180
memory_limit: 30000M
max_input_time: 180
upload_max_filesize: 1024M
php_post_max_size: 1024M
curl_version: 7.79.1 OpenSSL/1.1.1l
suhosin: false
imagick_availability: false
pretty_permalinks: true
htaccess_extra_rules: true

wp-database

extension: mysqli
server_version: 5.7.36
client_version: mysqlnd 8.0.12

wp-constants

WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /home/avan/public_html/wp-content
WP_PLUGIN_DIR: /home/avan/public_html/wp-content/plugins
WP_MEMORY_LIMIT: 40M
WP_MAX_MEMORY_LIMIT: 30000M
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

`

@joppuyo
Copy link
Owner

joppuyo commented Nov 11, 2021

Access to site won’t be very useful since I can’t debug it.

But if you could export the whole site as a zip file with all the themes and plugins, and a database dump, I could try to reproduce the issue in a local environment.

You can send me the files @ [email protected]

@Megatholding
Copy link
Author

Do you want me to give you full access to the website?

@Megatholding
Copy link
Author

I have sent the complete information for review to your email

@Megatholding
Copy link
Author

I have noticed that the Image Aspect Ratio Crop Field plugin has a problem with the ACF Frontend (Premium) plugin - when both plugins are enabled, the image is attached to the posts and all media is removed. This problem is fixed when the Image Aspect Ratio Crop Field plugin is disabled

@Megatholding
Copy link
Author

what happened ?
Is the problem solved?

@joppuyo
Copy link
Owner

joppuyo commented Nov 23, 2021

Hey, apologies, I haven't had time to take a look at this. But it seems like this issue is related to the plugin "ACF Frontend". I would not recommend using that plugin alongside ACF Image Aspect Ratio Crop for the time being.

I don't use "ACF Frontend" myself and this plugin does not officially support it.

When I have time, I'll try to see of there is an easy way to fix this compatibility issue.

@joppuyo
Copy link
Owner

joppuyo commented Nov 23, 2021

This is currently not a critical priority issue for me since this doesn't seem to be very commonly used plugin.

Deleting the media library is of course a very serious issue but it seems like this only occurs of you have "ACF Frontend" installed which majority of people do not have.

@joppuyo joppuyo self-assigned this Nov 23, 2021
@joppuyo joppuyo added bug Something isn't working 3rd-party compatibility labels Nov 23, 2021
@joppuyo joppuyo added this to the 6.0.x milestone Nov 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3rd-party compatibility bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants