Caravan plugs and sockets are notoriously poor quality.....have a look at the terminals ( you may see the copper turning black) and particularly the earth connections within.
Also incorrectly fitted bulbs will give all sorts of red herrings - especially twin terminal stop/ tail fittings.
Consider converting to LED fittings if you don’t already have them!
John