You don't have a diary so we can see what the progress was and how your treating her needs which helps determine the problem. This could be several different things. PH, nutrient, watering, environment, root. The buds I can barely see in the pics show she is just weeks away from being ready, your running out of time for her to heal. Pay close attention to the trichomes and harvest before your buds start dying.
Where did it start, bottom, all at once? You have to rule out her needs one by one before throwing nutrients at her. What is your PH when watering, feeding? If nutrient its a nitrogen, magnesium issue but she may be locked out.
I have never seen the whole plant go yellow even when only using plain PH'd water the last bit of flowering.
Roots could be damaged, water logged. Heat stress or to cold. So make sure her environment and growing conditions are met first, if you try nutrients first your bound to kill her or make things worse.
Good luck