critical error in add new page
-
I get this error ina “/wp-admin/post-new.php?post_type=nm_gift_registry” page!
Fatal error: Uncaught Error: Call to a member function get() on null in \wp-content\plugins\woocommerce\includes\data-stores\class-wc-customer-data-store-session.php:96 Stack trace: #0 \wp-content\plugins\woocommerce\includes\class-wc-data-store.php(159): WC_Customer_Data_Store_Session->read(Object(WC_Customer)) #1 \wp-content\plugins\woocommerce\includes\class-wc-customer.php(116): WC_Data_Store->read(Object(WC_Customer)) #2 \wp-content\plugins\woocommerce\includes\class-wc-checkout.php(1197): WC_Customer->__construct(1, true) #3 \wp-content\plugins\states-cities-and-places-for-woocommerce\states-cities-and-places-for-woocommerce.php(198): WC_Checkout->get_value(‘shipping_countr…’) #4 \wp-includes\class-wp-hook.php(287): WC_States_Places->wc_form_field_city(‘<p class=”form-…’, ‘shipping_city’, Array, NULL) #5 \wp-includes\plugin.php(206): WP_Hook->apply_filte in \wp-content\plugins\woocommerce\includes\data-stores\class-wc-customer-data-store-session.php on line 96
- The topic ‘critical error in add new page’ is closed to new replies.