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

  1. JLMacDonald
    Posted 3 years 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.


Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic