WordPress.org

Ready to get started?Download WordPress

Forums

Youtube Channel Gallery
Generated a foreach() error when playlist contained one video (1 post)

  1. JLMacDonald
    Member
    Posted 9 months ago #

    To get familiar with the plugin's settings and functionality, I originally entered in a playlist that contained 20 videos. Once I got the settings/layout to what I wanted, I changed the "user" parameter to my company's playlist, which currently only contains 1 video. When I did this, I got this error on the page:

    Warning: Invalid argument supplied for foreach() in C:\inetpub\CMJ Website\wp-content\plugins\youtube-channel-gallery\youtube-channel-gallery.php on line 618

    Seeing as this error was only generated when I changed that one setting and how the playlist only has 1 video, I'm thinking the plugin crashes because it assumed a playlist would have more than one video.

    http://wordpress.org/extend/plugins/youtube-channel-gallery/

Reply

You must log in to post.

About this Plugin

About this Topic