Please help me with this error after upgrading from 5.17 to 5.23

System Information
  • Strapi Version:
  • Operating System:
  • Database:
  • Node Version:
  • NPM Version:
  • Yarn Version:

Strapi version
v5.23.0
node version
v22.18.0
database
Mysql
npm version
10.9.3
yarn version
1.22.22
OS: Windows 11

Everything works fine, except the page under settings → Users & Permissions plugin → Roles → Authenticated

The admin crashes and gives this in the logs:

http: GET /users-permissions/routes (906 ms) 200

and more immediately

in the console

chunk-FOD4ENRR.js?v=e0646b0c:521 Warning: TableBody: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
at TableBody (http://localhost:1337/admin/node_modules/.strapi/vite/deps/Roles-ECQ3G5QA.js?v=e0646b0c:1535:20)
at the table
at http://localhost:1337/admin/node_modules/.strapi/vite/deps/chunk-2FQCKC63.js?v=e0646b0c:52272:6
at O2