Oh, I’m sorry, I thought I did and I was confused as to why you’re asking for a full error message
2022/02/28 15:33:08 [error] 30765#0: *72204591 FastCGI sent in stderr: "PHP message: PHP Warning: Array to string conversion in [...]/www/wp-content/plugins/wp-fail2ban/lib/loader.php on line 597" while reading response header from upstream, client: 185.53.XXX.XXX, server: [...], request: "GET / HTTP/3", upstream: "fastcgi://unix:/var/run/php/[...]:", host: "[...]"
Could you post a list of your WP_FAIL2BAN_xxx defines please?
One of those is an array that’s expected to be a string, but without knowing what you’ve defined I don’t know if it’s a bug or just that the define should be a string instead.