Skip Navigation

[Resolved] View cell creation not working

This support ticket is created 5 years, 1 month 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 11 replies, has 2 voices.

Last updated by Luo Yang 5 years ago.

Assisted by: Luo Yang.

Author
Posts
#1413401

I am creating a new layout, and when I try to "Create new View cell" nothing happens; I get a progress bar that appears animated, but it just gets stuck. The popup window is white, with the save and close buttons disabled. I can provide you with access to the WordPress admin if you want.

#1413447

note - the hosting company is currently having issues so please hold off on going into the WordPress admin. I'll let you know when it's safe to do so.

#1413673

You're able to get into the admin now, if you need to troubleshoot. The problem is still occurring.

#1413689

I just tried disabling our new "blocks" plugin, and now I can create a view. Is this plugin perhaps not perfected yet? Let me know if there is anything to try to get it to work, and feel free to log in & see if you can get it to work.

#1414271

Hello,

I can log into your website, I assume we are talking about this:
1) Activate Toolset Blocks plugin, deactivate Toolset Views plugin
2) Create/edit a layout, can not add a view cell

Please try this:
Dashboard-> Toolset-> Settings-> General, in section "Editing experience", enable option "Show both the legacy and Blocks interface and let me choose which to use for each item I build", and test again.

#1414949

Now am trying to design a new layout for a particular content type. I have unassigned the previous one and started to create a new content template. But on that screen, when I click "Blocks" to get into the new blocked editing mode, I get the following. Note - I was able to use it on a new content template, for a content type that previously had no template.

( ! ) Fatal error: Uncaught Error: Call to a member function get_value_filtered() on null in C:\Websites\www.aqdrupalwithimages.dev.cc\wp-content\plugins\types\application\models\field\type\checkbox\view\frontend.php on line 33
( ! ) Error: Call to a member function get_value_filtered() on null in C:\Websites\www.aqdrupalwithimages.dev.cc\wp-content\plugins\types\application\models\field\type\checkbox\view\frontend.php on line 33
Call Stack
# Time Memory Function Location
1 0.0089 539592 {main}( ) ...\post.php:0
2 1.1089 72786200 include( 'C:\Websites\www.aqdrupalwithimages.dev.cc\wp-admin\edit-form-blocks.php' ) ...\post.php:179
3 1.3036 75997560 do_action( ) ...\edit-form-blocks.php:361
4 1.3036 75997832 WP_Hook->do_action( ) ...\plugin.php:478
5 1.3036 75997832 WP_Hook->apply_filters( ) ...\class-wp-hook.php:312
6 1.9272 89125816 Toolset\DynamicSources\DynamicSources->register_localization_data( ) ...\class-wp-hook.php:288
7 1.9275 89126552 apply_filters( ) ...\DynamicSources.php:837
8 1.9275 89126848 WP_Hook->apply_filters( ) ...\plugin.php:206
9 1.9275 89127840 Toolset\DynamicSources\DynamicSources->get_dynamic_sources_data( ) ...\class-wp-hook.php:288
10 1.9324 89178568 apply_filters( ) ...\DynamicSources.php:853
11 1.9324 89178864 WP_Hook->apply_filters( ) ...\plugin.php:206
12 1.9983 89557272 Toolset\DynamicSources\ToolsetSources\Main->Toolset\DynamicSources\ToolsetSources\{closure}( ) ...\class-wp-hook.php:288
13 2.0012 89569216 array_reduce ( ) ...\Main.php:113
14 2.0414 90856576 Toolset\DynamicSources\ToolsetSources\Main->Toolset\DynamicSources\ToolsetSources\{closure}( ) ...\Main.php:113
15 2.0414 90856576 Toolset\DynamicSources\ToolsetSources\CustomFieldGroupSource->get_content( ) ...\Main.php:110
16 2.0414 90856680 Toolset\DynamicSources\ToolsetSources\FieldInstanceModel->get_field_value( ) ...\CustomFieldGroupSource.php:100
17 2.0414 90856680 types_render_field( ) ...\FieldInstanceModel.php:99
18 2.0414 90856680 types_render_postmeta( ) ...\functions_public.php:34
19 2.0414 90857240 Types_Field_Service->render_frontend( ) ...\functions_public.php:58
20 2.0432 90890616 Types_Field_View->render( ) ...\service.php:137
21 2.0432 90890616 Types_Field_Type_Checkbox_View_Frontend->get_value( ) ...\view.php:42

