Writing thesis with corrected data after being published Lack of a systematic strict supervision has lead to inaccuracies in data evaluation. This data was published. While writing thesis I realize that and I don't know what to do. Should I write my "reanalysis" of published data in PhD chapters and explain, what was done incorrect and limitations of the interpretation? Or should I issue errata on the published materials (which is a red flag for thesis and following defense)? 

I have learned my lesson for future and will be more accurate and precise. I do realize that it is the main stone of a good scientific practice. But now I just failed. 
I feel that I need an advice of what to do with an actual situation to reach defense and be able to complete PhD studies?
Talk to your advisor.
write the thesis with the most up-to-date data. Analyse the data as a progression if necessary ie including the historical data if applicable - see 1...
contact the journal / editor (may or may not be the same editor you used when publishing originally and decide whether a follow-up paper or an erratum should be the way forward.