Single Types Edit Page Not Displaying

System Information
  • Strapi Version: 4.2.0
  • Operating System: Ubuntu 20.04
  • Database: Postrgres
  • Node Version: 14.19.3
  • NPM Version: 8.10.0
  • Yarn Version: 1.22.18

In the admin panel we can no longer access the Single Types edit pages via the Content Manager. The entire page goes blank (no sidenav, etc.). The API returns successful 200’s with the correct data but the frontend code fails to render. When inspecting in Chrome’s Dev Tools I also see the following error message that only appears when trying to load a Single Type page:

react_devtools_backend.js:4026 TypeError: Cannot read properties of null (reading 'params')
    at Zt (main.d5d3b782.js:972:74853)
    at ns (main.d5d3b782.js:13469:54837)
    at zc (main.d5d3b782.js:13473:9232)
    at jc (main.d5d3b782.js:13473:992)
    at td (main.d5d3b782.js:13473:920)
    at vs (main.d5d3b782.js:13473:771)
    at Gs (main.d5d3b782.js:13471:11158)
    at main.d5d3b782.js:13469:39631
    at y.unstable_runWithPriority (main.d5d3b782.js:13518:3776)
    at du (main.d5d3b782.js:13469:39409)
overrideMethod	@	react_devtools_backend.js:4026
_s	@	main.d5d3b782.js:13471
Ns.K.callback	@	main.d5d3b782.js:13471
pl	@	main.d5d3b782.js:13469
Ac	@	main.d5d3b782.js:13471
rd	@	main.d5d3b782.js:13473
y.unstable_runWithPriority	@	main.d5d3b782.js:13518
du	@	main.d5d3b782.js:13469
Eu	@	main.d5d3b782.js:13473
Gs	@	main.d5d3b782.js:13471
(anonymous)	@	main.d5d3b782.js:13469
y.unstable_runWithPriority	@	main.d5d3b782.js:13518
du	@	main.d5d3b782.js:13469
dl	@	main.d5d3b782.js:13469
pa	@	main.d5d3b782.js:13469
Oa	@	main.d5d3b782.js:13471
as	@	main.d5d3b782.js:13469
(anonymous)	@	content-manager.ba67e960.chunk.js:1008
i	@	content-manager.ba67e960.chunk.js:1008
Promise.then (async)		
u	@	content-manager.ba67e960.chunk.js:1008
(anonymous)	@	content-manager.ba67e960.chunk.js:1008
yt	@	content-manager.ba67e960.chunk.js:1008
(anonymous)	@	content-manager.ba67e960.chunk.js:1008
(anonymous)	@	content-manager.ba67e960.chunk.js:1008
Nc	@	main.d5d3b782.js:13473
y.unstable_runWithPriority	@	main.d5d3b782.js:13518
du	@	main.d5d3b782.js:13469
ou	@	main.d5d3b782.js:13473
(anonymous)	@	main.d5d3b782.js:13473
$	@	main.d5d3b782.js:13518
C.port1.onmessage	@	main.d5d3b782.js:13518

On the server no logs are generated indicating any issue occurred.

Also, this problem existed on Strapi v 4.11.1 as well. Turning off React Dev Tools does not change the error either.

Is anyone else experiencing this issue?

Experienced exactly the same thing. In my case it was related to Record Locking plugin. Removing it solved the problem

@akunyiba Thank you so much for this suggestion! Removing the record locking plugin immediately resolved this issue.