As Michael stated it is not really indicative of a bug. I would suspect a bot is trying to run a script without variables something you would never have done in normal program operation
This should explain how to setup a robots.txt to disallow certain web pages from being viewed
The Web Robots Pages