I am seeing this same error when I configure my n8n version 0.227.1 in docker to use queue for executions and add two extra workers.
{"level":"error","message":"TypeError: Cannot read properties of undefined (reading 'add')","metadata":{"file":"ErrorReporterProxy.js","function":"report","timestamp":"2023-05-24T18:29:50.356Z"}}
{"level":"error","message":"Error executing workflow. See log messages for details.","metadata":{"file":"execute.js","function":"catch","timestamp":"2023-05-24T18:29:50.372Z"}}
{"level":"error","message":"\nExecution error:","metadata":{"file":"execute.js","function":"catch","timestamp":"2023-05-24T18:29:50.373Z"}}
{"level":"error","message":"Cannot read properties of undefined (reading 'add')","metadata":{"file":"execute.js","function":"catch","timestamp":"2023-05-24T18:29:50.373Z"}}
{"level":"error","message":"TypeError: Cannot read properties of undefined (reading 'add')\n at WorkflowRunner.enqueueExecution (/usr/local/lib/node_modules/n8n/dist/WorkflowRunner.js:273:39)\n at processTicksAndRejections (node:internal/process/task_queues:96:5)\n at WorkflowRunner.run (/usr/local/lib/node_modules/n8n/dist/WorkflowRunner.js:108:27)\n at Execute.run (/usr/local/lib/node_modules/n8n/dist/commands/execute.js:101:29)\n at Execute._run (/usr/local/lib/node_modules/n8n/node_modules/@oclif/command/lib/command.js:43:20)\n at Config.runCommand (/usr/local/lib/node_modules/n8n/node_modules/@oclif/config/lib/config.js:173:24)\n at Main.run (/usr/local/lib/node_modules/n8n/node_modules/@oclif/command/lib/main.js:28:9)\n at Main._run (/usr/local/lib/node_modules/n8n/node_modules/@oclif/command/lib/command.js:43:20)","metadata":{"file":"execute.js","function":"catch","timestamp":"2023-05-24T18:29:50.374Z"}}