Changed error type to E_USER_WARNING