For chat errors such as "you cannot type in chat" or "you cannot send message", you will need to access your chat settings in game:
To turn on chatting in game, please launch Minecraft and click Play > Options > Chat Settings. Make sure the upper left hand button says Chat:Shown.
To type in game, press the T key, type what you want to say, and hit enter.