{"action":"closed","issue":{"url":"https://api.github.com/repos/woocommerce/woocommerce-product-tables-feature-plugin/issues/109","repository_url":"https://api.github.com/repos/woocommerce/woocommerce-product-tables-feature-plugin","labels_url":"https://api.github.com/repos/woocommerce/woocommerce-product-tables-feature-plugin/issues/109/labels{/name}","comments_url":"https://api.github.com/repos/woocommerce/woocommerce-product-tables-feature-plugin/issues/109/comments","events_url":"https://api.github.com/repos/woocommerce/woocommerce-product-tables-feature-plugin/issues/109/events","html_url":"https://github.com/woocommerce/woocommerce-product-tables-feature-plugin/issues/109","id":342258057,"node_id":"MDU6SXNzdWUzNDIyNTgwNTc=","number":109,"title":"Migrate data return an invalid argument supplied for foreach warning when _downloadable_files_ is empty","user":{"login":"roskno","id":9321989,"node_id":"MDQ6VXNlcjkzMjE5ODk=","avatar_url":"https://avatars2.githubusercontent.com/u/9321989?v=4","gravatar_id":"","url":"https://api.github.com/users/roskno","html_url":"https://github.com/roskno","followers_url":"https://api.github.com/users/roskno/followers","following_url":"https://api.github.com/users/roskno/following{/other_user}","gists_url":"https://api.github.com/users/roskno/gists{/gist_id}","starred_url":"https://api.github.com/users/roskno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roskno/subscriptions","organizations_url":"https://api.github.com/users/roskno/orgs","repos_url":"https://api.github.com/users/roskno/repos","events_url":"https://api.github.com/users/roskno/events{/privacy}","received_events_url":"https://api.github.com/users/roskno/received_events","type":"User","site_admin":false},"labels":[{"id":721693916,"node_id":"MDU6TGFiZWw3MjE2OTM5MTY=","url":"https://api.github.com/repos/woocommerce/woocommerce-product-tables-feature-plugin/labels/Type:%20Bug","name":"Type: Bug","color":"F21B3F","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-18T09:55:09Z","updated_at":"2018-07-19T14:33:42Z","closed_at":"2018-07-19T14:33:42Z","author_association":"NONE","body":"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:\r\n\r\n> Invalid argument supplied for foreach() in /wp-content/plugins/woocommerce-product-tables-feature/includes/class-wc-product-tables-migrate-data.php on line 85\r\n\r\n"}}
{"actor":{"display_login":"claudiosanches"}}