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

decafdennis’s picture

Status: Active » Fixed

Actually, 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.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.