Here’s a similar thread from Tech Support. It suggests running the scan and repair as well as a UI Reset. Instructions for both can be found in the blue post:
https://us.forums.blizzard.com/en/wow/t/error-code-wow51900325-when-switching-toons/752003/2