Look at the url and that will tell you what the $_GET variable should be set to. Probably id since it would most likely match the other page.
Attach the page you are working on and I can try to see what else is wrong. The first error was probably fixed by your variable update and the other issue is somewhere else on the page so I'll need to have more information.