You're trying to use a command that isn't available when you're in offline mode. For example, any command that requires a connection to the server.
For more information, see Working Offline.