I am getting the following errors

    Notice: Undefined index: title in video_embed_field_field_formatter_prepare_view() (line 205 of /home/content/49/8377749/html/sites/all/modules/video_embed_field/video_embed_field.module).
    Notice: Undefined index: playback_settings in video_embed_field_field_formatter_prepare_view() (line 205 of /home/content/49/8377749/html/sites/all/modules/video_embed_field/video_embed_field.module).
    Warning: array_merge() [function.array-merge]: Argument #2 is not an array in video_embed_field_field_formatter_prepare_view() (line 206 of /home/content/49/8377749/html/sites/all/modules/video_embed_field/video_embed_field.module).
    Notice: Undefined index: title in video_embed_field_field_formatter_prepare_view() (line 205 of /home/content/49/8377749/html/sites/all/modules/video_embed_field/video_embed_field.module).
    Notice: Undefined index: playback_settings in video_embed_field_field_formatter_prepare_view() (line 205 of /home/content/49/8377749/html/sites/all/modules/video_embed_field/video_embed_field.module).
    Warning: array_merge() [function.array-merge]: Argument #2 is not an array in video_embed_field_field_formatter_prepare_view() (line 206 of /home/content/49/8377749/html/sites/all/modules/video_embed_field/video_embed_field.module).
    Notice: Undefined index: title in video_embed_field_field_formatter_prepare_view() (line 205 of /home/content/49/8377749/html/sites/all/modules/video_embed_field/video_embed_field.module).
    Notice: Undefined index: playback_settings in video_embed_field_field_formatter_prepare_view() (line 205 of /home/content/49/8377749/html/sites/all/modules/video_embed_field/video_embed_field.module).
    Warning: array_merge() [function.array-merge]: Argument #2 is not an array in video_embed_field_field_formatter_prepare_view() (line 206 of /home/content/49/8377749/html/sites/all/modules/video_embed_field/video_embed_field.module).

Using the latest version of Bluemasters (7.x-1.2) for the theme, Drupal 7 as well as 7.x-1.0-alpha5 for this module. I tried clearing all caches and the error remains. These error show up on a page with the video embed field using Youtube links. The videos still however embed and play, so these errors don't seem to affect functionality. Please let me know if you need any more information.

Comments

k.halterman’s picture

Getting similar errors after a new install:

Notice: Undefined index: title in video_embed_field_field_formatter_prepare_view() (line 205 of /home/content/49/8485049/html/aftermath/sites/all/modules/video_embed_field/video_embed_field.module).
Notice: Undefined index: in video_embed_field_field_formatter_prepare_view() (line 205 of /home/content/49/8485049/html/aftermath/sites/all/modules/video_embed_field/video_embed_field.module).
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in video_embed_field_field_formatter_prepare_view() (line 206 of /home/content/49/8485049/html/aftermath/sites/all/modules/video_embed_field/video_embed_field.module).

Any help on this issue?

juhovaltonen’s picture

I can confirm this issue and it's active only with youtube short links (http://youtu.be/[id]).

cbeier’s picture

I had a similar problem after updating the module from version 7.x-1.0-alpha4 to alpha5.

Notice: Undefined index: playback_settings in video_embed_field_field_formatter_prepare_view() (Zeile 205 von /Volumes/ma16/ma16/sites/all/modules/contrib/video_embed_field/video_embed_field.module).
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in video_embed_field_field_formatter_prepare_view() (Zeile 206 von /Volumes/ma16/ma16/sites/all/modules/contrib/video_embed_field/video_embed_field.module).

After a downgrade to alpha4 it works again.

sra1’s picture

I tried changing the youtube links to their full addresses rather than using the short links. I cleared the cache and I am still getting several errors:

    Notice: Undefined index: playback_settings in video_embed_field_field_formatter_prepare_view() (line 205 of /home/content/49/8377749/html/sites/all/modules/video_embed_field/video_embed_field.module).
    Warning: array_merge() [function.array-merge]: Argument #2 is not an array in video_embed_field_field_formatter_prepare_view() (line 206 of /home/content/49/8377749/html/sites/all/modules/video_embed_field/video_embed_field.module).
    Notice: Undefined index: playback_settings in video_embed_field_field_formatter_prepare_view() (line 205 of /home/content/49/8377749/html/sites/all/modules/video_embed_field/video_embed_field.module).
    Warning: array_merge() [function.array-merge]: Argument #2 is not an array in video_embed_field_field_formatter_prepare_view() (line 206 of /home/content/49/8377749/html/sites/all/modules/video_embed_field/video_embed_field.module).
    Notice: Undefined index: playback_settings in video_embed_field_field_formatter_prepare_view() (line 205 of /home/content/49/8377749/html/sites/all/modules/video_embed_field/video_embed_field.module).
    Warning: array_merge() [function.array-merge]: Argument #2 is not an array in video_embed_field_field_formatter_prepare_view() (line 206 of /home/content/49/8377749/html/sites/all/modules/video_embed_field/video_embed_field.module).
hyonkiyoo’s picture

Same here... Had to use the top link addy or embed portion. I will try tomorrow if it deals with my settings changing over to teaser small image.

hyonkiyoo’s picture

The short link is the main issue, it appears that it causes the errors still.

This issue as well as the whitespace after the url is still causing problems.

jec006’s picture

Status: Active » Fixed

Hi Guys,

I found a bug where the form wasn't being properly added to a field if the field existed before alpha4. I have fixed that.

I have also made it so the module won't throw errors on user pages if the new settings aren't saved properly. There is now an entry in the status report for this problem.

That said, all your old settings are gone now, so you will need to resave the fields with the proper settings (since settings were moved from variables to the field settings).

Commit here: http://drupalcode.org/project/video_embed_field.git/commit/9fcf548

Status: Fixed » Closed (fixed)

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