Errors Importing Variable Subscription products
-
Hi, I’ve purchased the Woocommerce Subscriptions plugin and I have tried for hours to use the inbuilt Import/Export function – a plugin which the help docs say is supported in this function.
Replication steps:
1. Create a Variable Subscription product with a few variations
2. Use the Export function from the Products listing screen
3. Use the Import function (update product info checked) to import the file you just exported.
It errors saying “Invalid product type.” on all of the variations, and only imports the primary products.I tried simply marking the Type field as “do not import”, at which point attempting to do the import process just hangs, with this in the logs (edited for security):
2019-01-30T11:56:52+00:00 CRITICAL Uncaught Error: Call to a member function get_name() on string in /home/domain.com/public_html/wp-content/plugins/woocommerce/includes/import/abstract-wc-product-importer.php:346 Stack trace: #0 /home/domain.com/public_html/wp-content/plugins/woocommerce/includes/import/abstract-wc-product-importer.php(253): WC_Product_Importer->set_product_data(Object(WC_Product_Subscription_Variation), Array) #1 /home/domain.com/public_html/wp-content/plugins/woocommerce/includes/import/class-wc-product-csv-importer.php(968): WC_Product_Importer->process_item(Array) #2 /home/domain.com/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-importers.php(231): WC_Product_CSV_Importer->import() #3 /home/domain.com/public_html/wp-includes/class-wp-hook.php(286): WC_Admin_Importers->do_ajax_product_import('') #4 /home/domain.com/public_html/wp-includes/class-wp-h in /home/domain.com/public_html/wp-content/plugins/woocommerce/includes/import/abstract-wc-product-importer.php on line 346
I’m not familiar enough with PHP to attempt to troubleshoot this any further.
None of the product import plugins appear to be able to handle this – I’ve bought two of them today just to make sure, and this inbuilt one is the closest and would be great if not for this!Any help appreciated.
- The topic ‘Errors Importing Variable Subscription products’ is closed to new replies.