To clarify, it is NOT from too much magnesium. It is from magnesium deficiency. This can be from either the absence of enough mag in the nutrient solution OR this can be from a magnesium lockout (which is what I'm presuming). A lockout occurs when the particular nutrient IS present, HOWEVER it is not bio available for uptake by the plant. The most common cause is from ph. When reading that chart that auto posted, the bars indicate at what ph range the particular nute is available to the plant. If you examine the mg bar in the hydroponic graph you will notice that at a ph of 5.7 (which is what you stated your res was at) mg is no longer available to the plant. That is a 'lockout' situation. ALSO, a lockout can be caused by improper mixing of the nutrients as well. The MICRO fert must ALWAYS be added to the res water FIRST. I am not a scientist so I can not tell you EXACTLY why that is. But in general, my understanding is that if you add the grow/bloom first, it stops the micro from properly mixing with the water and/or the micro nutes bond to the grow/bloom fert nute compounds and are then no longer 'mobile' and free for the plant to absorb. It is a chemistry lesson I do not fully understand either but it is certainly fact. Long story short, if you are not adding the micro to the water FIRST, then you will have problems. Most people tend to recommend adding the nutes in this order 1.Micro 2.Grow 3.Bloom.
So again, adjust your ph to 5.8-5.9, and start adding the ferts in the proper order and that will def help your problem I would all but guarantee.
Also check the picture I posted in my last post on toxic salts. Look at the image for Mg deficiency. You may need to squint or utilize the zoom in you web browser to read it. There is some good info on that pic...including a foliar feed recipe for mag deficiency involving epsom salts that (along with the above suggestions of raising ph and mixing micro first) will speed up the process of correcting the deficiency. You will likely lose some foliage/leaves that was too far damaged and was gonna die anyways...but it looks like since you are just starting into flowering, if you correct the problem quickly, you should still get a decent harvest of bud. It's likely that yield will be somewhat affected (lower) than what 'could have been', but all is certainly not lost! Good luck with ur grow bro, and let us know how treatment goes.
Peace

-Shadowbuck