Using the HEAD release, I was getting the following error:
Undefined index: parent in /var/www/vhosts/scf6/htdocs/sites/all/modules/contrib/taxonomy_csv/taxonomy_csv.module on line 233.
because I was using the TAXONOMY_CSV_FIELDS option rather than TAXONOMY_CSV_CHILDREN, and so term['parent'] was never getting set in this case in taxonomy_csv_import_line(). So I fixed it by just adding
'parent' => NULL,
as line 215.
Comments
Comment #1
decafdennis commentedActually, it's just a notice, not an error. I can't seem to reproduce it since it appears Drupal ignores PHP notices. However, if you do get the notice, let's get it fixed.
I added a
isset($term['parent'])check which should prevent the notice from being shown in the future.I'm sorry I published the 1.3 release before fixing this bug. Please try the latest development packages and let me know if you can still see the notice.
Thanks.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.