Pumpkins can be very bad for Hedgehogs
There is a lot of publicity this year based on info from The Woodland Trust about leaving your pumpkins where they can be eaten by hedgehogs, and even attract other unwanted animals such as rats. There are much better uses or ways to dispose of your discarded Halloween lantern,
This article from ITV gives more information