PHP debug mode warning fixed.