This topic contains 3 replies, has 2 voices, and was last updated by Mark Mark 1 year ago.

  • Author
    Posts
  • #77469
    Tracy
    Tracy
    Participant

    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?

  • #77880
    Mark
    Mark
    Keymaster

    Hi,

    You may please keep the user email in customer_email column in the importing CSV to connect existing users to subscriptions.

  • #78103
    Tracy
    Tracy
    Participant

    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.

  • #78464
    Mark
    Mark
    Keymaster

    Hi,

    As per our communication on support desk, we have notified developers regarding the warning and will be fixed in the coming update.

You must be logged in to reply to this topic.