Support » Plugin: WooHero WooCommerce Store Customizer » Plugin automatically disabled after latest WC update and data lost

  • Pat K

    (@blackcapdesign)


    On 2 separate sites after updating WooCommerce and WordPress (to v5.3), this plugin was automatically disabled with a warning from WordPress. On both sites, I was able to reactivate the plugin without any errors or obvious problems BUT all data has been purged. This is not cool. And because there is no record of the data that was stored in the plugin settings I would have to do a complete roll-back to determine what was in those fields, then run the updates all over again. Again, seriously uncool.

    I will definitely think twice before using this plugin again.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author N-Media

    (@nmedia)

    Hi,

    Sorry to hear this, It’s first time reported such an issue. Can you please share the warning message?

    Thread Starter Pat K

    (@blackcapdesign)

    Sorry, no. The error message was disabled as soon as I ran the manual plugin update. I’m pretty sure it’s part of WP 5.1’s WSOD protection feature (https://wptavern.com/wordpress-5-1-to-introduce-new-white-screen-protection-feature-beta-1-now-available-for-testing). It basically said the plugin was disabled to keep the dashboard from crashing.

    On the 2 separate sites this affected, I used a backup file to create a clone of the site (in a subdirectory), then looked at the plugin settings (the custom text) to verify it was actually there and I wasn’t mistaken / losing my mind (the text was there) and I copied it over to the updated plugin running on the live site.

    I then ran the WP & plugin updates in both cloned dashboards and the same thing happened; error message and data wiped from the plugin settings.

    This was a major PITA, so I have since opted to use custom functions for the custom cart & checkout text and have deactivated and uninstalled the plugin. I hope you figure this out and can implement a fix for other people using the plugin.

    Plugin Author N-Media

    (@nmedia)

    ok thanks for the details on the issue. We are looking into this more deeply to find out the reason.

    I just had this happen as well. The error message is:

    The plugin personalize-woocommerce-cart-page/index.php has been deactivated due to an error: The plugin does not have a valid header.

    When comparing the plugin’s index.php file between the latest version and the previous version, the latest version’s file is missing the PHP comment that contains all of the plugin information:

    Plugin Name: Personalized WooCommerce Store
    Plugin URI: http://www.najeebmedia.com
    Description: Woocommerce extension which allow store admin to add message in almost every area of store like Product, Cart, Checkout, My Account etc. Even some action like redirect login and registrion.
    Version: 2.5
    Author: Najeeb Ahmad
    Author URI: http://www.najeebmedia.com/
    Text Domain: nm-woostore
    WC requires at least: 3.0.0
    WC tested up to: 3.4.3

    • This reply was modified 1 year, 9 months ago by blitton. Reason: Converted error message to blockquote

    Actually, I see that other plugins use a PHP file with the same name as the plugin folder as the plugin’s main file. This plugin’s folder name is “personalize-woocommerce-cart-page” and the new file it uses appears to be woohero.php. I’m guessing maybe “woohero.php” should be renamed to “personalize-woocommerce-cart-page.php”.

    Surprised that something like this would have made it through QA/QC.

    • This reply was modified 1 year, 9 months ago by blitton.

    Hi @blitton
    We changed the structure of the plugin and redesign the admin and user views in the new updated.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Plugin automatically disabled after latest WC update and data lost’ is closed to new replies.