Home › Toolset Professional Support › [Resolved] fatal error
Problem:
Get some PHP errors when create content template:
Call to a member function get_value_filtered() on null...
Solution:
Find and edit the custom field group:
Reset the field group settings by clicking "Save" button
Relevant Documentation:
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.
Our next available supporter will start replying to tickets in about 2.41 hours from now. Thank you for your understanding.
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)
Tagged: Types plugin, Views plugin
This topic contains 9 replies, has 3 voices.
Last updated by alexandreA-3 4 years, 6 months ago.
Assisted by: Luo Yang.
I am trying to:
edit a template
Link to a page where the issue can be seen:
localhost yet
I expected to see:
Instead, I got:
Fatal error: Uncaught Error: Call to a member function get_value_filtered() on null in /Users/alexandreamato/www/wordpress.test/wp-content/plugins/types/application/models/field/type/checkbox/view/frontend.php:33 Stack trace: #0 /Users/alexandreamato/www/wordpress.test/wp-content/plugins/types/application/models/field/view.php(42): Types_Field_Type_Checkbox_View_Frontend->get_value() #1 /Users/alexandreamato/www/wordpress.test/wp-content/plugins/types/application/models/field/service.php(137): Types_Field_View->render() #2 /Users/alexandreamato/www/wordpress.test/wp-content/plugins/types/application/functions_public.php(58): Types_Field_Service->render_frontend(Object(Types_Field_Gateway_Wordpress_Post), Object(WP_Post), 'slideshow', Array, NULL) #3 /Users/alexandreamato/www/wordpress.test/wp-content/plugins/types/application/functions_public.php(34): types_render_postmeta('slideshow', Array, NULL) #4 /Users/alexandreamato/www/wordpress.test/wp-content/plugins/toolset-blocks/vendor/toolset/dynamic-sources/server/ToolsetSo in /Users/alexandreamato/www/wordpress.test/wp-content/plugins/types/application/models/field/type/checkbox/view/frontend.php on line 33
Hello. Thank you for contacting the Toolset support.
First of all - After checking to debug the information you shared with us, I found that you are using outdated Toolset plugins. We always recommend running your site with the latest stable release plugin version.
*** Please make a FULL BACKUP of your database and website.***
Could you please update ALL Toolset plugins to it's latest officially released version. You can download the latest plugin release from your accounts page:
=> https://toolset.com/account/downloads/
Can you please update ALL Toolset plugins and check if that helps you to resolve your issue.
Ok, I updated but still error:
Fatal error: Uncaught Error: Call to a member function get_value_filtered() on null in /Users/alexandreamato/www/wordpress.test/wp-content/plugins/types/application/models/field/type/checkbox/view/frontend.php:33 Stack trace: #0 /Users/alexandreamato/www/wordpress.test/wp-content/plugins/types/application/models/field/view.php(42): Types_Field_Type_Checkbox_View_Frontend->get_value() #1 /Users/alexandreamato/www/wordpress.test/wp-content/plugins/types/application/models/field/service.php(137): Types_Field_View->render() #2 /Users/alexandreamato/www/wordpress.test/wp-content/plugins/types/application/functions_public.php(58): Types_Field_Service->render_frontend(Object(Types_Field_Gateway_Wordpress_Post), Object(WP_Post), 'slideshow', Array, NULL) #3 /Users/alexandreamato/www/wordpress.test/wp-content/plugins/types/application/functions_public.php(34): types_render_postmeta('slideshow', Array, NULL) #4 /Users/alexandreamato/www/wordpress.test/wp-content/plugins/toolset-blocks/vendor/toolset/dynamic-sources/server/ToolsetSo in /Users/alexandreamato/www/wordpress.test/wp-content/plugins/types/application/models/field/type/checkbox/view/frontend.php on line 33
{"core":{"Wordpress":{"Multisite":"No","SiteURL":"http:\/\/wordpress.test","HomeURL":"http:\/\/wordpress.test","Version":"5.4.1","PermalinkStructure":"","PostTypes":"post, page, attachment, revision, nav_menu_item, custom_css, customize_changeset, oembed_cache, user_request, wp_block, neve_custom_layouts, elementor_library, wp-types-group, wp-types-user-group, wp-types-term-group, wpcf7_contact_form, flamingo_contact, flamingo_inbound, flamingo_outbound, view, view-template, ultimate_popunder, livro, mt_product, mt_service, mt_testimonial, webform, convenio, biografia, wpa-helper","PostSatus":"publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed, flamingo-spam, hidden"},"Server":{"jQueryVersion":"1.12.4-wp","PHPVersion":"7.3.1","MySQLVersion":"5.7.25","ServerSoftware":"Apache\/2.2.34 (Unix) mod_wsgi\/3.5 Python\/2.7.13 PHP\/7.3.1 mod_ssl\/2.2.34 OpenSSL\/1.0.2o DAV\/2 mod_fastcgi\/mod_fastcgi-SNAP-0910052141 mod_perl\/2.0.9 Perl\/v5.24.0"},"PHP":{"MemoryLimit":"1024M","UploadMax":"128M","PostMax":"1024M","TimeLimit":"3600","MaxInputVars":"1000"}},"plugins":{"active_plugins":{"better-search-replace\/better-search-replace.php":{"Name":"Better Search Replace","PluginURI":"https:\/\/bettersearchreplace.com","Version":"1.3.3","Author":"Delicious Brains","AuthorURI":"https:\/\/bettersearchreplace.com","TextDomain":"better-search-replace","DomainPath":"\/languages","Network":true,"RequiresWP":"","RequiresPHP":"","Title":"Better Search Replace","AuthorName":"Delicious Brains"},"contact-form-7-simple-recaptcha\/contact-form-7-simple-recaptcha.php":{"Name":"Contact Form 7 Captcha","PluginURI":"","Version":"0.0.3","Author":"247wd","AuthorURI":"","TextDomain":"contact-form-7-simple-recaptcha","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","Title":"Contact Form 7 Captcha","AuthorName":"247wd"},"contact-form-7\/wp-contact-form-7.php":{"Name":"Contact Form 7","PluginURI":"https:\/\/contactform7.com\/","Version":"5.1.9","Author":"Takayuki Miyoshi","AuthorURI":"https:\/\/ideasilo.wordpress.com\/","TextDomain":"contact-form-7","DomainPath":"\/languages\/","Network":false,"RequiresWP":"","RequiresPHP":"","Title":"Contact Form 7","AuthorName":"Takayuki Miyoshi"},"duplicator-pro\/duplicator-pro.php":{"Name":"Duplicator Pro","PluginURI":"http:\/\/snapcreek.com\/","Version":"3.8.8.1","Author":"Snap Creek","AuthorURI":"http:\/\/snapcreek.com","TextDomain":"duplicator-pro","DomainPath":"","Network":true,"RequiresWP":"","RequiresPHP":"","Title":"Duplicator Pro","AuthorName":"Snap Creek"},"elementor\/elementor.php":{"Name":"Elementor","PluginURI":"https:\/\/elementor.com\/?utm_source=wp-plugins\u0026utm_campaign=plugin-uri\u0026utm_medium=wp-dash","Version":"2.9.8","Author":"Elementor.com","AuthorURI":"https:\/\/elementor.com\/?utm_source=wp-plugins\u0026utm_campaign=author-uri\u0026utm_medium=wp-dash","TextDomain":"elementor","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","Title":"Elementor","AuthorName":"Elementor.com"},"featured-images-for-rss-feeds\/featured_images_in_rss.php":{"Name":"Featured Images in RSS for Mailchimp \u0026 Other Email","PluginURI":"http:\/\/wordpress.org\/plugins\/featured-images-for-rss-feeds\/","Version":"1.5.6","Author":"5 Star Plugins","AuthorURI":"https:\/\/5starplugins.com\/","TextDomain":"featured-images-for-rss-feeds","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","Title":"Featured Images in RSS for Mailchimp \u0026 Other Email","AuthorName":"5 Star Plugins"},"fg-drupal-to-wp-premium-internationalization-module\/fgd2wp-internationalization.php":{"Name":"FG Drupal to WordPress Premium Internationalization module","PluginURI":"https:\/\/www.fredericgilles.net\/fg-drupal-to-wordpress\/internationalization\/","Version":"1.0.4","Author":"Frédéric GILLES","AuthorURI":"","TextDomain":"fg-drupal-to-wp-premium-internationalization-module","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","Title":"FG Drupal to WordPress Premium Internationalization module","AuthorName":"Frédéric GILLES"},"fg-drupal-to-wp-premium-metatag-module\/fg-drupal-to-wp-metatag.php":{"Name":"FG Drupal to WordPress Premium Metatag module","PluginURI":"https:\/\/www.fredericgilles.net\/fg-drupal-to-wordpress\/","Version":"1.4.0","Author":"Frédéric GILLES","AuthorURI":"","TextDomain":"fg-drupal-to-wp-premium-metatag-module","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","Title":"FG Drupal to WordPress Premium Metatag module","AuthorName":"Frédéric GILLES"},"fg-drupal-to-wp-premium\/fg-drupal-to-wp-premium.php":{"Name":"FG Drupal to WordPress Premium","PluginURI":"https:\/\/www.fredericgilles.net\/fg-drupal-to-wordpress\/","Version":"2.5.1","Author":"Frédéric GILLES","AuthorURI":"https:\/\/www.fredericgilles.net\/","TextDomain":"fgd2wpp","DomainPath":"\/languages","Network":false,"RequiresWP":"","RequiresPHP":"","Title":"FG Drupal to WordPress Premium","AuthorName":"Frédéric GILLES"},"flamingo\/flamingo.php":{"Name":"Flamingo","PluginURI":"","Version":"2.1.1","Author":"Takayuki Miyoshi","AuthorURI":"","TextDomain":"flamingo","DomainPath":"\/languages\/","Network":false,"RequiresWP":"","RequiresPHP":"","Title":"Flamingo","AuthorName":"Takayuki Miyoshi"},"meks-video-importer\/meks-video-importer.php":{"Name":"Meks Video Importer","PluginURI":"http:\/\/mekshq.com\/plugin\/video-importer\/","Version":"1.0.8","Author":"Meks","AuthorURI":"http:\/\/mekshq.com","TextDomain":"meks-video-importer","DomainPath":"\/languages","Network":false,"RequiresWP":"","RequiresPHP":"","Title":"Meks Video Importer","AuthorName":"Meks"},"neve-pro-addon\/neve-pro-addon.php":{"Name":"Neve Pro Addon","PluginURI":"","Version":"1.2.0","Author":"ThemeIsle","AuthorURI":"https:\/\/themeisle.com","TextDomain":"neve","DomainPath":"\/languages","Network":false,"RequiresWP":"","RequiresPHP":"","Title":"Neve Pro Addon","AuthorName":"ThemeIsle"},"post-type-switcher\/post-type-switcher.php":{"Name":"Post Type Switcher","PluginURI":"https:\/\/wordpress.org\/plugins\/post-type-switcher\/","Version":"3.2.0","Author":"John James Jacoby","AuthorURI":"https:\/\/profiles.wordpress.org\/johnjamesjacoby\/","TextDomain":"post-type-switcher","DomainPath":"\/assets\/lang\/","Network":false,"RequiresWP":"","RequiresPHP":"","Title":"Post Type Switcher","AuthorName":"John James Jacoby"},"seo-redirection-premium\/seo-redirection-premium.php":{"Name":"SEO Redirection Premium","PluginURI":"http:\/\/www.clogica.com\/product\/seo-redirection-premium-wordpress-plugin","Version":"3.7","Author":"Fakhri Alsadi","AuthorURI":"http:\/\/www.clogica.com","TextDomain":"wsr","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","Title":"SEO Redirection Premium","AuthorName":"Fakhri Alsadi"},"simple-local-avatars\/simple-local-avatars.php":{"Name":"Simple Local Avatars","PluginURI":"https:\/\/10up.com\/plugins\/simple-local-avatars-wordpress\/","Version":"2.1.1","Author":"Jake Goldman, 10up","AuthorURI":"https:\/\/10up.com","TextDomain":"simple-local-avatars","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","Title":"Simple Local Avatars","AuthorName":"Jake Goldman, 10up"},"svg-support\/svg-support.php":{"Name":"SVG Support","PluginURI":"http:\/\/wordpress.org\/plugins\/svg-support\/","Version":"2.3.18","Author":"Benbodhi","AuthorURI":"https:\/\/benbodhi.com","TextDomain":"svg-support","DomainPath":"\/languages","Network":false,"RequiresWP":"","RequiresPHP":"","Title":"SVG Support","AuthorName":"Benbodhi"},"toolset-blocks\/wp-views.php":{"Name":"Toolset Blocks","PluginURI":"https:\/\/toolset.com\/?utm_source=viewsplugin\u0026utm_campaign=views\u0026utm_medium=plugins-list-full-version\u0026utm_term=Visit plugin site","Version":"1.1.3","Author":"OnTheGoSystems","AuthorURI":"https:\/\/toolset.com","TextDomain":"toolset-blocks","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","Title":"Toolset Blocks","AuthorName":"OnTheGoSystems"},"types\/wpcf.php":{"Name":"Toolset Types","PluginURI":"https:\/\/toolset.com\/?utm_source=typesplugin\u0026utm_campaign=types\u0026utm_medium=plugins-list-full-version\u0026utm_term=Visit plugin site","Version":"3.3.10","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com","TextDomain":"types","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","Title":"Toolset Types","AuthorName":"OnTheGoSystems"},"ultimate-popunder\/ultimate-popunder.php":{"Name":"Ultimate PopUnder","PluginURI":"#","Version":"1.2.5","Author":"Cris Griffith","AuthorURI":"https:\/\/profiles.wordpress.org\/webmasterjunkie","TextDomain":"ultimate-popunder","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","Title":"Ultimate PopUnder","AuthorName":"Cris Griffith"},"username-changer\/class-username-changer.php":{"Name":"Username Changer","PluginURI":"https:\/\/gitlab.com\/widgitlabs\/wordpress\/Username-Changer","Version":"3.2.1","Author":"Widgit Team","AuthorURI":"https:\/\/widgit.io","TextDomain":"username-changer","DomainPath":"languages","Network":false,"RequiresWP":"","RequiresPHP":"","Title":"Username Changer","AuthorName":"Widgit Team"},"wordpress-importer\/wordpress-importer.php":{"Name":"WordPress Importer","PluginURI":"https:\/\/wordpress.org\/plugins\/wordpress-importer\/","Version":"0.7","Author":"wordpressdotorg","AuthorURI":"https:\/\/wordpress.org\/","TextDomain":"wordpress-importer","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","Title":"WordPress Importer","AuthorName":"wordpressdotorg"},"wordpress-seo\/wp-seo.php":{"Name":"Yoast SEO","PluginURI":"https:\/\/yoa.st\/1uj","Version":"14.1","Author":"Team Yoast","AuthorURI":"https:\/\/yoa.st\/1uk","TextDomain":"wordpress-seo","DomainPath":"\/languages\/","Network":false,"RequiresWP":"","RequiresPHP":"","Title":"Yoast SEO","AuthorName":"Team Yoast"},"wp-rocket\/wp-rocket.php":{"Name":"WP Rocket","PluginURI":"https:\/\/wp-rocket.me","Version":"3.5.5.1","Author":"WP Media","AuthorURI":"https:\/\/wp-media.me","TextDomain":"rocket","DomainPath":"languages","Network":false,"RequiresWP":"","RequiresPHP":"","Title":"WP Rocket","AuthorName":"WP Media"},"wp-whatsapp-chat-pro\/wp-whatsapp-chat-pro.php":{"Name":"WhatsApp Chat PRO","PluginURI":"https:\/\/quadlayers.com\/portfolio\/wordpress-whatsapp-chat\/","Version":"2.4.5","Author":"QuadLayers","AuthorURI":"https:\/\/quadlayers.com","TextDomain":"wp-whatsapp-chat-pro","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","Title":"WhatsApp Chat PRO","AuthorName":"QuadLayers"},"wp-whatsapp-chat\/wp-whatsapp-chat.php":{"Name":"WhatsApp Chat","PluginURI":"https:\/\/quadlayers.com\/portfolio\/whatsapp-chat\/","Version":"4.6.5","Author":"QuadLayers","AuthorURI":"https:\/\/quadlayers.com","TextDomain":"wp-whatsapp-chat","DomainPath":"\/languages","Network":false,"RequiresWP":"","RequiresPHP":"","Title":"WhatsApp Chat","AuthorName":"QuadLayers"},"wpa-seo-auto-linker\/wpa-seo-auto-linker.php":{"Name":"WPA SEO Auto Linker","PluginURI":"https:\/\/www.wpassist.tech\/wordpress-plugins\/wpa-seo-auto-linker\/","Version":"1.2","Author":"Arjan Olsder","AuthorURI":"https:\/\/www.wpassist.tech","TextDomain":"wpa-seo-auto-linker","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","Title":"WPA SEO Auto Linker","AuthorName":"Arjan Olsder"}},"mu_plugins":[],"dropins":{"advanced-cache.php":{"Name":"advanced-cache.php","PluginURI":"","Version":"","Description":"","Author":"","AuthorURI":"","TextDomain":"","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","Title":"","AuthorName":""}}},"theme":{"Name":"Neve","ThemeURI":null,"Author":"\u003Ca href=\u0022http:\/\/themeisle.com\u0022\u003EThemeIsle\u003C\/a\u003E","AuthorURI":null,"Template":"neve","Version":"2.6.6","TextDomain":null,"DomainPath":null},"extra-debug":{"types":{"add_resized_images_to_library":0,"register_translations_on_import":1,"images_remote":0,"images_remote_cache_time":"36","help_box":"by_types","hide_standard_custom_fields_metabox":"show","postmeta_unfiltered_html":"on","usermeta_unfiltered_html":"on"},"views":{"views_template_loop_blog":0,"wpv_bootstrap_version":1,"wpv_custom_conditional_functions":[],"wpv_custom_inner_shortcodes":[],"wpv_debug_mode":"","wpv_debug_mode_type":"compact","wpv_map_plugin":0,"wpv_show_hidden_fields":"","wpv_saved_auto_detected_framework":"","wpv_codemirror_autoresize":"","wpv_enable_pagination_manage_history":true,"wpv_enable_parametric_search_manage_history":true,"support_spaces_in_meta_filters":0,"allow_views_wp_widgets_in_elementor":0,"default_user_editor":"gutenberg","default_wpa_editor":"gutenberg","manage_meta_transient_method":"cron","editing_experience":"blocks","views_template_for_convenio":2014,"view_cpt_convenio":2015,"view_cpt_mt_showcase":"2019","views_template_for_biografia":2043,"view_cpt_biografia":"2044","views_template_for_mt_product":2055,"views_template_for_livro":2056,"view_cpt_post":2263,"views_template_for_post":2262},"installer":{"version":"2.2.4","repositories":{"wpml":{"api-url":"https:\/\/api.wpml.org\/","bucket-url":"not assigned","subscription":""},"toolset":{"api-url":"https:\/\/api.toolset.com\/","bucket-url":"https:\/\/wptypes.s3.amazonaws.com\/toolset-bucket-57.json","subscription":{"key":"AbEQQpieSn","data":{"subscription_type":7528,"expires":"2021-01-25","status":"1","notes":"upgraded from #86745"},"registered_by":2,"site_url":"http:\/\/wordpress.test"}}},"instances":{"\/Users\/alexandreamato\/www\/wordpress.test\/wp-content\/plugins\/types\/vendor\/otgs\/installer\/installer.php":{"bootfile":"\/Users\/alexandreamato\/www\/wordpress.test\/wp-content\/plugins\/types\/vendor\/otgs\/installer\/installer.php","version":"2.2.4","args":{"plugins_install_tab":"1","repositories_include":["toolset","wpml"]},"delegated":true}}}}}
That is really strange.
Can you please send me admin as well as FTP access details. In addition to that, do you see the fatal error on every page or few specific pages?
*** 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.
The problem is that it is on my local webserver, I haven't deployed it yet. If it is essential, I may upload to a test server.
Yes, please.
you can either upload on test server or send me a duplicator copy of your site.
More info:
=> https://toolset.com/faq/provide-supporters-copy-site/
*** 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.
Can you please tell me where on what page I can see the error you shared?
Toolset > Painel (dashboard) > Especialidade/template/model
Hello,
Minesh is on holiday, I will take care of this ticket.
I have done, below modifications in your website:
Edit field group "Mt_product fields":
hidden link
Reset the field group settings by clicking "Save" button, please test again, check if it is fixed, thanks
My issue is resolved now. Thank you!