Fixed causes of PHP debug output