Thanks a lot!!
it’s done ๐
Thanks a lot for your fast answer. The problem seems to be solved. I’ve optimzed the database with WP rocket and cleared the cache and now it is possible again to change categories without getting a bad gateway page.