Fixed PHP log issue