• Resolved shayeryan

    (@shayeryan)


    I was using WooCommerce 2.1.12 and I upgraded to the latest 2.2 and it broke my site. I downgraded the plugin by deactivating it and uploading the old version from a backup and activating it. I also reinstalled the pages as you suggested in another post.

    Problem is: all my sales data has disappeared and there were about 7 orders waiting to be processed that disappeared. I can see a 7 on the admin panel next to orders but when I click on the orders page, there is nothing there.

    I’m using the latest version of my theme which is The7 and WP v.3.8.4

    Please help!

    https://wordpress.org/plugins/woocommerce/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Mike Jolley (a11n)

    (@mikejolley)

    If you ran the upgrade process, the order statuses won’t work in 2.1.

    Try 2.2.1 – this has a workaround for non-updated plugins. Worse case, turn off all woocommerce extensions and activate 2.2.1 alone.

    Thread Starter shayeryan

    (@shayeryan)

    Thanks for the reply Mike. Can you point me to the workaround for non-updated plugins? Does this allow WC to run properly if it was one of my plugins that was breaking the site?

    I updated my plugins all at once and it broke my site the first time so I’m nervous to do the update again.

    Plugin Author Mike Jolley (a11n)

    (@mikejolley)

    2.2.1 has the workaround. If thats the problem, we’re investigating an issue on some servers unable to create the logs directory.

    Plugin Contributor Claudio Sanches

    (@claudiosanches)

    @shayeryan please try to set this in your wp-config.php before:

    define( 'WC_LOG_DIR', dirname( __FILE__ ) . '/wc-logs/' );
    

    And then, try to activate the WooCommerce.

    Thread Starter shayeryan

    (@shayeryan)

    RESOLVED: Thanks Mike and Claudio! I was able to update to 2.2.1 and my orders are showing up now.

    My fear is now if I upgrade WP, the wp-config file will be overwritten and it will break again. I’m guessing the next version of WooCommerce will address this log issue?

    I’m thinking about creating a duplicate sandbox site and doing tests on it before doing updates on anything. It would be nice if you could enter a sandbox mode and test a plugin before pulling the trigger.

    Any suggestions on best practices for upgrading plugins besides the obvious like backing up DB’s?

    Thread Starter shayeryan

    (@shayeryan)

    NOT RESOLVED: It was working and all of a sudden it’s not and the only thing I did was clear my page cache for W3.

    It broke the site again with this error:

    Fatal error: Cannot redeclare woocommerce_output_related_products() (previously declared in /home3/dyeman/public_html/americolor/wp/wp-content/plugins/woocommerce/includes/wc-template-functions.php:1091) in /home3/dyeman/public_html/americolor/wp/wp-content/themes/dt-the7/inc/mod-woocommerce/mod-woocommerce.php on line 87

    So I disabled WC and got these errors:

    Fatal error: Class ‘SYN_Shipping_Method’ not found in /home3/dyeman/public_html/americolor/wp/wp-content/plugins/synmedia-woocommerce-shipping-ups/classes/class-syn-shipping-ups.php on line 7

    Fatal error: Call to undefined function is_shop() in /home3/dyeman/public_html/americolor/wp/wp-content/plugins/woocommerce-product-archive-customiser/archive-customiser.php on line 269

    It looks like the theme is not compatible along with 2 plugins. I guess I’ll have to roll back to 2.1 and deal with the missing sales data. Unless anybody has any ideas?

    Plugin Contributor Claudio Sanches

    (@claudiosanches)

    The problem is in your theme: /home3/dyeman/public_html/americolor/wp/wp-content/themes/dt-the7/inc/mod-woocommerce/mod-woocommerce.php on line 87

    With the current update of Woocommerce i have lost all sales statistics until the date of update! Any Idea? The orders seem to be complete.

    Creating the tmp folder AND clearing Wp Cache solved it 😀 Sorry!

    Hi, I’m facing a similar issue, the site was down for 3 days and today when we got it working again, the sales data disappeared. I can see the x no. of orders beside the ‘All’ tab in orders section but cannot see those x orders

    WP version – 3.8.3
    Woocommerce version – 2.1.11
    theme name – nice theme

    Template Overrides (WooCommerce):archive-product.php
    cart.php
    mini-cart.php
    content-product.php
    content-product_cat.php
    content-single-product.php
    add-to-cart.php
    orderby.php
    result-count.php
    share.php

    Do you recommend that I update the woocommerce plugin to the latest version ?
    This is urgent, kindly help.

    Tushartaliyan,

    Were you able to resolve this issue? I just upgraded WooCommerce today to 2.4.1 and have lost all my of WooCommerce Orders data.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Lost sale data after downgrading to 2.1.12’ is closed to new replies.