WooCommerce and POS issue
-
Hello All,
I ahve been setting up a POS system to syncronise with WooCommerce, the customer has a shop and sells online as well. In setting up the POS we noticed that although the products were loaded the customers were not. In the investigation their support team uncovered this error2023-04-04T09:15:08+00:00 CRITICAL Uncaught Error: Call to a member function getTimestamp() on null in /home/yanheal/public_html/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-customers-v2-controller.php:58
Stack trace:
#0 /home/yanheal/public_html/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version3/class-wc-rest-customers-controller.php(37): WC_REST_Customers_V2_Controller->get_formatted_item_data_core()
#1 /home/yanheal/public_html/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-customers-v2-controller.php(96): WC_REST_Customers_Controller->get_formatted_item_data()
#2 /home/yanheal/public_html/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php(276): WC_REST_Customers_V2_Controller->prepare_item_for_response()
#3 /home/yanheal/public_html/wp-includes/rest-api/class-wp-rest-server.php(1181): WC_REST_Customers_V1_Controller->get_items()
#4 /home/yanheal/public_html/wp-includes/rest-api/class-wp-rest-server.php(1028): WP_REST_Server->respond_to_request()
#5 /home/yanheal/public_html/wp-includes/rest-api/class-wp-rest-server.php(442): WP_REST_Server->dispatch()
#6 /home/yanheal/public_html/wp-includes/rest-api.php(410): WP_REST_Server->serve_request()
#7 /home/yanheal/public_html/wp-includes/class-wp-hook.php(308): rest_api_loaded()
#8 /home/yanheal/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#9 /home/yanheal/public_html/wp-includes/plugin.php(565): WP_Hook->do_action()
#10 /home/yanheal/public_html/wp-includes/class-wp.php(399): do_action_ref_array()
#11 /home/yanheal/public_html/wp-includes/class-wp.php(780): WP->parse_request()
#12 /home/yanheal/public_html/wp-includes/functions.php(1334): WP->main()
#13 /home/yanheal/public_html/wp-blog-header.php(16): wp()
#14 /home/yanheal/public_html/index.php(17): require('/home/yanheal/p...')
#15 {main}
thrown in /home/yanheal/public_html/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-customers-v2-controller.php on line 58
Has anyone encountered this before, do you know of a fix for this?
- The topic ‘WooCommerce and POS issue’ is closed to new replies.