check wp error