Serious block editor issue: This block has encountered an error and cannot be…
-
Hello, our website has been unusable since the update on the August 2023. We are using very simple setup, having unedited core and twentytwentytwo in usage. The block editor hasn’t been working since August and we had to make edits via code view and that means that only one skilled person can update it and very slowly compared that the block editor would work.
When ever you click the block editor content it says:
“This block has encountered an error and cannot be previewed.”
If I put the debugging on, it says:
“Notice: Undefined index: slug in /home/xxxuyyy/public_html/fi/wp-includes/class-wp-theme-json.php on line 1685
Notice: Undefined index: slug in /home/xxxuyyy/public_html/fi/wp-includes/class-wp-theme-json.php on line 1731″
Those lines has matters about “slug” presets. If I change to twentytwentyone, there is no problems with the block editor but obviously the website doesn’t look at all what it should look like, so we can’t use that theme.
We have also re-installed the Current version: 6.3.2 (en-GB) and we have deactivated temporarily the twentytwentytwo, deleted it and installed it again. Still the same block editor issue persists.
We also lately realised that the mobile version is not working properly but that we can investigate only when we get the block editor issue solved. We do think that there is something wrong with the twentytwentytwo theme itself because we tried to avoid indeed theme issues by using WP’s own themes and making only visual content edits on it and thus be safe for updates and now we got this long and serious issue for this theme that appeared exactly after August automatic WP update.
It would be great if we would find the issue causing the problems with the theme “twentytwentytwo”.
- You must be logged in to reply to this topic.