#1414953

This is really messing up my site, if I simply try to edit a post of the content type in question (the one I removed the previous content template from and am trying to create a new one for) I get the following. When I view the post, it's fine, but when I go into edit I get this error. NOte - this on my local environment, not the dev site I mentioned above. I can't allow that to be broken right now.

( ! ) Fatal error: Uncaught Error: Call to a member function get_value_filtered() on null in C:\Websites\www.aqdrupalwithimages.dev.cc\wp-content\plugins\types\application\models\field\type\checkbox\view\frontend.php on line 33
( ! ) Error: Call to a member function get_value_filtered() on null in C:\Websites\www.aqdrupalwithimages.dev.cc\wp-content\plugins\types\application\models\field\type\checkbox\view\frontend.php on line 33
Call Stack
# Time Memory Function Location
1 0.0091 539560 {main}( ) ...\post.php:0
2 1.2181 75074040 include( 'C:\Websites\www.aqdrupalwithimages.dev.cc\wp-admin\edit-form-blocks.php' ) ...\post.php:179
3 1.4364 78499728 do_action( ) ...\edit-form-blocks.php:361
4 1.4364 78500000 WP_Hook->do_action( ) ...\plugin.php:478
5 1.4364 78500000 WP_Hook->apply_filters( ) ...\class-wp-hook.php:312
6 1.9397 89531752 Toolset\DynamicSources\DynamicSources->register_localization_data( ) ...\class-wp-hook.php:288
7 1.9399 89532488 apply_filters( ) ...\DynamicSources.php:837
8 1.9399 89532784 WP_Hook->apply_filters( ) ...\plugin.php:206
9 1.9399 89533776 Toolset\DynamicSources\DynamicSources->get_dynamic_sources_data( ) ...\class-wp-hook.php:288
10 1.9450 89583416 apply_filters( ) ...\DynamicSources.php:853
11 1.9450 89583712 WP_Hook->apply_filters( ) ...\plugin.php:206
12 2.0260 89990592 Toolset\DynamicSources\ToolsetSources\Main->Toolset\DynamicSources\ToolsetSources\{closure}( ) ...\class-wp-hook.php:288
13 2.0283 90002536 array_reduce ( ) ...\Main.php:113
14 2.0716 91305744 Toolset\DynamicSources\ToolsetSources\Main->Toolset\DynamicSources\ToolsetSources\{closure}( ) ...\Main.php:113
15 2.0716 91305744 Toolset\DynamicSources\ToolsetSources\CustomFieldGroupSource->get_content( ) ...\Main.php:110
16 2.0716 91305848 Toolset\DynamicSources\ToolsetSources\FieldInstanceModel->get_field_value( ) ...\CustomFieldGroupSource.php:100
17 2.0716 91305848 types_render_field( ) ...\FieldInstanceModel.php:99
18 2.0716 91305848 types_render_postmeta( ) ...\functions_public.php:34
19 2.0716 91306408 Types_Field_Service->render_frontend( ) ...\functions_public.php:58
20 2.0734 91339512 Types_Field_View->render( ) ...\service.php:137
21 2.0734 91339512 Types_Field_Type_Checkbox_View_Frontend->get_value( ) ...\view.php:42
There has been a critical error on your website. Please check your site admin email inbox for instructions.

Learn more about debugging in WordPress.

#1414961

