Woocommerce-admin: Fatal Error on activation

Created on 6 Mar 2019  路  3Comments  路  Source: woocommerce/woocommerce-admin

Fatal error: Uncaught Error: Class 'WC_Admin_Reports_Sync' not found.

Error while activating the plugin

WC 3.5.5
WP 5.0
screenshot 2019-03-06 at 3 15 46 pm

bug

All 3 comments

@mujuonly Thanks for reporting this issue!

WC 3.5.5
WP 5.0

It looks like WooCommerce Admin dependencies aren't being met. Can you double check those versions on your install and let me know if WooCommerce is activated prior to activating WooCommerce Admin?

The plugin is deactivating itself since the dependencies aren't being met and then it's trying to clear out any scheduling sync tasks which it's unable to do since the plugin classes were never initiated. That's definitely a bug that we can tackle, but if you have any more issues getting it activated, feel free to post back here.

Is this case cannot be handled instead of throwing error?

Thanks for the bug report @mujuonly! This has been fixed in #1797.

Was this page helpful?
0 / 5 - 0 ratings