Simple question. Is there a simple way to get PHP and / or MySQL error reporting to let me know which page or link sent them to the current page where they are having the error?
I get my errors sent to my admin email (where I look through them to eventually fix the errors) and it seems somehow people are getting to a page that I would assume required $_GET variable to be passed, but that variable is not being passed to the new / current page. Unfortunately there might be multiple ways to get to the current page so it'd help if I could narrow down which link is sending them to the page without the $_GET variable.
Any help would be appreciated. Thank you.