• Resolved tsmallswp

    (@tsmallswp)


    I’m getting a fatal error after installing and trying to activate. Here is the message.

    Fatal error: Uncaught Exception: Invalid data store. in /var/www/wp-content/plugins/woocommerce/includes/class-wc-data-store.php:107 Stack trace: #0 /var/www/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(139): WC_Data_Store->__construct('admin') #1 /var/www/wp-content/plugins/advanced-coupons-for-woocommerce-free/Models/WC_Admin_Notes.php(395): WC_Data_Store::load('admin-note') #2 /var/www/wp-content/plugins/advanced-coupons-for-woocommerce-free/Models/WC_Admin_Notes.php(565): ACFWF\Models\WC_Admin_Notes->_schedule_admin_notes() #3 /var/www/wp-content/plugins/advanced-coupons-for-woocommerce-free/Models/Bootstrap.php(274): ACFWF\Models\WC_Admin_Notes->activate() #4 /var/www/wp-content/plugins/advanced-coupons-for-woocommerce-free/Models/Bootstrap.php(189): ACFWF\Models\Bootstrap->_activate_plugin(0) #5 /var/www/wp-includes/class-wp-hook.php(292): ACFWF\Models\Bootstrap->activate_plugin('') #6 /var/www/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters('', Array) #7 /var/www/wp-includes/plugin.php in /var/www/wp-content/plugins/woocommerce/includes/class-wc-data-store.php on line 107

Viewing 1 replies (of 1 total)
  • Plugin Author Josh Kohlbach

    (@jkohlbach)

    Hi @tsmallswp,

    Looks like this is due to the usage of admin notes which is a feature in WooCommerce and WooCommerce Admin that we make use of to show notices in the WooCommerce Inbox.

    Can you please make sure you have the latest WooCommerce and (if you have it installed separately) WooCommerce Admin plugin installed? Let me know the version numbers if not.

    Just as a side note, if you find you do have WooCommerce Admin installed as a separate plugin, that this is now included in WooCommerce itself, so no need to have installed separately if it is.

    Let me know if updating these helps with the activation error.

Viewing 1 replies (of 1 total)
  • The topic ‘Fatal error when trying to activate’ is closed to new replies.