I am trying to:
Edit my block base content archive
Link to a page where the issue can be seen:
Only admin can see it.
I expected to see:
My block editor.
Instead, I got:
TypeError: Cannot read properties of null (reading 'getContentSelection')
at c (lien caché)
at lien caché
at lien caché
at Le (lien caché)
at Re (lien caché)
at Pj (lien caché)
at di (lien caché)
at Nj (lien caché)
at sc (lien caché)
at gf (lien caché)
I just updated all of my ToolSet plugins to the latest version and the issue still persists.
I also tried pressing the attempt recovery option but it did not work.
I just now tried updating to WordPress 6.0 and am met with the following error:
The "toolset-views" plugin has encountered an error and cannot be rendered.
The console log contains this:
react-dom.min.js?ver=17.0.1:9 TypeError: Cannot read properties of null (reading 'getContentSelection')
at c (wordpressArchive.js?ver=3.6.3:1:14015)
at wordpressArchive.js?ver=3.6.3:9:33374
at compose.min.js?ver=da94d523b115836ddbf0b3b774ddd94a:9:17654
at ct (react-dom.min.js?ver=17.0.1:9:43430)
at Bt (react-dom.min.js?ver=17.0.1:9:50249)
at os (react-dom.min.js?ver=17.0.1:9:112112)
at Ur (react-dom.min.js?ver=17.0.1:9:77643)
at Ir (react-dom.min.js?ver=17.0.1:9:77571)
at Dr (react-dom.min.js?ver=17.0.1:9:77434)
at Pr (react-dom.min.js?ver=17.0.1:9:74429)
Les langues: Anglais (English )Espagnol (Español )
Fuseau horaire: Europe/London (GMT+01:00)
Hi Reece
Where can we see the errors?
I logged in to your staging site (I've removed the login details) and based upon your initial post I edited the only custom archive on the site, and it loads fine in the editor without errors.
That suggests there may be a browser caching issue. Can you clear your browser cache and perform a hard reload and try editing it again?
Or if we should be looking somewhere else, please let us know.
The topic ‘[Closed] TypeError: Cannot read properties of null (reading 'getContentSelection')’ is closed to new replies.