Sounds like a known issue with electric fence posts (in rare cases - very rare cases - generators) where it's not hooking up properly in code (long story short). Usually they will have issues like wires drooping like the posts are broken, hooked up to the bottom etc.
Unhooking, picking up the posts, then placing them back down and re-wiring usually fixes this. Each error will mean one hookup. Worst case and easiest fix is to delete the power.dat and power.bak from the saved game folder. Note this will delete any batteries, gas, ammo, solar panels, etc. stored in any generators/traps/etc., so remove those first. It will also remove all the wiring so you'll have to re-do all of that. But, it's worked a couple of times doing that myself in testing, ofc your milage may vary.
Hope this helps. But yes, anything further we would need a log, info found in the link BFT2020 posted.