How to fix these PHP Warnings with the “Feed JSON” plug-in?

Probably get_the_tags() is returning an empty array. Try changing the function to:

$my_tags = get_the_tags();
if ($my_tags){
    foreach($my_tags as $tag) {
        $tags[] = $tag->name; 
    }
}