Recently I got this error, triggered by third party code:
Serialization of \'Closure\' is not allowed
I know what the error means, and reproducin