This was in sandbox mode. Spawned as a player. Enemies started attacking the things it broke and this came. I tested destroying it myself and this happened.
maybe
if neighbour and neighbour.valid then --stuff-- end
Stacktrace:
Error while running event elevated-pipes::on_tick (ID 0)
elevated-pipes/control.lua:243: attempt to index local 'neighbour' (a nil value)
stack traceback:
elevated-pipes/control.lua:243: in function 'update_elevated_pipes_for_surface'
elevated-pipes/control.lua:152: in function <elevated-pipes/control.lua:149>