Saltar navegación

[Corregido en la próxima versión] When adding a new post on a custom post type, the block editor doesn't load

This support ticket is created 2 years, 2 months ago. 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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Zona horaria del colaborador: America/Sao_Paulo (GMT-03:00)

Este tema contiene 2 respuestas, tiene 2 mensajes.

Última actualización por jeffreyS-6 2 years, 2 months ago.

Asistido por: Mateus Getulio.

Autor
Mensajes
#2693934

I am trying to:

Add a new post in a custom post type created with toolset.

Link to a page where the issue can be seen:
It is the admin page when you click add new.

I expected to see:
The block editor.

Instead, I got:

The editor has encountered an unexpected error. I tried disabling all plugin and switching to the 2023 theme and it still had the same error.

I clicked the copy error and I get:

TypeError: Cannot read private member #e from an object whose class did not declare it
at get text (enlace oculto)
at get length (enlace oculto)
at WI.isEmpty (enlace oculto)
at save (enlace oculto)
at enlace oculto
at ba.<computed> (enlace oculto)
at enlace oculto
at enlace oculto
at Ur (enlace oculto)
at Fr (enlace oculto)

#2693937

Nigel
Colaborador

Idiomas: Inglés (English ) Español (Español )

Zona horaria: Europe/London (GMT+01:00)

Hi there

Although the symptoms appear slightly different, this looks like a variant of this known issue: https://toolset.com/errata/wordpress-6-5-update-breaks-editor-if-using-core-media-block-with-dynamic-sources/

We hope to be in a position to release a fix soon, and in the meantime the best workaround would be to downgrade WordPress to 6.4.4, as described in the linked page.

#2693938

Thank you! I reverted and that solved it.