I was connecting a green wire from the input of a decider combinator ghost, to a medium power pole, to the input of a different (non-ghost) decider combinator.
The mod Protocol's Extended Runtime Event Library (1.0.6) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event perel::perel-build (ID 266)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
[C]: in function 'index'
__perel/scripts/circuit_network.lua:207: in function 'handler'
perel/handlers.lua:71: in function <perel/handlers.lua:70>