Tell us what you are trying to do?
I have duplicated this site environment and need to edit a Content Template as my taxonomies and custom fields have changed. I am clicking on the Template to edit in Toolset > Dashboard > Front-end > Template.
When I do that, I receive the WordPress error:
There has been a critical error on this website. Please check your site admin email inbox for instructions.
I then receive the automated WordPress error email. I have pasted the error details below.
Is there any documentation that you are following?
No
Is there a similar example that we can see?
What is the link to your site?
This page is using the template in question:
hidden link
If you could assist me in what needs to happen to edit this template, that would be great.
Thanks!
thomas.
--------------------------------------------
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.1.1
Active theme: At Home Apartments of Kansas City (version 1.0.0)
Current plugin: Toolset Blocks (version 1.6.5)
PHP version 8.0.28
Error Details
=============
An error of type E_ERROR was caused in line 67 of the file /nas/content/live/athomeaptkcprd/wp-content/plugins/toolset-blocks/vendor/toolset/dynamic-sources/server/Sources/PostContent.php. Error message: Uncaught Error: Attempt to assign property "dynamic_sources_content_processed" on null in /nas/content/live/athomeaptkcprd/wp-content/plugins/toolset-blocks/vendor/toolset/dynamic-sources/server/Sources/PostContent.php:67
Stack trace:
#0 /nas/content/live/athomeaptkcprd/wp-content/plugins/toolset-blocks/vendor/toolset/dynamic-sources/server/DynamicSources.php(514): Toolset\DynamicSources\Sources\PostContent->get_content(NULL, NULL)
#1 /nas/content/live/athomeaptkcprd/wp-includes/class-wp-hook.php(308): Toolset\DynamicSources\DynamicSources->get_source_content('', '__current_post', 8585, Object(Toolset\DynamicSources\Sources\PostContent))
#2 /nas/content/live/athomeaptkcprd/wp-includes/plugin.php(205): WP_Hook->apply_filters('', Array)
#3 /nas/content/live/athomeaptkcprd/wp-content/plugins/toolset-blocks/vendor/toolset/dynamic-sources/server/Cache.php(92): apply_filters('toolset/dynamic...', '', '__current_post', '8585', 'post-content')
#4 [internal function]: Toolset\DynamicSources\Cache->get_data_for_sources(Array, '__current_post', '8585')
#5 /nas/content/live/athomeaptkcprd/wp-content/plugins/toolset-blocks/vendor/toolset/dynamic-sources/server/Cache.php(49): call_user_func_array(Array, Array)
#6 /nas/content/live/athomeaptkcprd/wp-includes/class-wp-hook.php(308): Toolset\DynamicSources\Cache->add_cached_data(Array, '8585')
#7 /nas/content/live/athomeaptkcprd/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)
#8 /nas/content/live/athomeaptkcprd/wp-content/plugins/toolset-blocks/vendor/toolset/dynamic-sources/server/DynamicSources.php(967): apply_filters('toolset/dynamic...', Array, 7649)
#9 /nas/content/live/athomeaptkcprd/wp-includes/class-wp-hook.php(308): Toolset\DynamicSources\DynamicSources->get_dynamic_sources_data(Array)
#10 /nas/content/live/athomeaptkcprd/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)
#11 /nas/content/live/athomeaptkcprd/wp-content/plugins/toolset-blocks/vendor/toolset/dynamic-sources/server/DynamicSources.php(942): apply_filters('toolset/dynamic...', Array)
#12 /nas/content/live/athomeaptkcprd/wp-includes/class-wp-hook.php(308): Toolset\DynamicSources\DynamicSources->register_localization_data('')
#13 /nas/content/live/athomeaptkcprd/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#14 /nas/content/live/athomeaptkcprd/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#15 /nas/content/live/athomeaptkcprd/wp-admin/edit-form-blocks.php(272): do_action('enqueue_block_e...')
#16 /nas/content/live/athomeaptkcprd/wp-admin/post.php(187): require('/nas/content/li...')
#17 {main}
thrown
Hello,
It should be a known issue when you edit some specific Toolset content templates, see our erratum:
https://toolset.com/errata/editing-content-template-produces-something-went-wrong-you-are-not-allowed-to-do-that-error-message/
Please try the workaround of above erratum, and test again.
The erratum is marked as resolved, and the fix is released yesterday, please try these:
1) Backup your website
2) Upgrade all Toolset plugins to the latest version and test again, you can download them here:
https://toolset.com/account/downloads/
Click link "Download Toolset manually"