The issue is a PHP warning message:

Warning: Illegal string offset 'tid' in bulk_media_upload_upload_form_submit() (line 113 of /var/www/vhosts/.../sites/all/modules/bulk_media_upload/bulk_media_upload.upload.inc).

It can be invoked when generating new node entities using Bulk Media Upload at page admin/content/file/bulk_upload. The message is displayed after the completion of the batch at page admin/content/media/bulk_upload/summary (or missing page page admin/content/file/bulk_upload/summary, see https://drupal.org/node/2149147).

In order to fix the warning, at file bulk_media_upload.upload.inc, function bulk_media_upload_upload_form_submit():

        foreach ($form_state['values']['default_values'][$field['field_name']][LANGUAGE_NONE] as $key => $term) {
          if($term['tid'] == 'autocreate'){
            // Create term.

Change line 113 (7.x-1.x-dev version at 23 Jan 2014) to:

          if (isset($term['tid']) && ($term['tid'] == 'autocreate')) {
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Wtower’s picture

Status: Active » Needs review
FileSize
699 bytes

Patch attached.

gsomething’s picture

Thanks for posting. The patch fixed my issue!