Skip to content

"Changes that you made may not be saved" message appears even though i clicked on save setting button.  #400

@apeksha10

Description

@apeksha10

Prerequisites

  • I have carried out troubleshooting steps and I believe I have found a bug.
  • I have searched for similar bugs in both open and closed issues and cannot find a duplicate.

Describe the bug

"Changes that you made may not be saved" message appears even though i clicked on save setting button. the

Steps to reproduce

  1. Fresh installation testing with PHP 7.4.1
  2. Installed Print invoice git copy
  3. I enabled few settings and clicked on 'Save Setting' button.
  4. Try to visit another page of the plugin setting but the plugin throws me the "Changes that you made may not be saved" message
    video :
2024-10-21_17-16-55.mp4

the

Expected behavior

The plugin should allow the users to visit another page of the plugin after clicking on Save Setting.

WordPress Environment

System Status Report
### WordPress Environment ###

WordPress address (URL): [Redacted]
Site address (URL): [Redacted]
WC Version: 9.3.3
Legacy REST API Package Version: The Legacy REST API plugin is not installed on this site.
Action Scheduler Version: ✔ 3.8.1
Log Directory Writable: ✔
WP Version: 6.6.2
WP Multisite: –
WP Memory Limit: 256 MB
WP Debug Mode: ✔
WP Cron: ✔
Language: en_US
External object cache: –

### Server Environment ###

Server Info: Apache/2.4.57 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1f
PHP Version: 7.4.33
PHP Post Max Size: 64 MB
PHP Time Limit: 30
PHP Max Input Vars: 1000
cURL Version: 7.68.0
OpenSSL/1.1.1f

SUHOSIN Installed: –
MySQL Version: 5.5.5-10.6.14-MariaDB-1:10.6.14+maria~ubu2004
Max Upload Size: 64 MB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔

### Database ###

[REDACTED]

### Post Type Counts ###

attachment: 8
page: 9
post: 2
product: 6
revision: 6
shop_order_placehold: 7
wp_global_styles: 1
wp_navigation: 1
wp_template: 1
wp_template_part: 2

### Security ###

Secure connection (HTTPS): ✔
Hide errors from visitors: ❌Error messages should not be shown to visitors.

### Active Plugins (4) ###

Print Invoice & Delivery Notes for WooCommerce: by Tyche Softwares – 5.2.0
WooCommerce: by Automattic – 9.3.3
WP Mail SMTP: by WP Mail SMTP – 4.1.1
WPForms Lite: by WPForms – 1.9.1.4

### Inactive Plugins (4) ###

Abandoned Cart Lite for WooCommerce: by Tyche Softwares – 6.0.0
Flexi BOGO for WooCommerce: by Tyche Softwares – 1.1.0
Order Delivery Date Pro for WooCommerce: by Tyche Softwares – 11.4.1
Product Delivery Date for WooCommerce - Lite: by Tyche Softwares – 2.7.4

### Settings ###

Legacy API Enabled: –
Force SSL: –
Currency: INR (₹)
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: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore
HPOS data sync enabled: –

### Logging ###

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

### WC Pages ###

Shop base: #6 - /shop/
Cart: #41 - /cart-2/ -  Contains the [woocommerce_cart] shortcode
Checkout: #42 - /checout/ -  Contains the [woocommerce_checkout] shortcode
My account: #9 - /my-account/
Terms and conditions: ❌ Page not set

### Theme ###

Name: Twenty Twenty-Four
Version: 1.1 (update to version 1.2 is available)
Author URL: https://wordpress.org
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: ❌ Not declared

### Templates ###

Overrides: /home/zireletazu7518/web/apekshaorddd.instawp.xyz/public_html/wp-content/plugins/woocommerce/templates/block-notices/error.php
/home/zireletazu7518/web/apekshaorddd.instawp.xyz/public_html/wp-content/plugins/woocommerce/templates/block-notices/notice.php
/home/zireletazu7518/web/apekshaorddd.instawp.xyz/public_html/wp-content/plugins/woocommerce/templates/block-notices/success.php


### 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
pattern-toolkit-full-composability
product-custom-fields
remote-inbox-notifications
remote-free-extensions
payment-gateway-suggestions
printful
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
product-pre-publish-modal
settings
async-product-editor-category-field
product-editor-template-system
blueprint
reactify-classic-payments-settings

Daily Cron: ✔ Next scheduled: 2024-10-22 08:25:41 +00:00
Options: ✔
Notes: 65
Onboarding: completed

### Action Scheduler ###

Complete: 68
Oldest: 2024-10-15 12:12:08 +0000
Newest: 2024-10-21 12:09:44 +0000

Failed: 1
Oldest: 2024-06-08 08:34:25 +0000
Newest: 2024-06-08 08:34:25 +0000

Pending: 7
Oldest: 2024-10-22 07:30:36 +0000
Newest: 2024-10-28 14:00:00 +0000


### Status report information ###

Generated at: 2024-10-21 12:33:34 +00:00

Isolating the problem

  • I have deactivated other plugins and confirmed this bug occurs when only our plugin is active.
  • This bug happens with a default WordPress theme active, or Storefront.
  • I can reproduce this bug consistently using the steps above.

Additional field

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions