Support » Plugin: WooCommerce » Weird behaviour after recent WordPress 5.6 update

  • Resolved TechMan

    (@techman)


    Today I updated to WordPress 5.6 and after that after seeing this weird behaviour in WooCommerce.

    If I click on any product in admin panel which opens its edit page, even if don’t change anything i.e. I don’t change any desc or variation or properties or anything of that particular product and click on any other link to move to another page, I get this pop message “Changes you made may not be saved”.

    And notice on top, the white bar is completely blank. I remember breadcrumbs used to display here but not anymore.

    Screenshot given below:
    https://i.imgur.com/fa4oBxd.png

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support kellymetal a11n

    (@kellymetal)

    Hi there,

    Thank you for including that screenshot of what you are seeing — that’s very helpful.

    I tested on my personal site with WordPress 5.6 and WooCommerce 4.7.1, however I’m not seeing the same thing you describe. I’m able to open a product and then switch to another page, but do not see the “Changes you made may not be saved” message (if I haven’t made changes). Also, the top bar you indicated in your screenshot is still showing the breadcrumbs on my site:

    breadcrumbs
    Link to image: https://d.pr/i/G5ryc8

    Please share a copy of your site’s System Status. You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, you can paste it here in your reply. Please note that since this is a public forum, you may want to remove any sensitive information that you don’t want shared publicly.

    Thread Starter TechMan

    (@techman)

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://www.microsoft.com
    Site address (URL): https://www.microsoft.com
    WC Version: 4.8.0
    REST API Version: ✔ 4.8.0
    WC Blocks Version: ✔ 3.8.1
    Action Scheduler Version: ✔ 3.1.6
    WC Admin Version: ✔ 1.7.3
    Log Directory Writable: ✔
    WP Version: 5.6
    WP Multisite: –
    WP Memory Limit: 1 GB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: nginx/1.10.3
    PHP Version: 7.3.18-1+0~20200515.59+debian9~1.gbp12fa4f
    PHP Post Max Size: 8 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.52.1
    OpenSSL/1.0.2u
    
    SUHOSIN Installed: –
    MySQL Version: 8.0.20
    Max Upload Size: 2 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 4.8.0
    WC Database Prefix: dp_
    Total Database Size: 88.03MB
    Database Data Size: 50.45MB
    Database Index Size: 37.58MB
    dp_woocommerce_sessions: Data: 1.02MB + Index: 0.02MB + Engine InnoDB
    dp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    dp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    dp_woocommerce_order_items: Data: 0.34MB + Index: 0.14MB + Engine InnoDB
    dp_woocommerce_order_itemmeta: Data: 2.52MB + Index: 2.97MB + Engine InnoDB
    dp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    dp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    dp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    dp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    dp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dp_actionscheduler_actions: Data: 8.02MB + Index: 10.23MB + Engine InnoDB
    dp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dp_actionscheduler_logs: Data: 7.02MB + Index: 5.03MB + Engine InnoDB
    dp_cartbounty: Data: 0.22MB + Index: 0.00MB + Engine InnoDB
    dp_commentmeta: Data: 0.06MB + Index: 0.06MB + Engine InnoDB
    dp_comments: Data: 2.52MB + Index: 1.25MB + Engine InnoDB
    dp_fbv: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dp_fbv_attachment_folder: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dp_ms_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dp_nextend2_image_storage: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dp_nextend2_section_storage: Data: 0.08MB + Index: 0.06MB + Engine InnoDB
    dp_nextend2_smartslider3_generators: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dp_nextend2_smartslider3_sliders: Data: 0.09MB + Index: 0.03MB + Engine InnoDB
    dp_nextend2_smartslider3_sliders_xref: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dp_nextend2_smartslider3_slides: Data: 0.13MB + Index: 0.11MB + Engine InnoDB
    dp_options: Data: 4.03MB + Index: 0.47MB + Engine InnoDB
    dp_postmeta: Data: 15.48MB + Index: 11.77MB + Engine InnoDB
    dp_posts: Data: 2.42MB + Index: 1.02MB + Engine InnoDB
    dp_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dp_term_relationships: Data: 0.36MB + Index: 0.19MB + Engine InnoDB
    dp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    dp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    dp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    dp_usermeta: Data: 0.38MB + Index: 0.27MB + Engine InnoDB
    dp_users: Data: 0.05MB + Index: 0.05MB + Engine InnoDB
    dp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dp_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dp_wc_customer_lookup: Data: 0.13MB + Index: 0.11MB + Engine InnoDB
    dp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    dp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    dp_wc_order_product_lookup: Data: 0.44MB + Index: 0.50MB + Engine InnoDB
    dp_wc_order_stats: Data: 0.16MB + Index: 0.20MB + Engine InnoDB
    dp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    dp_wc_product_meta_lookup: Data: 0.33MB + Index: 0.64MB + Engine InnoDB
    dp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dp_wcpdf_invoice_number: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    dp_woo_shippment_provider: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    dp_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dp_yoast_indexable: Data: 3.52MB + Index: 1.48MB + Engine InnoDB
    dp_yoast_indexable_hierarchy: Data: 0.16MB + Index: 0.25MB + Engine InnoDB
    dp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dp_yoast_primary_term: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    dp_yoast_seo_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dp_yoast_seo_meta: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    attachment: 1876
    customize_changeset: 4
    nav_menu_item: 12
    page: 10
    post: 3
    postman_sent_mail: 2
    product: 526
    product_variation: 2287
    revision: 104
    shop_coupon: 1
    shop_order: 1298
    size-chart: 35
    wpforms: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (26) ###
    
    Redux: by Redux.io + Dovy Paukstys – 4.1.23
    Astra Hooks: by Brainstorm Force – 1.0.2
    Autoptimize: by Frank Goossens (futtta) – 2.8.0
    Code Snippets: by Code Snippets Pro – 2.14.0
    Customer Reviews for WooCommerce: by Customer Reviews – 3.138
    Debug Info: by Scott DeLuzio – 1.3.9
    FileBird Lite: by Ninja Team – 4.2
    Geolocation IP Detection: by Yellow Tree (Benjamin Pick) – 3.2.1
    Google Analytics Dashboard for WP (GADWP): by ExactMetrics – 6.3.2
    Jetpack by WordPress.com: by Automattic – 9.2
    myStickymenu: by Premio – 2.4.7
    PW WooCommerce Bulk Edit: by Pimwick
    LLC – 2.81
    
    Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.4
    Smart Slider 3: by Nextend – 3.4.1.14
    Smart Variations Images for WooCommerce: by David Rosendo – 4.0.76
    UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
    DavidAnderson – 1.16.41
    
    Product Size Charts Plugin for WooCommerce: by theDotstore – 2.0.8
    Advanced Shipment Tracking for WooCommerce: by zorem – 3.1.7
    WooCommerce Random Product Sorting with Pagination: by William Crowley – 0.9.2 – Installed version not tested with active version of WooCommerce 4.0
    Variation Swatches for WooCommerce: by Emran Ahmed – 1.1.2
    WooCommerce PDF Invoices & Packing Slips: by Ewout Fernhout – 2.7.3
    WooCommerce: by Automattic – 4.8.0
    Yoast SEO: by Team Yoast – 15.4
    WP Crontrol: by John Blackbourn & crontributors – 1.8.5
    WP Mail SMTP: by WPForms – 2.5.1
    WPForms Lite: by WPForms – 1.6.3.1
    
    ### Inactive Plugins (4) ###
    
    Akismet Anti-Spam: by Automattic – 4.1.7
    CartBounty - Save and recover abandoned carts for WooCommerce: by Streamline.lv – 5.0.4
    Home Page Banner for Astra Theme: by Brainstorm Force – 1.0.2
    PixelYourSite: by PixelYourSite – 7.2.0
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: PKR (₨)
    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: –
    
    ### WC Pages ###
    
    Shop base: #6 - /
    Cart: #7 - /cart/
    Checkout: #8 - /checkout/
    My account: #9 - /my-account/
    Terms and conditions: ❌ Page not set
    
    ### Theme ###
    
    Name: Astra
    Version: 2.6.1
    Author URL: https://wpastra.com/about/
    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: –
    
    ### Action Scheduler ###
    
    Complete: 28,009
    Oldest: 2020-11-09 06:04:55 +0000
    Newest: 2020-12-10 06:03:17 +0000
    
    Pending: 2
    Oldest: 2020-12-10 06:04:17 +0000
    Newest: 2020-12-10 07:21:43 +0000
    
    

    @techman you are not alone. I don’t have the breadcrumbs on the top and I get the pup-up saying, “Changes may not be saved” even when I don’t make any changes to a product as well.

    I notice that in the Console there is a javascript warning that may be related:

    
    [DOM] Found 2 elements with non-unique id #current-page-selector-1
    

    If it helps any troubleshooting this for the original poster, I tried disabling all plugins except for WooCommerce and with a default theme (Twenty Sixteen), I still get the same behavior; i.e., no changes in a product result in the “Changes you made may not be saved” message and no breadcrumbs at the top of the page. Like @techman, WP 5.6 and WooCommerce 4.8.0.

    Plugin Support kellymetal a11n

    (@kellymetal)

    Hi there,

    Thank you @techman and @linux4me2 for your reports and testing.
    Yesterday, I had been on WooCommerce 4.7.1 (as mentioned in my reply) — I forgot 4.8.0 had been released during the day after I started working. : P

    I see that your site was already on 4.8.0, and after I updated to that version I can confirm I am seeing the same thing.

    Regarding the “breadcrumbs” in the header, it appears that was an intentional change. There is discussion about the reasoning and design change here:
    https://github.com/woocommerce/woocommerce-admin/issues/3963

    For the “Changes you made may not be saved.” point, that looks like a bug. I do not see any other open issue reports, so I submitted one here:
    https://github.com/woocommerce/woocommerce/issues/28557

    Please feel free to follow along there for any updates or discussion!

    Thank you again for your reports and testing here!

    @kellymetal Thank you for submitting the bug report!

    Plugin Support kellymetal a11n

    (@kellymetal)

    Hi there,

    Thank you for submitting the bug report!

    You are very welcome!

    I’m going to close this post for now — please follow along with the issue report above, and feel free to comment there if you have any other additional information to add. Thank you again, and take care! Have a wonderful day!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Weird behaviour after recent WordPress 5.6 update’ is closed to new replies.