There is no real problem. PHP yields a Notice not a Warning or Error. Basically, your script is not receiving the p
URL parameter. So it uses '' and gives a notice in the log. If you see this message on your rendered page, adjust php error reporting to something like E_ERROR | E_WARNING
in PHP.ini