Ok, so I gave the mod a go myself, and here is the stack trace:
The mod Personal Logistics Templates (999.999.999) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event personal-logistics-templates::on_player_removed (ID 75)
__personal-logistics-templates__/scripts/gui.lua:147: attempt to index local 'player' (a nil value)
stack traceback:
__personal-logistics-templates__/scripts/gui.lua:147: in function 'destroy_player_data'
__personal-logistics-templates__/scripts/main.lua:59: in function 'destroy_player_data'
__personal-logistics-templates__/scripts/handlers.lua:40: in function <__personal-logistics-templates__/scripts/handlers.lua:37>
So, had a quick look, and basically it's a bug on personal logistics templates side - I am depending on wrong handler invocation when cleaning-up the data. I'll try to release a fix soon-ish :)
(in essence, using on_player_removed
instead of on_pre_player_removed
)