The Duchess of Sussex was due to speak about online child safety.