I'm working with Legendre polynomials (& associated ones). When I do the following calculation:
Table[Integrate[LegendreP[k, 0, Cos[η]] * Sin[η], {η, 0, Pi}], {k, 0, 10}] I tried out one particular value of k to see the calculation time:
Timing[Integrate[LegendreP[k, 0, Cos[η]] * Sin[η], {η, 0, Pi}] /. k -> 0] That is when I found this different result /. causes: 
I do have a way to get around this issue, but I really want to know why the Replace[] can cause this indeterminate result and all the warning messages.
Thank you!

Integrate[LegendreP[k, 0, Cos[η]] Sin[η], {η, 0, π}], and then considerLimit[Integrate[LegendreP[k, 0, Cos[η]] Sin[η], {η, 0, π}], k -> 0]. $\endgroup$Timing[Integrate[LegendreP[k, 0, Cos[η]]*Sin[η] /. k -> 0, {η, 0, Pi}]]$\endgroup$