I'm thinking $_GET['venue_id'] doesn't exist. I don't have a copy of your page, so I'm not really sure about the context.
For this code to work you would need a url like: pagename.php?venue_id=2
If you aren't linking into that page with a venue id then the error will occur.