Removed error_log() call