The same problem happened to me, and I was finally able to solve it by installing version 6.4 (November 2023) and removing the jetpack plugin (which apparently was causing the problem). It is advisable to activate the wp-config debug to true to see the error generated. Try to do it that way.