debut info : {"core":{"Wordpress":{"Multisite":"No","SiteURL":"https:\/\/www.aqdrupalwithimages.dev.cc","HomeURL":"https:\/\/www.aqdrupalwithimages.dev.cc","Version":"5.3.1","PermalinkStructure":"\/%postname%\/","PostTypes":"post, page, attachment, revision, nav_menu_item, custom_css, customize_changeset, oembed_cache, user_request, wp_block, dd_layouts, wp-types-group, wp-types-user-group, wp-types-term-group, gp_elements, view, view-template, issue, webexclusive, fulltextarticle, event, article_type, department, charticle, issue_highlight, fullwidthpage, aritcle_highlight, aq-author, wpa-helper, widget-area","PostSatus":"publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed, hidden"},"Server":{"jQueryVersion":"1.12.4-wp","PHPVersion":"7.1.13","MySQLVersion":"5.6.24","ServerSoftware":"Apache\/2.4.29 (Win32) OpenSSL\/1.0.2n PHP\/7.1.13"},"PHP":{"MemoryLimit":"1G","UploadMax":"2G","PostMax":"1G","TimeLimit":"3600","MaxInputVars":"5000"}},"plugins":{"active_plugins":{"backupbuddy\/backupbuddy.php":{"Name":"BackupBuddy","PluginURI":"http:\/\/ithemes.com\/purchase\/backupbuddy\/","Version":"8.3.4.0","Author":"iThemes","AuthorURI":"http:\/\/ithemes.com\/","TextDomain":"backupbuddy","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","Title":"BackupBuddy","AuthorName":"iThemes"},"delete-all-comments-of-website\/delete-all-comments-of-wordpress-website.php":{"Name":"Delete All Comments of wordpress","PluginURI":"http:\/\/www.navneetsoni.com\/plugins\/delete-comments","Version":"2.4","Author":"Navneet Soni","AuthorURI":"http:\/\/www.navneetsoni.com","TextDomain":"delete-all-comments-of-website","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","Title":"Delete All Comments of wordpress","AuthorName":"Navneet Soni"},"fg-drupal-to-wp-premium-cck-module\/fg-drupal-to-wp-cck.php":{"Name":"FG Drupal to WordPress Premium CCK module","PluginURI":"https:\/\/www.fredericgilles.net\/fg-drupal-to-wordpress\/","Version":"1.12.0","Author":"Frédéric GILLES","AuthorURI":"","TextDomain":"fg-drupal-to-wp-premium-cck-module","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","Title":"FG Drupal to WordPress Premium CCK module","AuthorName":"Frédéric GILLES"},"fg-drupal-to-wp-premium-fieldcollection-module\/fg-drupal-to-wp-fieldcollection.php":{"Name":"FG Drupal to WordPress Premium Field Collection module","PluginURI":"https:\/\/www.fredericgilles.net\/fg-drupal-to-wordpress\/","Version":"1.1.2","Author":"Frédéric GILLES","AuthorURI":"","TextDomain":"fg-drupal-to-wp-premium-fieldcollection-module","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","Title":"FG Drupal to WordPress Premium Field Collection 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.3.1","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":"1.88.2","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"},"gp-premium\/gp-premium.php":{"Name":"GP Premium","PluginURI":"https:\/\/generatepress.com","Version":"1.9.1","Author":"Tom Usborne","AuthorURI":"https:\/\/generatepress.com","TextDomain":"gp-premium","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","Title":"GP Premium","AuthorName":"Tom Usborne"},"layouts\/dd-layouts.php":{"Name":"Toolset Layouts","PluginURI":"https:\/\/toolset.com\/","Version":"2.6.3.1","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com","TextDomain":"layouts","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","Title":"Toolset Layouts","AuthorName":"OnTheGoSystems"},"related-posts-by-taxonomy\/related-posts-by-taxonomy.php":{"Name":"Related Posts By Taxonomy","PluginURI":"http:\/\/keesiemeijer.wordpress.com\/related-posts-by-taxonomy\/","Version":"2.7.2","Author":"keesiemijer","AuthorURI":"","TextDomain":"related-posts-by-taxonomy","DomainPath":"\/lang","Network":false,"RequiresWP":"","RequiresPHP":"","Title":"Related Posts By Taxonomy","AuthorName":"keesiemijer"},"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.0.1","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.8","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com","TextDomain":"types","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","Title":"Toolset Types","AuthorName":"OnTheGoSystems"},"wordpress-popular-posts\/wordpress-popular-posts.php":{"Name":"WordPress Popular Posts","PluginURI":"https:\/\/wordpress.org\/plugins\/wordpress-popular-posts\/","Version":"5.0.1","Author":"Hector Cabrera","AuthorURI":"https:\/\/cabrerahector.com\/","TextDomain":"wordpress-popular-posts","DomainPath":"\/languages","Network":false,"RequiresWP":"","RequiresPHP":"","Title":"WordPress Popular Posts","AuthorName":"Hector Cabrera"}},"mu_plugins":[],"dropins":[]},"theme":{"Name":"GeneratePress","ThemeURI":null,"Author":"\u003Ca href=\u0022https:\/\/tomusborne.com\u0022\u003ETom Usborne\u003C\/a\u003E","AuthorURI":null,"Template":"generatepress","Version":"2.3.2","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"},"layouts":{"ddl_layouts_css_framework_options":"bootstrap-3","framework_setup":true},"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":0,"wpv_enable_parametric_search_manage_history":0,"support_spaces_in_meta_filters":0,"allow_views_wp_widgets_in_elementor":0,"default_user_editor":"gutenberg","default_wpa_editor":"basic","manage_meta_transient_method":"cron","editing_experience":"mixed","views_template_for_page":12032,"views_template_for_webexclusive":0},"installer":{"version":"2.2.2","repositories":{"wpml":{"api-url":"https:\/\/api.wpml.org\/","bucket-url":"not assigned","subscription":""},"toolset":{"api-url":"https:\/\/api.toolset.com\/","bucket-url":"not assigned","subscription":{"key":"laXYcKG0ym","data":{"subscription_type":5740,"expires":null,"status":"4"},"registered_by":1,"site_url":"https:\/\/www.aqdrupalwithimages.dev.cc"}}},"instances":{"C:\\Websites\\www.aqdrupalwithimages.dev.cc\\wp-content\\plugins\\types\\vendor\\otgs\\installer\/installer.php":{"bootfile":"C:\\Websites\\www.aqdrupalwithimages.dev.cc\\wp-content\\plugins\\types\\vendor\\otgs\\installer\/installer.php","version":"2.2.2","args":{"plugins_install_tab":"1","repositories_include":["toolset","wpml"]},"delegated":true}}}}}

#1414985

Also, it really seems that the content type in question is using an old layout that i had trashed (after assigning a different one to the content type) - is there some kind of Toolsat caching that needs to be emptied?

#1415673

The problem you mentioned above is abnormal, please check these:
1) In case it is a compatibility problem, please deactivate all other plugins, and test again
2) If the problem still persists, please provide database dump file(ZIP file) of your website(you can put the files in your own google drive disk, and share the link), also point out the problem page/post URL, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/

#1421815
#1422659
season.JPG

Thanks for the details, I can see the problem in layout "Template for Authors".

Please try these:
Dashboard-> Toolset-> Custom fields-> Post Fields
1) find and edit field group "Issue fields":
hidden link

Edit custom checkboxes field "Season", in option "Summer", you are using value "0", and you should be able to see the message:
This value can't be zero
See screenshot season.JPG

Please try to change the value to something else, for example, use text: s

Save the post field group.

2) find and edit field group "Post fields", save the post field group.
hidden link
It will be able to reset Types setting cache.

And test again.

#1455157

Hello,

Our 2nd tier supporter is asking for detail steps to duplicate the same problem in a fresh WordPress installation.
Do you have any clue(step by step) to reproduce the same problem in a fresh WordPress installation?
Thanks