Skip Navigation

[Resolved] php error while creatring content template

This support ticket is created 4 years, 10 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 1 reply, has 2 voices.

Last updated by Luo Yang 4 years, 9 months ago.

Assisted by: Luo Yang.

Author
Posts
#1794149

Hi,

Wp Theme Impreza with us_load_template activated in Toolset Froentend-Content settings ...

we did a Drupal7 to WP migration using plugins FG Drupal to WordPress.

Now we use Toolset Types and Toolset Blocks to create a content template for the custom content type waters / gewaesser for which we have 38.000 DB entries.

When I try to edit the template listed here: hidden link
I get a lot of PHP errors:

Fatal error: Uncaught Error: Call to a member function get_value_filtered() on null
in /is/htdocs/wp1105866_182CBFGOLY/www/angelntotal_de/wp-content/plugins/types/application/models/field/type/checkbox/view/frontend.php on line 33
Call stack:
Types_Field_Type_Checkbox_View_Frontend::get_value()
wp-content/plugins/types/application/models/field/view.php:42
Types_Field_View::render()
wp-content/plugins/types/application/models/field/service.php:143
Types_Field_Service::render_frontend()
wp-content/plugins/types/application/functions_public.php:58
types_render_postmeta()
wp-content/plugins/types/application/functions_public.php:34
types_render_field()
wp-content/plugins/toolset-blocks/vendor/toolset/dynamic-sources/server/ToolsetSources/FieldInstanceModel.php:99
Toolset\D\T\FieldInstanceModel::get_field_value()
wp-content/plugins/toolset-blocks/vendor/toolset/dynamic-sources/server/ToolsetSources/CustomFieldGroupSource.php:100
Toolset\D\T\CustomFieldGroupSource::get_content()
wp-content/plugins/toolset-blocks/vendor/toolset/dynamic-sources/server/ToolsetSources/Main.php:114
Toolset\D\T\Main::Toolset\D\T\{closure}()
array_reduce()
wp-content/plugins/toolset-blocks/vendor/toolset/dynamic-sources/server/ToolsetSources/Main.php:117
Toolset\D\T\Main::Toolset\D\T\{closure}()
wp-includes/class-wp-hook.php:288
WP_Hook::apply_filters()
wp-includes/plugin.php:206
apply_filters()
wp-content/plugins/toolset-blocks/vendor/toolset/dynamic-sources/server/DynamicSources.php:831
Toolset\D\DynamicSources::get_dynamic_sources_data()
wp-includes/class-wp-hook.php:288
WP_Hook::apply_filters()
wp-includes/plugin.php:206

Questions:
What might be the problem?
Do we have to install more TS plugins, if yes, which?

Please advise!

BR
Dirk de Pol
hidden link
004915127540152

I deleted and reinstalled everything. The problem is still the same.

Can you please have a look?

BR
Dirk

#1795209

Hello,

Thanks for the details, I can login your website and see the problem, and have done below modifications in your website:
Dashboard-> Toolset-> Custom Fields, find and edit group "Waters fields":
hidden link

Click "Save" button, it should be able to reset the custom fields settings.

Test it again:
hidden link

IT works fine, please check if it is fixed, thanks

And I have edited you post to remove website credentials, it is not safe to share them publicly.