Title: critical error help
Last modified: July 22, 2020

---

# critical error help

 *  Resolved [ouzifeng](https://wordpress.org/support/users/ouzifeng/)
 * (@ouzifeng)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/critical-error-help/)
 * Hi,
 * We are trying to pull product API data from [https://www.cwfishingsupplies.co.uk](https://www.cwfishingsupplies.co.uk)
   via Woocommerce’s API (running latest version as of today 22/07/2020)
 * Legacy API is ticked
    Have deactivated all plugins
 * Error seems to be coming from within WooCommerce itself, here is the log:
 * 2020-06-21T20:12:33+00:00 CRITICAL Uncaught Error: Call to a member function 
   get() on null in /var/www/wp-content/plugins/woocommerce/includes/data-stores/
   class-wc-customer-data-store-session.php:96
    Stack trace: #0 /var/www/wp-content/
   plugins/woocommerce/includes/class-wc-data-store.php(159): WC_Customer_Data_Store_Session-
   >read(Object(WC_Customer)) #1 /var/www/wp-content/plugins/woocommerce/includes/
   class-wc-customer.php(116): WC_Data_Store->read(Object(WC_Customer)) #2 /var/
   www/wp-content/plugins/woocommerce/includes/class-wc-cache-helper.php(130): WC_Customer-
   >__construct(0, true) #3 /var/www/wp-content/plugins/woocommerce/includes/class-
   wc-cache-helper.php(161): WC_Cache_Helper::geolocation_ajax_get_location_hash()#
   4 /var/www/wp-includes/class-wp-hook.php(287): WC_Cache_Helper::geolocation_ajax_redirect(”)#
   5 /var/www/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)#
   6 /var/www/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #7 /var/www/
   wp-includes/template-loader.php(13): do_action(‘template_redire…’) #8 in /var/
   www/wp-content/plugins/woocommerce/includes/data-stores/class-wc-customer-data-
   store-session.php on line 96
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcritical-error-help%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Rynald0s](https://wordpress.org/support/users/rynald0s/)
 * (@rynald0s)
 * Automattic Happiness Engineer
 * [5 years, 8 months ago](https://wordpress.org/support/topic/critical-error-help/#post-13164686)
 * Hi [@ouzifeng](https://wordpress.org/support/users/ouzifeng/)!
 * This is usually due to a theme or plugin conflict. I know you’ve already disabled
   your plugins, but could you also switch to another default WordPress theme, like
   [Storefront](https://wordpress.org/themes/storefront/), to see if the issue exists
   there?
 * Additionally, have you integrated the MaxMind Geolocation, and if so, what settings
   do you have in place?
 * Cheers!
 *  [dougaitken](https://wordpress.org/support/users/dougaitken/)
 * (@dougaitken)
 * Automattic Happiness Engineer
 * [5 years, 8 months ago](https://wordpress.org/support/topic/critical-error-help/#post-13216744)
 * Hey [@ouzifeng](https://wordpress.org/support/users/ouzifeng/)
 * 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.
 * Thanks,
 *  Thread Starter [ouzifeng](https://wordpress.org/support/users/ouzifeng/)
 * (@ouzifeng)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/critical-error-help/#post-13216759)
 * Hi,
 * Apologies for the late reply, it appears I didn’t have automated email followups
   set. Will try the suggested solution and relay to geo location settings

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘critical error help’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)
 * [critical error](https://wordpress.org/support/topic-tag/critical-error/)
 * [log](https://wordpress.org/support/topic-tag/log/)

 * 3 replies
 * 3 participants
 * Last reply from: [ouzifeng](https://wordpress.org/support/users/ouzifeng/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/critical-error-help/#post-13216759)
 * Status: resolved