Hi there! When you say the site layout breaks, what do you mean exactly? You could try updating a little bit at a time using some previous versions of the plugin here: https://ww.wp.xz.cn/plugins/woocommerce/advanced/
The same thing happens to me – I upgraded from 3.7.0 to 3.9.1 and my site layout went awry (no more full-width — everything gets put into an #error-page format with weird margins and it says “There has been a critical error on your website.” at the very bottom of the page).
I tried your advice of going through the older versions and it’s actually 3.9.0 that starts the weird layouts for me. I’m rolling back to 3.8.1.
I’m running the Invent theme off a child theme.
-
This reply was modified 6 years, 4 months ago by
jenfilgate.
Aha! I thought I would do a few more tests before rolling back to 3.8.1 and once I updated the WooCommerce Admin plugin to 0.25.0 (while WooCommerce was 3.9.1), the layouts fixed themselves! So I needed to update both of them to current versions to get the site to work properly. Give that a try daynese1.
My testing was done on my Dev site, and when I did the update on my live site (updated both plugins at the same time), the site looks normal, which is great, but it still triggered the email from WordPRess saying that My Site Is Experiencing a Technical Issue (thought I would pass it along in hopes that it helps to solve it for others in the next release):
Error Details
=============
An error of type E_ERROR was caused in line 360 of the file /public_html/wp-content/plugins/woocommerce/includes/class-wc-api.php. Error message: Uncaught Error: Class ‘WC_REST_Coupons_V1_Controller’ not found in /public_html/wp-content/plugins/woocommerce/includes/class-wc-api.php:360
Stack trace:
#0 /public_html/wp-includes/class-wp-hook.php(288): WC_API->register_rest_routes(Object(WP_REST_Server))
#1 /public_html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array)
#2 /public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#3 /public_html/wp-includes/rest-api.php(471): do_action(‘rest_api_init’, Object(WP_REST_Server))
#4 /public_html/wp-includes/rest-api.php(429): rest_get_server()
#5 /public_html/wp-includes/rest-api.php(1539): rest_do_request(Object(WP_REST_Request))
#6 [internal function]: rest_preload_api_request(Array, ‘/wc/v3’)
#7 /public_html/wp-content/plugins/woocommerce-admin/includes/class-wc-admin-loader.php(521): array_reduce(Array, ‘rest_preload_ap…’)
#8 /public_html/wp-include
This is great info! Thanks @jenfilgate.