Blank screen while trying to check content from content manager

System Information
  • Strapi Version: 4.17.0
  • Operating System: windows/linux
  • Database: postgres
  • Node Version: 18.19.1
  • NPM Version: 10.2.3
  • Yarn Version: 1.22.22

Strapi admin dashboard shows blank white screen on content manager while on specific collection.

Everything was working fine in v4.16.2. When we upgrade to 4.17.0 or later, the issue occurs.

Steps to reproduce -

  1. create a collection type with a repeatable component. (collection 1)

  2. create two more collections with out a component (only fields) (collection 2 & 3)

  3. Add data in collection 3.

  4. Go to content manager in admin dashboard. Open collection 1, works fine as expected (to be able to add content, save and publish)

  5. Click on collection 2( without any data), then click on collection 1, works fine as expected (to be able to add content, save and publish)

  6. Click on collection 3(with data), then click on collection 2, now the white screen happens.

checked the console log, getting an issue of error reading length of undefined.

Steps tried to resolve -

  1. changed to a new db.
  2. removed the newly added plugins and a fresh install.
  3. deleted the collection 1 and created a same collection.
  4. Started using yarn instead of npm.

4.16.2 works fine and stable. Any version later doesn’t work. (4.17.2 - latest)

Note:- SuperAdmins can refresh to make it work but refreshing everytime makes it cumbersome and not usable for production.
Non Super Admins cannot even check other collection types, the screen is just blank for them.