Error is caused by UnityPurchasing and this is a bug that occurs sometimes.
1.Go to Windows --> Services or Ctrl+0 and it should open a tab.
2.Sign in on that tab.
3.Finally, enable the Unity services that you're using after signing in.
In your case, I see UnityEngine.Purchasing.ProductCatalog
in the error log and this means that you're using the "In-App Purchasing" service. So, enable the "In-App Purchasing" service in the Service tab.
If you still have issues, do the following:
1.Go to the <ProjectDirectory>/Assets/Plugins
path
2.Delete the UnityPurchasing folder. You may have many error but just ignore it.
3.Restart the Editor.
4.Open Windows --> Services then sign in again. Re-enable the services.