Skip Navigation

[Resolved] Warning: Attempt to read property "dynamic_sources_content_processed" on null…

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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 7 replies, has 2 voices.

Last updated by jeanL-2 1 year, 2 months ago.

Assisted by: Minesh.

Author
Posts
#2557989

I am trying to:
i'd like to change a view and when i click on modify with block editor i get this error :

Warning: Attempt to read property "dynamic_sources_content_processed" on null in /home/clients/cf1f815b9b0641d4ac8d0d92d7d5d38a/dossier-de-travail-2021/dynamique-jeunessse/wp-content/plugins/wp-views/vendor/toolset/dynamic-sources/server/Sources/PostContent.php on line 62

Fatal error: Uncaught Error: Attempt to assign property "dynamic_sources_content_processed" on null in /home/clients/cf1f815b9b0641d4ac8d0d92d7d5d38a/dossier-de-travail-2021/dynamique-jeunessse/wp-content/plugins/wp-views/vendor/toolset/dynamic-sources/server/Sources/PostContent.php:67 Stack trace: #0 /home/clients/cf1f815b9b0641d4ac8d0d92d7d5d38a/dossier-de-travail-2021/dynamique-jeunessse/wp-content/plugins/wp-views/vendor/toolset/dynamic-sources/server/DynamicSources.php(514): Toolset\DynamicSources\Sources\PostContent->get_content(NULL, NULL) #1 /home/clients/cf1f815b9b0641d4ac8d0d92d7d5d38a/dossier-de-travail-2021/dynamique-jeunessse/wp-includes/class-wp-hook.php(308): Toolset\DynamicSources\DynamicSources->get_source_content('', '__current_post', 31070, Object(Toolset\DynamicSources\Sources\PostContent)) #2 /home/clients/cf1f815b9b0641d4ac8d0d92d7d5d38a/dossier-de-travail-2021/dynamique-jeunessse/wp-includes/plugin.php(205): WP_Hook->apply_filters('', Array) #3 /home/clients/cf1f815b9b0641d4ac8d0d92d7d5d38a/dossier-de-travail-2021/dynamique-jeunessse/wp-content/plugins/wp-views/vendor/toolset/dynamic-sources/server/Cache.php(92): apply_filters('toolset/dynamic...', '', '__current_post', '31070', 'post-content') #4 [internal function]: Toolset\DynamicSources\Cache->get_data_for_sources(Array, '__current_post', '31070') #5 /home/clients/cf1f815b9b0641d4ac8d0d92d7d5d38a/dossier-de-travail-2021/dynamique-jeunessse/wp-content/plugins/wp-views/vendor/toolset/dynamic-sources/server/Cache.php(49): call_user_func_array(Array, Array) #6 /home/clients/cf1f815b9b0641d4ac8d0d92d7d5d38a/dossier-de-travail-2021/dynamique-jeunessse/wp-includes/class-wp-hook.php(308): Toolset\DynamicSources\Cache->add_cached_data(Array, '31070') #7 /home/clients/cf1f815b9b0641d4ac8d0d92d7d5d38a/dossier-de-travail-2021/dynamique-jeunessse/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) #8 /home/clients/cf1f815b9b0641d4ac8d0d92d7d5d38a/dossier-de-travail-2021/dynamique-jeunessse/wp-content/plugins/wp-views/vendor/toolset/dynamic-sources/server/DynamicSources.php(967): apply_filters('toolset/dynamic...', Array, 29490) #9 /home/clients/cf1f815b9b0641d4ac8d0d92d7d5d38a/dossier-de-travail-2021/dynamique-jeunessse/wp-includes/class-wp-hook.php(308): Toolset\DynamicSources\DynamicSources->get_dynamic_sources_data(Array) #10 /home/clients/cf1f815b9b0641d4ac8d0d92d7d5d38a/dossier-de-travail-2021/dynamique-jeunessse/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) #11 /home/clients/cf1f815b9b0641d4ac8d0d92d7d5d38a/dossier-de-travail-2021/dynamique-jeunessse/wp-content/plugins/wp-views/vendor/toolset/dynamic-sources/server/DynamicSources.php(942): apply_filters('toolset/dynamic...', Array) #12 /home/clients/cf1f815b9b0641d4ac8d0d92d7d5d38a/dossier-de-travail-2021/dynamique-jeunessse/wp-includes/class-wp-hook.php(308): Toolset\DynamicSources\DynamicSources->register_localization_data('') #13 /home/clients/cf1f815b9b0641d4ac8d0d92d7d5d38a/dossier-de-travail-2021/dynamique-jeunessse/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #14 /home/clients/cf1f815b9b0641d4ac8d0d92d7d5d38a/dossier-de-travail-2021/dynamique-jeunessse/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #15 /home/clients/cf1f815b9b0641d4ac8d0d92d7d5d38a/dossier-de-travail-2021/dynamique-jeunessse/wp-admin/edit-form-blocks.php(272): do_action('enqueue_block_e...') #16 /home/clients/cf1f815b9b0641d4ac8d0d92d7d5d38a/dossier-de-travail-2021/dynamique-jeunessse/wp-admin/post.php(187): require('/home/clients/c...') #17 {main} thrown in /home/clients/cf1f815b9b0641d4ac8d0d92d7d5d38a/dossier-de-travail-2021/dynamique-jeunessse/wp-content/plugins/wp-views/vendor/toolset/dynamic-sources/server/Sources/PostContent.php on line 67

but if i clone the view and then do the same it works...

#2558017

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Is the view is added on the content template you created? If yes:
Can you please try to change the post with the dropdown available with "View with" at top bar and change the post to view with and see if that help you to resolve your issue.

#2560911

hi there, id d'ont understant what you want me to do do can you be more precise ?

#2560915

i cant even acces the template so i can't modify the view with...

#2560917

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2560939

I found the solution thanks to a request similar to mine where you had given the solution thanks! But how to make sure that it does not happen again, especially when the posts have a limited life time....

#2560943

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Glad to know that you found the solution where I mentioned with one of the related ticket.

As you know, this issue is known to us and we are going to try to improve here and the fix will be shipped with the near future release.

#2563525

My issue is resolved now. Thank you!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.