I am trying to: Edit view for single CPT
Link to a page where the issue can be seen: hidden link
I expected to see: Edit view
Instead, I got: Fatal error
2023/01/01 07:14:35 [error] 89862#89862: *583504 FastCGI sent in stderr: "PHP message: PHP Warning: Attempt to read property "dynamic_sources_content_processed" on null in /www/dailysosu_813/public/wp-content/plugins/toolset-blocks/vendor/toolset/dynamic-sources/server/Sources/PostContent.php on line 62PHP message: PHP Fatal error: Uncaught Error: Attempt to assign property "dynamic_sources_content_processed" on null in /www/dailysosu_813/public/wp-content/plugins/toolset-blocks/vendor/toolset/dynamic-sources/server/Sources/PostContent.php:67
Stack trace:
#0 /www/dailysosu_813/public/wp-content/plugins/toolset-blocks/vendor/toolset/dynamic-sources/server/DynamicSources.php(514): Toolset\DynamicSources\Sources\PostContent->get_content('', Array)
#1 /www/dailysosu_813/public/wp-content/plugins/toolset-blocks/vendor/toolset/dynamic-sources/server/DynamicSources.php(786): Toolset\DynamicSources\DynamicSources->get_source_content('', '__current_post', 871, Object(Toolset\DynamicSources\Sources\PostContent), '', Array)
#2 /www/dailysosu_813/public/wp-content/plugins/toolset-blocks/vendor/toolset/dynamic-sources/server/DynamicSources.php(744): Toolset\DynamicSources\DynamicSources->get_shortcode_content(Array)
#3 /www/dailysosu_813/public/wp-includes/shortcodes.php(355): Toolset\DynamicSources\Dynamic" while reading response header from upstream, client: 118.233.153.106, server: dailysosu.com, request: "GET /wp-admin/post.php?post=1260&action=edit HTTP/1.1", upstream: "hidden link :", host: "dailysosu.com:36070", referrer: "hidden link "
Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)
Hello. Thank you for contacting the Toolset support.
There are few related tickets reported and its been obviously resolved when you downgrade the PHP version to PHP 7.x.x.
Can you please check the following related ticket and see if that help you to resolve your issue.
- https://toolset.com/forums/topic/fatal-error-attempt-to-assign-property-dynamic_sources_content_processed/#post-2492675
I would like to know - have you added multiple single field block that displays the post content (post body)?
The site is using PHP 8.0.13, I'm not able to downgrade. Is there other solution?
Have you added multiple single field block that displays the post content (post body)? -- I'm unsure the answer to your question, this is the page: hidden link
Hello,
I have done below modifications in your website:
Edit the content template:
hidden link
In section "View with", choose a post "芝麻雞肉炊飯", refresh my Chrome browser.
It works fine now, can you check it again?