No, I have not moved from a staging site. My website had been perfectly running and Yoast was doing good but since last 2 months I am facing this problem.
Yes, I ran SEO data optimization analysis (that’s how it fixed the problem at that point of time but again the cannonical was changed after some days)