Oh, a fellow suggested that I use @ in front of the command/function to stop the dislay of error messages in the browser and it worked ... or two of the error messages.
I had four and don't know where to place the @ in the remaining two.
These are the lines that begin with "foreach"
if (!empty($tags)) {
foreach ($tags as $tag) {
$feed = fetch_rss("http://www.youtube.com/rss/tag/".$tag.".rss");
$items = @ array_slice($feed->items, 0, $maxitems);
foreach ($items as $item) {
$item['link'] = str_replace("http://youtube.com/?v=", "", $item['link']);
if ($videos ='') {
$videofeed = $videofeed.$item['link']."@".$item['title'];
$videos = $videos.$videofeed;
}
else {
$videofeed = $videofeed."\n".$item['link']."@".$item['title'];
$videos = $videos.$videofeed;
}