The effect of light quality and intensity
Even when the plants are fed with a nutrient solution that contains all of the necessary macronutrients and micronutrients, careful monitoring and precise nutrient dosing, magnesium deficiency can still occur. There are several factors that can contribute to magnesium deficiency in cannabis plants, these include pH imbalances, nutrient lockout, and environmental stressors.
Furthermore, according to Ryan, both light quality and intensity can have an influence on nutrients. His explanation describes a very specific yet often occurring situation growers have to deal with frequently; "An HPS has a lot of yellow and orange within that light spectrum, and the infrared, it can damage the proteins within your plant. These are clearly essential for e.g., transferring all the photosynthetic production within the plant. Once these proteins become damaged, signs of early yellowing appear, which results in growers thinking they lack nitrogen, calcium, and/or magnesium".