Fatal error class-wc-data-store.php:107
-
Two websites I’m using Wholesale Suite brought fatal error at class-wc-data-store.php:107
I have reverted to 1.14 and the issue was not there.
One site had 3.x, the other one 4.x- This topic was modified 4 years, 5 months ago by Web Expert.
-
I have the same problem after updating to 1.15
I have the free version
Wordpress and woo are up to date
Is there a download link to 1.14?Goto plugin page on wordpress repository and hit advanced settings link on the column on the right.
Then find the download previous version and pick the 1.14
Thanks a lot !
Hey folks, we’ll have a patch out ASAP for this. Likely today.
Typically we only test with the prior two versions of WC, their release cadence makes it hard for us to keep up otherwise (since they’re now releasing monthly).
Regardless, apologies for the inconvenience.
Hi @twodesigners and @seldimi,
Please update to version 1.11.6 which includes a patch for 3.9.x support.
Apologies again for the inconvenience.
Issue still exists with WC 4.1 and Wholesale Suite 1.16
Here if that will help
Fatal error: Uncaught Exception: Uncaught Exception: Invalid data store. in /home/www/webex5/website.com/www/wp-content/plugins/woocommerce/includes/class-wc-data-store.php:107 Stack trace: #0 /home/www/webex5/website.com/www/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(139): WC_Data_Store->__construct('admin') #1 /home/www/webex5/website.com/www/wp-content/plugins/woocommerce-wholesale-prices/includes/wc-admin-notes/class-wwp-install-acfw.php(95): WC_Data_Store::load('admin-note') #2 /home/www/webex5/website.com/www/wp-includes/class-wp-hook.php(287): WWP_Install_ACFW->dismiss_install_acfwf_note('') #3 /home/www/webex5/website.com/www/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #4 /home/www/webex5/website.com/www/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #5 /home/www/webex5/website.com/www/wp-admin/admin.php(170): do_action('admin_init') #6 /home/www/webex5/website.com/www/wp-admin/index.php(10): require_once('/home/www in /home/www/webex5/website.com/www/wp-content/plugins/woocommerce/includes/class-wc-data-store.php on line 107
And plugin report
### Active Plugins (33) ### InfiniteWP - Client: απ? τον/την Revmakx – 1.9.4.6 WooCommerce added to cart popup (Ajax): απ? τον/την XootiX – 1.5 – Η εγκατεστημ?νη ?κδοση δεν ε?ναι δοκιμασμ?νη με την ενεργ? ?κδοση του WooCommerce 4.1.1 Advanced Custom Fields PRO: απ? τον/την Elliot Condon – 5.8.11 BackWPup: απ? τον/την Inpsyde GmbH – 3.7.1 Better Search Replace: απ? τον/την Delicious Brains – 1.3.3 Classic Editor: απ? τον/την Συντελεστ?? WordPress – 1.5 Disable WooCommerce Admin: απ? τον/την – 1.0 – Η εγκατεστημ?νη ?κδοση δεν ε?ναι δοκιμασμ?νη με την ενεργ? ?κδοση του WooCommerce 4.1.1 EWWW Image Optimizer: απ? τον/την Exactly WWW – 5.3.2 instant.page: απ? τον/την Alexandre Dieulot – 5.1.0 Σ?νδεση ω? χρ?στη?: απ? τον/την Web357 – 1.2.1 Επαναδημιουργ?α Μικρογραφι?ν: απ? τον/την Alex Mills (Viper007Bond) – 3.1.3 Slider Revolution: απ? τον/την ThemePunch – 6.2.2 Search By SKU - for Woocommerce: απ? τον/την Unroll Digital – 0.7.0 – Η εγκατεστημ?νη ?κδοση δεν ε?ναι δοκιμασμ?νη με την ενεργ? ?κδοση του WooCommerce 4.1.1 WooCommerce Cash On Pickup: απ? τον/την Marian Kadanka – 1.5 – Η εγκατεστημ?νη ?κδοση δεν ε?ναι δοκιμασμ?νη με την ενεργ? ?κδοση του WooCommerce 4.1.1 WooCommerce Smart COD: απ? τον/την Stratos Vetsos – 1.4.9.6 – Η εγκατεστημ?νη ?κδοση δεν ε?ναι δοκιμασμ?νη με την ενεργ? ?κδοση του WooCommerce 4.1.1 Μεταφορικ? β?σει Ελληνικ?ν Νομ?ν απ? την Web Expert: απ? τον/την Web Expert – 1.0.0 Web Expert Greeklish Permalinks: απ? τον/την Web Expert – 1.0.0 Web Expert Service: απ? τον/την Web Expert – 1.0.8 Timologio for WooCommerce: απ? τον/την Web Expert – 1.0.13 – Η εγκατεστημ?νη ?κδοση δεν ε?ναι δοκιμασμ?νη με την ενεργ? ?κδοση του WooCommerce 4.1.1 Web Expert Eurobank WooCommerce Payment Gateway: απ? τον/την Web Expert – 1.0.18 – Η εγκατεστημ?νη ?κδοση δεν ε?ναι δοκιμασμ?νη με την ενεργ? ?κδοση του WooCommerce 4.1.1 WooCommerce Advanced Shipping - Advanced Pricing: απ? τον/την Jeroen Sormani – 2.2.1 – Η εγκατεστημ?νη ?κδοση δεν ε?ναι δοκιμασμ?νη με την ενεργ? ?κδοση του WooCommerce 4.1.1 WooCommerce Advanced Shipping: απ? τον/την Jeroen Sormani – 1.0.14 – Η εγκατεστημ?νη ?κδοση δεν ε?ναι δοκιμασμ?νη με την ενεργ? ?κδοση του WooCommerce 4.1.1 Π?νακα? προ??ντων του WooCommerce: απ? τον/την Barn2 Media – 2.4.1 – Η εγκατεστημ?νη ?κδοση δεν ε?ναι δοκιμασμ?νη με την ενεργ? ?κδοση του WooCommerce 4.1.1 WooCommerce Wholesale Prices Premium: απ? τον/την Rymera Web Co – 1.22 – Η εγκατεστημ?νη ?κδοση δεν ε?ναι δοκιμασμ?νη με την ενεργ? ?κδοση του WooCommerce 4.1.1 WooCommerce Wholesale Prices: απ? τον/την Rymera Web Co – 1.11.4 WooCommerce: απ? τον/την Automattic – 4.1.1 Yoast SEO: απ? τον/την Team Yoast – 14.2 WP Mail SMTP: απ? τον/την WPForms – 2.0.1 WP Rocket | Set Tablets As Mobile: απ? τον/την WP Rocket Support Team – WP Rocket | Deactivate WooCommerce Refresh Cart Fragments Cache: απ? τον/την WP Rocket Support Team – – Η εγκατεστημ?νη ?κδοση δεν ε?ναι δοκιμασμ?νη με την ενεργ? ?κδοση του WooCommerce 4.1.1 WP Rocket: απ? τον/την WP Media – 3.5.5.1 Smart Image Resize PRO: απ? τον/την Nabil Lemsieh – 1.3.9 – Η εγκατεστημ?νη ?κδοση δεν ε?ναι δοκιμασμ?νη με την ενεργ? ?κδοση του WooCommerce 4.1.1 Yoast SEO: WooCommerce: απ? τον/την Η ομ?δα του Yoast – 13.1
The problem remains with the 11.7
revert to 11.4 and it is okIf that helps (sorry but the language is greek)
if you want more info please askWordPress ?κδοση 5.4.1
Τρ?χων θ?μα: Flatsome Child (?κδοση 3.0)
Τρ?χων πρ?σθετο: WooCommerce (?κδοση 4.1.1)
?κδοση PHP 7.3.18Λεπτομ?ρειε? σφ?λματο?
===========================================
?να σφ?λμα τ?που E_ERROR εντοπ?στηκε στη γραμμ? 107 του αρχε?ου /var/www/vhosts/………./wp-content/plugins/woocommerce/includes/class-wc-data-store.php. Κωδικ?? σφ?λματο?: Uncaught Exception: Μη ?γκυρη αποθ?κευση δεδομ?νων. in /var/www/vhosts/………./wp-content/plugins/woocommerce/includes/class-wc-data-store.php:107
Stack trace:
#0 /var/www/vhosts/………/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(139): WC_Data_Store->__construct(‘admin’)
#1 /var/www/vhosts/………./wp-content/plugins/woocommerce-wholesale-prices/includes/wc-admin-notes/class-wwp-install-acfw.php(101): WC_Data_Store::load(‘admin-note’)
#2 /var/www/vhosts/……../wp-includes/class-wp-hook.php(287): WWP_Install_ACFW->dismiss_install_acfwf_note(”)
#3 /var/www/vhosts/………../wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
#4 /var/www/vhosts/………../wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#5 /var/www/vhosts/………./wp-admin/admin.php(170): do_action(‘admin_init’)
#6 /var/www/vhosts/………./wp-admin/update-core.php(10): require_Hi guys, with 4.1.* of WooCommerce it shouldn’t be a problem unless you haven’t run your WC database updates?
Can you confirm you have the wp_wc_admin_notes table in your database?
Cheers,
JoshIf you are still experiencing issues, I’d like to invite you both to reach out to our support folks so we can check on your environment, please lodge a ticket here and reference this forum post:
https://wholesalesuiteplugin.com/support/
Thanks
JoshYes I confirm I have wp_wc_admin_notes table. I also have disabled wc-admin via filter, hope that doesn’t affect that :/
Hope there is no problem with the Greeks ?? (joking)
I will send a ticket and willing to open a staging environment so you can check.
Haha, definitely no problem with the Greeks.. Opa!
I think that might be it. Can you paste the code you used to disable here. Can you also try removing that and see what happens?
The problem for has been solved.
I had disabled wc-admin with a plugin.
I removed it and everything is ok!Thanks for your support!!!
Following are the 2 files of the plugin in case you need to check them…
_______________________
READ ME FILE
=== Disable WooCommerce Bloat ===
Contributors: ospiotr
Tags: woocommerce,remove dashboard,disable woocommerce admin,disable analytics,remove woocommerce bloat,remove woocommerce dashboard
Stable tag: trunk
Requires at least: 5.0
Tested up to: 5.4.0
Requires PHP: 7.0
WC requires at least: 4.1.0
WC tested up to: 4.0
License: GNU General Public License v3.0
License URI: https://www.gnu.org/licenses/gpl-3.0.htmlDisables new WooCommerce Dashboard & Analytics & Marketing introduced in WooCommerce 4.0 & 4.1. Simply activate the plugin and disable Analytics section. No configuration needed.
== Description ==
If you don’t like or don’t need the features introduced in WooCommerce 4.0 and 4.1, just activate this tiny plugin and forget about them forever. This plugin completely disables:
* WooCommerce Admin – javascript-driven interface
* New reports view (Analytics)
* Notification bar
* Marketing Hub
*Connect your store to WooCommerce.com to receive extensions updates and support.
message for WooCommerce.com pluginsIt may be a good idea for small shops to disable the features that are not being used at all. Remove WooCommerce Admin and feel the speed of a clean WooCommerce. Disable WooCommerce Admin and never wait for a simple screen to load.
Remove Dashboard & Analytics & Marketing from WooCommerce 4.0 / 4.1. Disable Marketing menu in WooCommerce.
Simplify your WooCommerce admin panel. Use good, old, clean, fast WooCommerce!
If you want to completely get rid of this new function and clear your database, don’t forget to manually remove these tables from your database:
* wp_wc_admin_notes
* wp_wc_admin_note_actions
* wp_wc_category_lookup
* wp_wc_customer_lookup
* wp_wc_order_coupon_lookup
* wp_wc_order_product_lookup
* wp_wc_order_stats
* wp_wc_order_tax_lookup== Installation ==
1. Upload the entire
disable-dashboard-for-woocommerce
folder to the/wp-content/plugins/
directory
2. Activate the plugin through the ‘Plugins’ menu in WordPress
3. All done! No configuration needed== Screenshots ==
1. This plugin disables the new WooCommerce Admin package in WooCommerce.
2. Disable WooCommerce Analytics and deactivate WC Admin
3. Disable WooCommerce Notification bar
4. Disable Marketing Hub
5. DisableConnect your store to WooCommerce.com to receive extensions updates and support.
message for WooCommerce.com plugins== Changelog ==
= 1.1 =
* Added filter to remove Marketing hub introduced in WooCommerce 4.1
* Added filter to removeConnect your store to WooCommerce.com to receive extensions updates and support.
message for WooCommerce.com plugins= 1.0.1 =
* Added multisite compability
* Added support for all user roles= 1.0 =
* First release___________________________
PHP FILE
<?php
/**
* Plugin Name: Disable WooCommerce Bloat
* Description: Disables Dashboard & Analytics & Marketing introduced in WooCommerce 4.0 & 4.1. No configuration needed.
* Version: 1.1
* Author: ospiotr
* Developer: ospiotr
* Text Domain: disable-dashboard-for-woocommerce
* Domain Path: /languages
* Requires at least: 4.5
* Tested up to: 5.4
* Requires PHP: 5.6
* WC requires at least: 4.0
* WC tested up to: 4.0
* License: GNU General Public License v3.0
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/if ( ! defined( ‘ABSPATH’ ) ) {
exit; // Exit if accessed directly
}
add_filter( ‘woocommerce_admin_disabled’, ‘__return_true’ );
add_filter( ‘woocommerce_marketing_menu_items’, ‘__return_empty_array’ );
add_filter( ‘woocommerce_helper_suppress_admin_notices’, ‘__return_true’ );
?>We’ve released a new update for WooCommerce Wholesale Prices 1.11.8 with the improvement for WooCommerce Admin. It’ll work fine even when you have the WooCommerce Admin inactive. You may safely update your plugin now.
Cheers
- The topic ‘Fatal error class-wc-data-store.php:107’ is closed to new replies.