Replace in line 325 and around the line with the following example (change variable names): print "?continent=".$output_continent; => print "?continent="; print $output_continent;
This just makes the error message go away. $output_continent is (at least sometimes) unintialized at this point. Try initializing it with some sane default (e.g. '').
Regards Michael