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.
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.
2.2.1 has the workaround. If thats the problem, we’re investigating an issue on some servers unable to create the logs directory.
@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.
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?
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?
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.