Woocommerce admin still loading with tons of errors
-
After 350 errors(still counting as long as it’s activated) I need to inactivate WooCommerce Admin. The site is not working. Very bad plugin.
What to do?
-
We’re having problems with this plugin as well. Not sure what might be causing the problems.
Can you describe or copy and paste the error messages you’re seeing? If so, that would help us reproduce the issue so we can solve it.
Thanks!
Thanks for asking!
I’m seeing this kind of error in the WooCommerce log file:
CRITICAL Uncaught Error: Class ‘Automattic\WooCommerce\Admin\Notes\WC_Admin_Notes_Tracking_Opt_In’ not found in /www/wp-content/plugins/woocommerce-admin/src/FeaturePlugin.php:160
And this:
2019-11-21T19:23:47+00:00 CRITICAL Uncaught Error: Class ‘Automattic\WooCommerce\Admin\API\Reports\Customers\DataStore’ not found in /www/wp-content/plugins/woocommerce-admin/src/ReportsSync.php:328
Stack trace:
#0 /wordpress/wp-includes/class-wp-hook.php(286): Automattic\WooCommerce\Admin\ReportsSync::customers_lookup_update_init(”)
#1 /wordpress/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#2 /wordpress/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /wordpress/wp-settings.php(549): do_action(‘wp_loaded’)
#4 /www/wp-config.php(100): require_once(‘/wordpress/wp-s…’)
#5 /wordpress/wp-config.php(5): require(‘/www/wp-config….’)
#6 /wordpress/wp-load.php(37): require_once(‘/wordpress/wp-c…’)
#7 /wordpress/wp-blog-header.php(13): require_once(‘/wordpress/wp-l…’)
#8 /www/index.php(17): require(‘/wordpress/wp-b…’)
#9 {main}
thrown in /www/wp-content/plugins/woocommerce-admin/src/ReportsSync.php on line 328I wonder if the latest version of this plugin is not compatible with the latest version of WooCommerce?
30 sec of activated WooCommerce Admin and a result of 8500 lines of errors.
Do you have another way to send in error messages?Here is the 45 first lines
Uncaught ReferenceError: woocommerce_admin is not defined
at woocommerce_admin.min.js?ver=3.8.1:1
/wp-json/wc-analytics/orders?_fields%5B0%5D=id&page=1&per_page=1&status%5B0%5D=processing&status%5B1%5D=on-hold&_locale=user:1 Failed to load resource: the server responded with a status of 500 ()
/wp-json/wc-analytics/leaderboards?after=2019-11-01T00%3A00%3A00&before=2019-11-28T23%3A59%3A59&per_page=5&persisted_query=%7B%7D&_locale=user:1 Failed to load resource: the server responded with a status of 500 ()
/wp-json/wc-analytics/products?low_in_stock=true&page=1&per_page=1&status=publish&_locale=user:1 Failed to load resource: the server responded with a status of 500 ()
/wp-json/wc-analytics/admin/notes?order=desc&orderby=date&page=1&per_page=1&type=info%2Cwarning&_locale=user:1 Failed to load resource: the server responded with a status of 500 ()
/wp-json/wc-analytics/reports/performance-indicators?after=2018-11-01T00%3A00%3A00&before=2018-11-28T23%3A59%3A59&stats=revenue%2Fgross_revenue%2Crevenue%2Fnet_revenue%2Corders%2Forders_count%2Corders%2Favg_order_value%2Cproducts%2Fitems_sold%2Crevenue%2Frefunds&_locale=user:1 Failed to load resource: the server responded with a status of 500 ()
/wp-json/wc-analytics/reports/performance-indicators?after=2019-11-01T00%3A00%3A00&before=2019-11-28T06%3A25%3A00&stats=revenue%2Fgross_revenue%2Crevenue%2Fnet_revenue%2Corders%2Forders_count%2Corders%2Favg_order_value%2Cproducts%2Fitems_sold%2Crevenue%2Frefunds&_locale=user:1 Failed to load resource: the server responded with a status of 500 ()
/wp-json/wc-analytics/admin/notes?page=1&per_page=25&status=unactioned&type=error%2Cupdate&_locale=user:1 Failed to load resource: the server responded with a status of 500 ()
/wp-json/wc-analytics/reports/revenue/stats?after=2019-11-01T00%3A00%3A00&before=2019-11-28T23%3A59%3A59&interval=day&order=asc&per_page=100&_locale=user:1 Failed to load resource: the server responded with a status of 500 ()
/wp-json/wc-analytics/reports/orders/stats?after=2018-11-01T00%3A00%3A00&before=2018-11-28T23%3A59%3A59&interval=day&order=asc&per_page=100&_locale=user:1 Failed to load resource: the server responded with a status of 500 ()
/wp-json/wc-analytics/reports/revenue/stats?after=2018-11-01T00%3A00%3A00&before=2018-11-28T23%3A59%3A59&interval=day&order=asc&per_page=100&_locale=user:1 Failed to load resource: the server responded with a status of 500 ()
/wp-json/wc-analytics/reports/orders/stats?after=2019-11-01T00%3A00%3A00&before=2019-11-28T23%3A59%3A59&interval=day&order=asc&per_page=100&_locale=user:1 Failed to load resource: the server responded with a status of 500 ()
/wp-json/wc-analytics/reports/products/stats?after=2018-11-01T00%3A00%3A00&before=2018-11-28T23%3A59%3A59&interval=day&order=asc&per_page=100&_locale=user:1 Failed to load resource: the server responded with a status of 500 ()
/wp-json/wc-analytics/reports/products/stats?after=2019-11-01T00%3A00%3A00&before=2019-11-28T23%3A59%3A59&interval=day&order=asc&per_page=100&_locale=user:1 Failed to load resource: the server responded with a status of 500 ()
/wp-json/wc-analytics/reports/coupons/stats?after=2018-11-01T00%3A00%3A00&before=2018-11-28T23%3A59%3A59&interval=day&order=asc&per_page=100&_locale=user:1 Failed to load resource: the server responded with a status of 500 ()
/wp-json/wc-analytics/reports/coupons/stats?after=2019-11-01T00%3A00%3A00&before=2019-11-28T23%3A59%3A59&interval=day&order=asc&per_page=100&_locale=user:1 Failed to load resource: the server responded with a status of 500 ()
/wp-json/wc-analytics/reports/taxes/stats?after=2019-11-01T00%3A00%3A00&before=2019-11-28T23%3A59%3A59&interval=day&order=asc&per_page=100&_locale=user:1 Failed to load resource: the server responded with a status of 500 ()
/wp-json/wc-analytics/reports/downloads/stats?after=2018-11-01T00%3A00%3A00&before=2018-11-28T23%3A59%3A59&interval=day&order=asc&per_page=100&_locale=user:1 Failed to load resource: the server responded with a status of 500 ()
/wp-json/wc-analytics/reports/downloads/stats?after=2019-11-01T00%3A00%3A00&before=2019-11-28T23%3A59%3A59&interval=day&order=asc&per_page=100&_locale=user:1 Failed to load resource: the server responded with a status of 500 ()
/wp-json/wc-analytics/reports/taxes/stats?after=2018-11-01T00%3A00%3A00&before=2018-11-28T23%3A59%3A59&interval=day&order=asc&per_page=100&_locale=user:1 Failed to load resource: the server responded with a status of 500 ()
/wp-json/wc-analytics/products/reviews?page=1&per_page=1&status=hold&_locale=user:1 Failed to load resource: the server responded with a status of 500 ()
me:1 Failed to load resource: the server responded with a status of 500 ()
/wp-json/wc-analytics/orders?_fields%5B0%5D=id&page=1&per_page=1&_locale=user:1 Failed to load resource: the server responded with a status of 500 ()
/wp-json/wc-analytics/orders?_fields%5B0%5D=id&page=1&per_page=1&status%5B0%5D=processing&status%5B1%5D=on-hold&_locale=user:1 Failed to load resource: the server responded with a status of 500 ()
/wp-json/wc-analytics/leaderboards?after=2019-11-01T00%3A00%3A00&before=2019-11-28T23%3A59%3A59&per_page=5&persisted_query=%7B%7D&_locale=user:1 Failed to load resource: the server responded with a status of 500 ()
/wp-json/wc-analytics/products?low_in_stock=true&page=1&per_page=1&status=publish&_locale=user:1 Failed to load resource: the server responded with a status of 500 ()
/wp-json/wc-analytics/admin/notes?page=1&per_page=25&status=unactioned&type=error%2Cupdate&_locale=user:1 Failed to load resource: the server responded with a status of 500 ()
/wp-json/wc-analytics/admin/notes?order=desc&orderby=date&page=1&per_page=1&type=info%2Cwarning&_locale=user:1 Failed to load resource: the server responded with a status of 500 ()
/wp-json/wc-analytics/reports/performance-indicators?after=2019-11-01T00%3A00%3A00&before=2019-11-28T06%3A25%3A00&stats=revenue%2Fgross_revenue%2Crevenue%2Fnet_revenue%2Corders%2Forders_count%2Corders%2Favg_order_value%2Cproducts%2Fitems_sold%2Crevenue%2Frefunds&_locale=user:1 Failed to load resource: the server responded with a status of 500 ()
/wp-json/wc-analytics/reports/performance-indicators?after=2018-11-01T00%3A00%3A00&before=2018-11-28T23%3A59%3A59&stats=revenue%2Fgross_revenue%2Crevenue%2Fnet_revenue%2Corders%2Forders_count%2Corders%2Favg_order_value%2Cproducts%2Fitems_sold%2Crevenue%2Frefunds&_locale=user:1 Failed to load resource: the server responded with a status of 500 ()
/wp-json/wc-analytics/reports/revenue/stats?after=2018-11-01T00%3A00%3A00&before=2018-11-28T23%3A59%3A59&interval=day&order=asc&per_page=100&_locale=user:1 Failed to load resource: the server responded with a status of 500 ()
/wp-json/wc-analytics/reports/revenue/stats?after=2019-11-01T00%3A00%3A00&before=2019-11-28T23%3A59%3A59&interval=day&order=asc&per_page=100&_locale=user:1 Failed to load resource: the server responded with a status of 500 ()
/wp-json/wc-analytics/reports/orders/stats?after=2019-11-01T00%3A00%3A00&before=2019-11-28T23%3A59%3A59&interval=day&order=asc&per_page=100&_locale=user:1 Failed to load resource: the server responded with a status of 500 ()
/wp-json/wc-analytics/reports/orders/stats?after=2018-11-01T00%3A00%3A00&before=2018-11-28T23%3A59%3A59&interval=day&order=asc&per_page=100&_locale=user:1 Failed to load resource: the server responded with a status of 500 ()
/wp-json/wc-analytics/reports/products/stats?after=2019-11-01T00%3A00%3A00&before=2019-11-28T23%3A59%3A59&interval=day&order=asc&per_page=100&_locale=user:1 Failed to load resource: the server responded with a status of 500 ()
/wp-json/wc-analytics/reports/products/stats?after=2018-11-01T00%3A00%3A00&before=2018-11-28T23%3A59%3A59&interval=day&order=asc&per_page=100&_locale=user:1 Failed to load resource: the server responded with a status of 500 ()
/wp-json/wc-analytics/reports/taxes/stats?after=2019-11-01T00%3A00%3A00&before=2019-11-28T23%3A59%3A59&interval=day&order=asc&per_page=100&_locale=user:1 Failed to load resource: the server responded with a status of 500 ()
/wp-json/wc-analytics/reports/coupons/stats?after=2019-11-01T00%3A00%3A00&before=2019-11-28T23%3A59%3A59&interval=day&order=asc&per_page=100&_locale=user:1 Failed to load resource: the server responded with a status of 500 ()
/wp-json/wc-analytics/reports/coupons/stats?after=2018-11-01T00%3A00%3A00&before=2018-11-28T23%3A59%3A59&interval=day&order=asc&per_page=100&_locale=user:1 Failed to load resource: the server responded with a status of 500 ()
/wp-json/wc-analytics/reports/taxes/stats?after=2018-11-01T00%3A00%3A00&before=2018-11-28T23%3A59%3A59&interval=day&order=asc&per_page=100&_locale=user:1 Failed to load resource: the server responded with a status of 500 ()
/wp-json/wc-analytics/reports/downloads/stats?after=2019-11-01T00%3A00%3A00&before=2019-11-28T23%3A59%3A59&interval=day&order=asc&per_page=100&_locale=user:1 Failed to load resource: the server responded with a status of 500 ()
/wp-json/wc-analytics/reports/downloads/stats?after=2018-11-01T00%3A00%3A00&before=2018-11-28T23%3A59%3A59&interval=day&order=asc&per_page=100&_locale=user:1 Failed to load resource: the server responded with a status of 500 ()
/wp-json/wp/v2/users/me?context=edit&_locale=user:1 Failed to load resource: the server responded with a status of 500 ()
/wp-json/wc-analytics/products/reviews?page=1&per_page=1&status=hold&_locale=user:1 Failed to load resource: the server responded with a status of 500 ()@tedslater It looks like your problems may have been resolved, going by this comment. If you’re still running into troubles, let us know.
@hansa2019 It appears that your
woocommerce_admin.min.js
is being cached, and an older version is being served, which is probably the reason why you’re running into these errors:Uncaught ReferenceError: woocommerce_admin is not defined at woocommerce_admin.min.js?ver=3.8.1:1 /wp-json/wc-analytics/orders?_fields%5B0%5D=id&page=1&per_page=1&status%5B0%5D=processing&status%5B1%5D=on-hold&_locale=user:1 Failed to load resource: the server responded with a status of 500 ()
If you have caching plugins in your site, could you try clearing the cache in your site (either in the server side or within any caching plugin that you use)? This should fix the problems, as I see it.
Let us know if you still keep running into troubles. All the best!
Hi there!
We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.
Hi
It′s still same problem with or without trying to clear the cache.
Best Regards
- The topic ‘Woocommerce admin still loading with tons of errors’ is closed to new replies.