Passer la navigation

[Closed] TypeError: Cannot read properties of null (reading 'getContentSelection')

This support ticket is created Il y a 3 years, 11 months. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Ce sujet contient 4 réponses, a 2 voix.

Dernière mise à jour par Nigel Il y a 3 years, 11 months.

Auteur
Publications
#2375817

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é)

#2375821

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.

#2375823

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)

#2375847

Staging environment:

[edited]

#2376097

Nigel
Supporter

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.