We are in the process of migrating our subscriptions from a perl based script into WooCommerce Subscriptions. Are members are all set up in the database and I am trying to import Subscription item into the existing user using their user names. Yet I am getting an error saying that it can’t create user without an email address. Yet I do not want to create new users I want to add subscription products to the existing ones.
What do I need to do / doing wrong?
Thank you that worked but we are getting an error in the php log whenever an import is run.
What is this message actually telling us? Do we need to worry about it? Is there something we need to do differently?
variation_data was called incorrectly. Product properties should not be accessed directly. Backtrace: do_action(‘wp_ajax_woocommerce_csv_subscription_order_import_request’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, wf_subcription_orderImpExpCsv_AJAX_Handler->csv_order_import_request, wf_subcription_orderImpExpCsv_Importer::subscription_order_importer, wf_subcription_orderImpExpCsv_Order_Import->dispatch, wf_subcription_orderImpExpCsv_Order_Import->import, wf_subcription_orderImpExpCsv_Order_Import->process_subscription_orders, wf_subcription_orderImpExpCsv_Order_Import::add_product, WC_Product_Subscription->__get, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.