backdrop-contrib / video_embed_field

Video Embed field creates a simple field type called Video Embed that allows you to embed videos from YouTube and Vimeo or show their thumbnail previews simply by entering the video's url.
GNU General Public License v2.0
1 stars 5 forks source link

Feeds import warning: "Parameter must be an array or an object that implements Countable" #14

Closed laryn closed 2 years ago

laryn commented 3 years ago

An initial guess is that these warnings occur on lines of the import that don't have a value for the video URL field.

laryn commented 2 years ago

Today, on an attempted import that does contain video URLs on every line:

Notice: Undefined index: video_url in video_embed_field_set_target() (line 57 of /app/modules/contrib/video_embed_field/video_embed_field.feeds.inc).

Warning: count(): Parameter must be an array or an object that implements Countable in video_embed_field_set_target() (line 57 of /app/modules/contrib/video_embed_field/video_embed_field.feeds.inc).

laryn commented 2 years ago

Interestingly, it seems the videos did import.