Welcome to the forum. Sorry this happened to you, but I'm glad to read that you got it figured out.
I understand your frustration, but with all due respect this is hardly a "common problem" with these bikes. Yamaha has built and sold over 12,000 of these bikes since 2008, each with a couple dozen plug-in wiring connectors, and this issue is very rarely reported here or in the other WRR/X forums on Facebook, Thumpertalk, and ADVrider.
Not sure why you think Honda is a more reliable brand than Yamaha, but I'm pretty sure you won't find similar features and performance on Honda's less expensive CRF250L.
You might be interested to learn that Consumer Reports polled subscribers regarding motorcycle reliability in 2014 and again in 2015, reviewing a total of 17,000 motorcycles. Yamaha was rated highest in reliability by owners in both years.
http://www.consumerreports.org/cro/news/2015/04/who-makes-the-most-reliable-motorcycle/index.htm
https://rideapart.com/articles/most-reliable-motorcycles
Interestingly enough the most common problem, reported by 21% of owners in the first poll, was with "lights, instruments, switches and radios".