Error Error: `cookies` was called outside a request scope

Thank you, that resolved my initial issue.

However, I’m facing another problem, which I’ve described in my latest comment on issue #2081.

Could you please let me know if a solution is available or if this has been addressed in a newer version? This is a high priority for me as my application is in production.

Any help would be greatly appreciated.