Skip Navigation

[Closed] Unable to open edit content templates as it is throwing error

This support ticket is created 2 years, 5 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 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 3 replies, has 2 voices.

Last updated by Luo Yang 2 years, 5 months ago.

Assisted by: Luo Yang.

Author
Posts
#2379255

Hi Team,

After upgrading to Toolset latest version (Toolset blocks 1.6.3). Two issues are identified.

1. Long description is missing in my content template page. It is shown as blank. Earlier, the details given in the long description are shown in the additional details in the below link for the same.
hidden link

2. To see what is changed in the content template, while trying to edit, critical error is thrown. I am unable to edit the content template due to critical error.

Thanks,
Pramod

#2379357

Hello,

There should be some PHP errors in your website, please try to get the PHP debug logs from your website:
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/#php-debugging

#2379511

Hi Luo,

Below is forwarded to my mail as soon as critical error is shown.

When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.0
Active theme: Astra (version 3.8.1)
Current plugin: Toolset Blocks (version 1.6.3)
PHP version 8.0.16

Error Details
=============
An error of type E_ERROR was caused in line 67 of the file /home4/roomoccu/public_html/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 /home4/roomoccu/public_html/wp-content/plugins/toolset-blocks/vendor/toolset/dynamic-sources/server/Sources/PostContent.php:67
Stack trace:
#0 /home4/roomoccu/public_html/wp-content/plugins/toolset-blocks/vendor/toolset/dynamic-sources/server/DynamicSources.php(514): Toolset\DynamicSources\Sources\PostContent->get_content('', Array)
#1 /home4/roomoccu/public_html/wp-content/plugins/toolset-blocks/vendor/toolset/dynamic-sources/server/DynamicSources.php(786): Toolset\DynamicSources\DynamicSources->get_source_content('', '__current_post', 7217, Object(Toolset\DynamicSources\Sources\PostContent), '', Array)
#2 /home4/roomoccu/public_html/wp-content/plugins/toolset-blocks/vendor/toolset/dynamic-sources/server/DynamicSources.php(744): Toolset\DynamicSources\DynamicSources->get_shortcode_content(Array)
#3 /home4/roomoccu/public_html/wp-includes/shortcodes.php(356): Toolset\DynamicSources\DynamicSources->dynamic_shortcode_render(Array, '', 'tb-dynamic')
#4 [internal function]: do_shortcode_tag(Array)
#5 /home4/roomoccu/public_html/wp-includes/shortcodes.php(228): preg_replace_callback('/\\[(\\[?)(tb\\-dy...', 'do_shortcode_ta...', '[tb-dynamic pro...')
#6 /home4/roomoccu/public_html/wp-content/plugins/toolset-blocks/vendor/toolset/dynamic-sources/server/DynamicSources.php(920): do_shortcode('[tb-dynamic pro...')
#7 [internal function]: Toolset\DynamicSources\DynamicSources->Toolset\DynamicSources\{closure}(Array)
#8 /home4/roomoccu/public_html/wp-content/plugins/toolset-blocks/vendor/toolset/dynamic-sources/server/DynamicSources.php(919): preg_replace_callback('#(\\[tb-dynamic\\...', Object(Closure), '

Thanks

#2380037

Please try these:
1) In case it is a compatibility problem, deactivate all other plugins, and switch to WordPress default theme 2022, and test again
2) If the problem still persists, please provide database dump file(ZIP file) of your website, you can put the package files in your own google drive disk, share the link only, also point out the content template URL, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/

The topic ‘[Closed] Unable to open edit content templates as it is throwing error’ is closed to new replies.