وردپرس

Changes to existing product removes all attributes on save


I will preface my request with the fact that I am not a developer, and I have created my own site. I am using WooCommerce on self hosted WordPress. Two days ago, I started having this issue. Any change made to an existing product (in my case, adding three new variations to an item) causes the attributes to be removed when the blue “Update” button is clicked. It doesn’t matter if you re-add the attributes. With every update of the page, the attributes are removed. If you create a new item and save, the save will remove the attributes. Effectively, I cannot make any changes to my stock or add new items. I had updated the 3 plugins that were needing updating, and still had the same issue. I rolled back the site to a previous backup from before the automatic WordPress update, as that was the only change to the site, and my product was back, but the WordPress update automatically updated again, and the problem still persists. I currently have several plugins needing update only due to the rollback to the backup. I have no idea how to find conflicts or solve the issue. Can anyone assist?

System Status Report

### WordPress Environment ###

WordPress address (URL): [Redacted]
Site address (URL): [Redacted]
WC Version: 9.1.2
Legacy REST API Package Version: ✔ 1.0.4
Action Scheduler Version: ✔ 3.7.4
Log Directory Writable: ✔
WP Version: 6.6.1
WP Multisite: –
WP Memory Limit: 256 MB
WP Debug Mode: –
WP Cron: ✔
Language: en_US
External object cache: –

### Server Environment ###

Server Info: LiteSpeed
PHP Version: 7.4.33
PHP Post Max Size: 128 MB
PHP Time Limit: 600
PHP Max Input Vars: 100
cURL Version: 7.87.0
OpenSSL/1.1.1w

SUHOSIN Installed: –
MySQL Version: 5.5.5-10.6.18-MariaDB-cll-lve
Max Upload Size: 32 MB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔

### Database ###

[REDACTED]

### Post Type Counts ###

attachment: 2385
customize_changeset: 1
custom_css: 2
elementor_library: 2
nav_menu_item: 84
page: 18
post: 17
product: 201
product_variation: 1139
revision: 912
shop_coupon: 2
shop_order: 524
shop_order_refund: 33
wpforms: 2
wp_global_styles: 1

### Security ###

Secure connection (HTTPS): ✔
Hide errors from visitors: ✔

### Active Plugins (24) ###

Astra Pro: by Brainstorm Force – 4.7.2
Starter Templates: by Brainstorm Force – 4.3.8
Astra Widgets: by Brainstorm Force – 1.2.13
CartFlows: by CartFlows Inc – 2.0.9
Elementor: by Elementor.com – 3.23.1
Flexible Shipping: by Octolize – 4.25.2
Elementor Header & Footer Builder: by Brainstorm Force
Nikhil Chavan – 1.6.37

Smash Balloon Instagram Feed: by Smash Balloon – 6.4.3
Jetpack: by Automattic – 13.6
LiteSpeed Cache: by LiteSpeed Technologies – 6.2.0.1
Mailchimp for WooCommerce: by Mailchimp – 4.2.1
MailOptin - Lite: by MailOptin Popup Builder Team – 1.2.70.1
Smart Slider 3: by Nextend – 3.5.1.23
UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
DavidAnderson – 1.24.4

WooCommerce Cart Abandonment Recovery: by CartFlows Inc – 1.3.0
Woo Store Vacation: by MyPreview – 1.9.4
WooCommerce.com Update Manager: by Automattic – 1.0.3
WooCommerce Legacy REST API: by WooCommerce – 1.0.4
WooCommerce PayPal Payments: by WooCommerce – 2.8.1 (update to version 2.8.2 is available)
PDF Invoices & Packing Slips for WooCommerce: by WP Overnight – 3.8.5
WooCommerce: by Automattic – 9.1.2 (update to version 9.1.4 is available)
Smush: by WPMU DEV – 3.16.5
WPForms Lite: by WPForms – 1.8.9.6
WPMU DEV Dashboard: by WPMU DEV – 4.11.26

