Currently Wikipedia has the same error:
https://en.wikipedia.org/wiki/Van_%27t_Hoff_equation
In the section: "development from thermodynamics", $\Delta H^\circ$ is actually not constant with temperature, so can't be treated as a constant when differentiating that line