error_reporting not to offer!
The bottom line is what? Page a includes page b , before performing certain actions that do not include POST and GET requests, you need to hide the Undefined offset : error. The error results from the missing parameter in the array. Running the error of course disappears!