This error happens when viewing node with brightcove empty field. Checking if $items are not empty resolve my issue. (I haven't check all the issue queue - please close if duplicate)

Attached patch.

CommentFileSizeAuthor
jw_player.patch491 bytesnathanjo
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

nathanjo’s picture

Sorry, brightcove is supposedly for other issue - please ignore that term.

Thanks!

nathanjo’s picture

Title: Undefined index: widget in brightcove_field_browser_validate » Undefined variable: item in jw_player_field_formatter_view
deanflory’s picture

Issue summary: View changes

Is this still an issue?

ron_s’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev
Status: Needs review » Closed (duplicate)
Related issues: +#2713725: Refactor theming

count($items) > 0 is included in our 7.x-2.x refactor theming patch, so we can mark this as closed.