The short version
On launch night some players who joined WoW Forever with an Invite-A-Friend code could not level past 10, use certain chat channels, join a guild, form a group or trade. Blizzard fixed it with a hotfix on 5 November. If it happened to you, log out and log back in (Blizzard post (opens in a new tab)).
What was wrong
The game treated these players as if their account had limits that an Invite-A-Friend code should not bring. Blizzard says the restrictions were unexpected. Nothing is needed from you apart from logging in again.
About the codes
Upgrade buyers got launch codes by email: one with the Skyborne Heroic Pack, three with the Epic Pack and the Collection. A friend who redeems one can play without a subscription or Game Time during launch week, 4 to 11 November (pre-purchase article (opens in a new tab)).
Still stuck?
Blizzard’s post does not say what to do if logging in again does not help. Reply on the Blizzard forum thread (opens in a new tab) or contact Blizzard support. Other launch week steps are on the launch checklist.