Migrate data return an invalid argument supplied for foreach warning when _downloadable_files_ is empty
Closed this issue · 0 comments
roskno commented
When migrating the data with wp cli (wp product-tables migrate-data), if one (or more) of the meta values with meta key 'downdoable_files' is blank, the next warning appears:
Invalid argument supplied for foreach() in /wp-content/plugins/woocommerce-product-tables-feature/includes/class-wc-product-tables-migrate-data.php on line 85