How to Remove warnings in PHP
It is better if you go deeply in code and solve the issue. Although you dont want to fix the problem and just hide the warning messages , I have a little solution for it.To remove only Warning Message Put below function and enjoy....
ini_set("display_errors",0);
Or
error_reporting(E_ERROR | E_PARSE);