disabling debug mode in config.php ONLY if it is enabled that is, and uncommenting always_populate_raw_post_data = -1 in the php.ini file
if on shared hosted server then you can edit the php.ini file from the cpanel as well. This does work and have tested locally.