Second, you need to get your love for technology back. It is still there, but it manifests as hate. My theory of burnout is that it arises when the amount of effort you put in is disproportionally large compared to perceived payoffs. The brain just does a ROI calculation and refuses to put more effort in. To combat that, you need some easy successes. Try doing some small fun project and bring it to completion (for some definition of completion that makes you excited). This should bring back your confidence and excitement.
Third, you need to think strategically about your career. The truth is, for run-off-the-mill web development returns on experience taper off after a few years, so you are at disadvantage compared to younger folks that haven't lost their enthusiasm yet and are prepared to work long hours for less pay. So to make yourself desirable in the eyes of employers, you have to offer them something those people don't have. One option is to go into management (no need to scoff at it, it is hard, offers plenty of opportunity for growth and is exactly the area where older folks can shine). Another is to specialize and become an "expert in X" - maybe in some subject area or in distributed systems or machine learning. Think about what most suits you.
Good luck.