Skip Navigation

[Resolved] Broken Block views

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.

This topic contains 1 reply, has 2 voices.

Last updated by Nigel 8 months, 2 weeks ago.

Author
Posts
#2687899
bug.jpg

Hi, I had 2 block views on a page. Both of them are not displaying and I'm getting error on the backend.

This is where you can the error:

/home-view-problem/

/wp-admin/post.php?post=307020&action=edit

I've rebuilt them with legacy view on another page, but I would like to understand what happened to prevent it.

cheers

#2687963

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Umberto

I don't know the history of the site, so I can't say how it arrived at its current state.

What I can see, looking at the source code for the page, is that the second View, giving the View not found message, was a View created with the block editor, with ID 299562, and with a preview with ID 299563. Block-based Views have two associated posts, if either is missing the View cannot be edited. In your case, checking wp_posts there are no posts with those IDs, they have been deleted.

At the top of the page there is another View, with ID 300848, although that appears not to be a View created with a View block directly on this page. In any case, checking wp_posts there is also no such post with that ID.

I don't know how they were deleted, but you can't edit the Views because they don't exist anymore.