Currently, the Toolset plugin does not appear to be compatible with block themes, as we were able to replicate the issue with both Spectra One and the default WordPress theme.
Minesh
Colaborador
Idiomas:
Inglés (English )
Zona horaria:
Asia/Kolkata (GMT+05:30)
Hello. Thank you for contacting the Toolset support.
With the screenshot you shared - I can see its showing internal server error.
Can you please make sure that server or any plugin is not blocking the AJAX request made by blocks plugin.
Can you please try to check on another server and do you see the same issue?
Hello Minesh,
I contacted Spectra One support, and they were able to replicate the issue with both Spectra One and the default WordPress theme.
They recommend reaching out to the Toolset plugin support team.
Minesh
Colaborador
Idiomas:
Inglés (English )
Zona horaria:
Asia/Kolkata (GMT+05:30)
Well - the Internal Server Error is from server. Can you please check with your hosting authority and check if they have any blockage for those requests shown in the screenshot you shared.
Hello Minesh,
The same error is not happening when I switch to Astra Pro theme. Will there be some limitations with Spectra Pro?
Thanks.
Minesh
Colaborador
Idiomas:
Inglés (English )
Zona horaria:
Asia/Kolkata (GMT+05:30)
I do not have Spectra pro and I suggest you should check with Spectra pro support.
Hello,
I was able to get some console errors. Thanks.
Minesh
Colaborador
Idiomas:
Inglés (English )
Zona horaria:
Asia/Kolkata (GMT+05:30)
Based on the screenshot you shared I'm not sure the origin of the error you see.
I'm not sure why its not working for you as I do not see any other repored such issue. If you want I can offer you sandbox site where you can install your required theme and plugins.
Here is a sandbox site and you can auto-login to it using the following link:
- enlace oculto
Do you see the same issue with the sandbox site? If yes- can you please share exact steps I should follow that should help me to see the issue.
Hello Minesh,
See the page in question to create an Archieve enlace oculto
Thanks.
Minesh
Colaborador
Idiomas:
Inglés (English )
Zona horaria:
Asia/Kolkata (GMT+05:30)
well - those are not errors but deprecated notices and that should not prevent you to build the archive or content template.
Sure, but I forgot to mention that the actual errors happens when you continue to build the layout.
Minesh
Colaborador
Idiomas:
Inglés (English )
Zona horaria:
Asia/Kolkata (GMT+05:30)
The error is coming from the Spectra theme:
Here is the stack trace:
"Uncaught TypeError: Swt\is_page_title(): Argument #1 ($post_id) must be of type int, string given, called in /var/www/sites/golden-djembe/wp-content/themes/spectra-one/inc/extensions/remove-blocks.php on line 32 and defined in /var/www/sites/golden-djembe/wp-content/themes/spectra-one/inc/utilities/helpers.php:351
Stack trace:
#0 /var/www/sites/golden-djembe/wp-content/themes/spectra-one/inc/extensions/remove-blocks.php(32): Swt\is_page_title()
#1 /var/www/sites/golden-djembe/wp-includes/class-wp-hook.php(326): Swt\render_remove_blocks()
#2 /var/www/sites/golden-djembe/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#3 /var/www/sites/golden-djembe/wp-includes/class-wp-block.php(584): apply_filters()
#4 /var/www/sites/golden-djembe/wp-includes/blocks.php(2191): WP_Block->render()
#5 /var/www/sites/golden-djembe/wp-includes/blocks.php(2243): render_block()
#6 /var/www/sites/golden-djembe/wp-content/plugins/toolset-blocks/embedded/inc/wpv-shortcodes.php(2607): do_blocks()
#7 /var/www/sites/golden-djembe/wp-content/plugins/toolset-blocks/embedded/inc/wpv-filter-embedded.php(1776): wpv_do_shortcode()
#8 /var/www/sites/golden-djembe/wp-includes/shortcodes.php(434): wpv_items_found()
#9 [internal function]: do_shortcode_tag()
#10 /var/www/sites/golden-djembe/wp-includes/shortcodes.php(273): preg_replace_callback()
#11 /var/www/sites/golden-djembe/wp-content/plugins/toolset-blocks/embedded/inc/wpv-shortcodes.php(2594): do_shortcode()
#12 /var/www/sites/golden-djembe/wp-content/plugins/toolset-blocks/embedded/inc/wpv.class.php(2214): wpv_do_shortcode()
#13 /var/www/sites/golden-djembe/wp-content/plugins/toolset-blocks/embedded/inc/wpv.class.php(681): WP_Views->render_view_ex()
#14 /var/www/sites/golden-djembe/wp-includes/shortcodes.php(434): WP_Views->short_tag_wpv_view()
#15 [internal function]: do_shortcode_tag()
#16 /var/www/sites/golden-djembe/wp-includes/shortcodes.php(273): preg_replace_callback()
#17 /var/www/sites/golden-djembe/wp-content/plugins/toolset-blocks/embedded/inc/wpv-shortcodes.php(2594): do_shortcode()
#18 /var/www/sites/golden-djembe/wp-content/plugins/toolset-blocks/backend/Services/ViewService.php(144): wpv_do_shortcode()
#19 /var/www/sites/golden-djembe/wp-content/plugins/toolset-blocks/backend/Services/ViewService.php(295): OTGS\Toolset\Views\Services\ViewService->render_preview_html()
#20 /var/www/sites/golden-djembe/wp-content/plugins/toolset-blocks/backend/Controllers/V1/Views.php(264): OTGS\Toolset\Views\Services\ViewService->save()
#21 /var/www/sites/golden-djembe/wp-includes/rest-api/class-wp-rest-server.php(1292): OTGS\Toolset\Views\Controllers\V1\Views->update_item()
#22 /var/www/sites/golden-djembe/wp-includes/rest-api/class-wp-rest-server.php(1125): WP_REST_Server->respond_to_request()
#23 /var/www/sites/golden-djembe/wp-includes/rest-api/class-wp-rest-server.php(439): WP_REST_Server->dispatch()
#24 /var/www/sites/golden-djembe/wp-includes/rest-api.php(449): WP_REST_Server->serve_request()
#25 /var/www/sites/golden-djembe/wp-includes/class-wp-hook.php(324): rest_api_loaded()
#26 /var/www/sites/golden-djembe/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#27 /var/www/sites/golden-djembe/wp-includes/plugin.php(565): WP_Hook->do_action()
#28 /var/www/sites/golden-djembe/wp-includes/class-wp.php(418): do_action_ref_array()
#29 /var/www/sites/golden-djembe/wp-includes/class-wp.php(813): WP->parse_request()
#30 /var/www/sites/golden-djembe/wp-includes/functions.php(1336): WP->main()
#31 /var/www/sites/golden-djembe/wp-blog-header.php(16): wp()
#32 /var/www/sites/golden-djembe/index.php(17): require('...')
#33 {main}
thrown"
Please get in touch with Spectra support.