Skip Navigation

[Closed] 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.

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 -

Supporter timezone: America/Sao_Paulo (GMT-03:00)

This topic contains 1 reply, has 2 voices.

Last updated by Mateus Getulio 1 year, 6 months ago.

Assisted by: Mateus Getulio.

Author
Posts
#2707965

I am getting "This block has encountered an error and cannot be previewed." every time I click "Content Selection" on a simple view. It renders this plugin unusable.

#2708024

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi there

Unfortunately when this happens there is little information available about what the cause may be.

Are there any errors or warnings in the debug.log that may be connected?

If you haven't already, turn on the debug log by editing your wp-config.php file and change the line with WP_DEBUG like so:

define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);
define('WP_DISABLE_FATAL_ERROR_HANDLER',true);

That will create a debug.log file in your /wp-content/ directory which you can examine in any text editor.

Try editing the same page again and then inspect the log. If you don't find the debug.log file it means it didn't generate any warnings or errors.

In addition to that, so that we can take a better look at this, could you please attach the Debug info?

You can see how to retrieve and paste it here: https://toolset.com/faq/provide-debug-information-faster-support/.

In summary, these are the steps that you need to take in order to retrieve it:

- Access any of the Toolset administration pages
- Click to open the Help tab at the top-right of the screen.
- Click the Toolset Debug tab in the Help dialog.
- Click the debug information link.
- Copy the content of this text area and paste it here in the right field

I'm enabling the Debug Info template for your next reply.

Thanks, please let us know.

The topic ‘[Closed] This block has encountered an error and cannot be previewed.’ is closed to new replies.