Skip Navigation

[Resolved] This block has encountered an error and cannot be previewed.

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 1 year ago.

Author
Posts
#2653451

I am trying to: edit an Archive using Toolset

I expected to see: a preview of the block content

Instead, I got: "This block has encountered an error and cannot be previewed."

I have all software including Toolset plugins and WordPress updated.

I changed to the default theme and deactivated all plugins except Toolset, and then the block content appeared correctly.

I changed back to my theme (a child of Astra) and it still worked correctly. I began reactivating plugins one by one and then checking, but the results are inconsistent. It sometimes breaks with some combo of Elementor plugin and/or Astra Pro plugin activated, but it is inconsistent -- sometimes it works and sometimes it doesn't. In other words, I turn things on and off, returning to the same configuration, and now it won't work when it did previously.

#2653525

Nigel
Supporter

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

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

Hi there

It's difficult for me to say a great deal here.

I logged-in to your site, noted that the plugins and theme you mentioned are active, and I had no problems editing the single custom archive on the site. I navigated around the site, returned to edit the archive, and it still appeared as expected.

If the problem recurs, could you check the browser console for errors when the problem appears?

#2653901

I worked on it some today and didn't have any issues.

I suspect two things could have been causing the problem:
1. I was trying to add Views when it kept breaking. I would get the message that nested Views aren't supported. I did this just before the first time it broke, and was continuing to do this when it was being intermittent.

2. I had the search results outputting info into WP block Columns instead of a Toolset Grid block. Now I've switched that over and haven't had issues so far.

I'll close this for now since it's working again. Thanks for reminding me to look at the Console if I come across it again.

(By the way, nothing happens when I click the radio buttons below "How your issue was resolved?" So I am unable to select any of the options.)