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.
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.