### Inactive Plugins (2) ###

Akismet Anti-spam: Spam Protection: by Automattic - Anti-spam Team – 5.3.3
WooCommerce Shipping & Tax: by WooCommerce – 2.6.2 (update to version 2.7.0 is available)

### Settings ###

API Enabled: ✔
Force SSL: –
Currency: CAD ($)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2
Taxonomies: Product Types: external (external)
grouped (grouped)
simple (simple)
variable (variable)

Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
exclude-from-search (exclude-from-search)
featured (featured)
outofstock (outofstock)
rated-1 (rated-1)
rated-2 (rated-2)
rated-3 (rated-3)
rated-4 (rated-4)
rated-5 (rated-5)

Connected to WooCommerce.com: ✔
Enforce Approved Product Download Directories: –
HPOS feature enabled: –
Order datastore: WC_Order_Data_Store_CPT
HPOS data sync enabled: –

### Logging ###

Enabled: ✔
Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2
Retention period: 30 days
Level threshold: –
Log directory size: 897 KB

### WC Pages ###

Shop base: #38 - /store/
Cart: #39 - /cart-2/ -  Contains the [woocommerce_cart] shortcode
Checkout: #40 - /checkout-2/ -  Contains the [woocommerce_checkout] shortcode
My account: #41 - /my-account-2/
Terms and conditions: #5134 - /store-policies-shipping/

### Theme ###

Name: Astra
Version: 4.7.3
Author URL: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
WooCommerce Support: ✔

### Templates ###

Overrides: –

### WooCommerce PayPal Payments ###

Onboarded: ✔
Shop country code: CA
WooCommerce currency supported: ✔
Advanced Card Processing available in country: ✔
Pay Later messaging available in country: –
Webhook status: ✔
PayPal Vault enabled: –
ACDC Vault enabled: –
Logging enabled: –
Reference Transactions: –
Used PayPal Checkout plugin: ✔
Subscriptions Mode: Disabled

### Admin ###

Enabled Features: activity-panels
analytics
product-block-editor
coupons
core-profiler
customize-store
customer-effort-score-tracks
import-products-task
experimental-fashion-sample-products
shipping-smart-defaults
shipping-setting-tour
homescreen
marketing
mobile-app-banner
navigation
onboarding
onboarding-tasks
product-custom-fields
remote-inbox-notifications
remote-free-extensions
payment-gateway-suggestions
shipping-label-banner
subscriptions
store-alerts
transient-notices
woo-mobile-welcome
wc-pay-promotion
wc-pay-welcome-page
launch-your-store

Disabled Features: experimental-blocks
minified-js
pattern-toolkit-full-composability
product-pre-publish-modal
printful
settings
async-product-editor-category-field
product-editor-template-system

Daily Cron: ✔ Next scheduled: 2024-07-28 17:27:38 -07:00
Options: ✔
Notes: 172
Onboarding: completed

### Action Scheduler ###

Complete: 7,129
Oldest: 2024-06-27 03:19:44 +0000
Newest: 2024-07-27 20:38:46 +0000

Failed: 181
Oldest: 2022-05-06 16:21:41 +0000
Newest: 2024-07-27 20:05:11 +0000

Pending: 8
Oldest: 2024-07-28 20:05:11 +0000
Newest: 2024-08-26 20:05:11 +0000


### Status report information ###

Generated at: 2024-07-27 16:10:31 -07:00

The page I need help with: [log in to see the link]

این خبر را در ایران وب سازان مرجع وب و فناوری دنبال کنید

مشاهده پاسخ های این مطلب
———————————————
این مطلب از سایت انجمن وردپرس گردآوری شده است و کلیه حقوق مطلق به انجمن وردپرس می باشد در صورت مغایرت و یا بروز مشکل اطلاع دهید تا حذف گردد

منبع: انجمن وردپرس

دکمه بازگشت به بالا