Skip Navigation

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

This support ticket is created 2 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

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 6 replies, has 2 voices.

Last updated by Mateus Getulio 2 years ago.

Assisted by: Mateus Getulio.

Author
Posts
#2498999

Tell us what you are trying to do?
I just bought toolset
I have created a wordpress site and I installed toolset blocks and types. WordPress 6.1.1 and theme twenty-twenty-three
I have created a Post Type with 4 custom fields and one taxonomy.

I have created a template and I have the following problems:
1) Single Field block with custom fields works ok
2) Single field block does not add taxonomy
3) Fields and Text block gives the following error: This block has encountered an error and cannot be previewed.

Is there any documentation that you are following?
Toolset documentation. All settings to default
Is there a similar example that we can see?

What is the link to your site?

#2499249

Mateus Getulio
Supporter

Languages: English (English )

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

Hello there,

Welcome to the Toolset support forum!

First, about this:

2) Single field block does not add taxonomy

Could you please tell me what are the steps that you're following and what exactly happens when you try to add the taxonomy field? Now, regarding this:

3) Fields and Text block gives the following error: This block has encountered an error and cannot be previewed.

We might be facing an interaction issue with a third-party functionality, in this case:

- Deactivate all the plugins that are not related to Toolset
- Switch for a moment to a WordPress default theme like Twenty Twenty-one
- If the issue is gone, activate one by one to see with which one there is an interaction issue

Could you tell me the results of this investigation? Also, can you enable the debug mode? Please add the following code in your wp-config.php file:

// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );
  
// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );
  
// Disable display of errors and warnings 
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );
  
// Use dev versions of core JS and CSS files (only needed if you are modifying these core files)
define( 'SCRIPT_DEBUG', true );

Please check the following links to read more about debugging with WordPress.
- https://codex.wordpress.org/Debugging_in_WordPress
- https://codex.wordpress.org/Debugging_in_WordPress#Example_wp-config.php_for_Debugging

After adding the code above, try to reproduce the issue again and check if you'll find a debug.log file inside the wp-content folder. If you locate it there, please send us the last lines here in the ticket.

Regards,
Mateus.

#2500857
Screenshot 2022-11-20 152711.png
Screenshot 2022-11-20 152557.png

Hi,

- Wordpress 6.1.1 Theme: twenty-twenty-three Plugins: Only OTGS Installer Toolset Blocks Toolset Maps and Toolset Types

I am creating a demo site following gym site instructions

Fields and text block in content template does give me an error See attached screenshot

Page preview and content template shows only Title See attached screenshot

debug.log file does not give me any error

Thank you

#2501067

Mateus Getulio
Supporter

Languages: English (English )

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

Hello,

I would like to request temporary access (wp-admin and FTP) to your site to take better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Our Debugging Procedures

I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.

Privacy and Security Policy

We have strict policies regarding privacy and access to your information. Please see:
https://toolset.com/privacy-policy-and-gdpr-compliance/#data-shared-with-our-support
**IMPORTANT**

- Please make a backup of site files and database before providing us access.
- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this: hidden link

Please, let me know if you need any additional details. Have a nice day.

#2501785

Mateus Getulio
Supporter

Languages: English (English )

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

Hi,

Thank you for providing the website credentials.

This issue is already reported to the concerned team and relates to some changes introduced in WordPress 6.1. Please check our errata page: https://toolset.com/errata/fields-and-text-block-broken-with-wordpress-6-1-update/

We'll keep you updated on this issue through this ticket and for now, you can downgrade to WordPress 6.0.3, as suggested in the errata page ( you can downgrade WP versions with the plugin https://wordpress.org/plugins/wp-downgrade/ ).

Regards,
Mateus.

#2510219

Mateus Getulio
Supporter

Languages: English (English )

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

Hi there,

Thanks for your patience.

It is taking a while for the Systems team to complete the testing and necessary steps for the plugin updates to be released.

So for this particular issue, we have uploaded a pre-release version of Toolset Blocks 1.6.4 which you can download from here: https://toolset.com/patches/toolset-blocks.develop.1893307.zip

It should be identical to the version that will hopefully be published some time this week, and you shouldn’t need to take any extra steps other than installing this update.

Thanks again for your understanding.

#2535575

Mateus Getulio
Supporter

Languages: English (English )

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

Hi there,

Thanks for your reply.

This issue should be solved with our latest versions. Could you please check if the Toolset Blocks update fix it? Thank you!

Regards,
Mateus.