Skip Navigation

[Resolved] Toolset is not working correctly …

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

Last updated by Luo Yang 3 years ago.

Assisted by: Luo Yang.

Author
Posts
#2247973
Screen Shot 2021-12-18 at 7.22.26 PM.png
Screen Shot 2021-12-18 at 7.22.34 PM.png

Tell us what you are trying to do?

I am trying to use a view on a CPT template and some very odd things are happening.

1. If I create a view, and select the options ... if I go back to edit the view (to set ordering for instance) the view completely forgets what I was selecting and all the fields that I selected in the view loop report "nothing found for this query" ... no matter what I do.

2. when the view isn't "losing it's way" It seems to not be retrieving / displaying data.

for instance ... you can see in the screen shots that it is only displaying ___ ___ Version 3.0 instead of 810 Invoice 3.0 ... and it's correctly displaying the 810 Invoice data directly above ...
what would be causing this weirdness?

Is there a similar example that we can see?

It is on our staging server ... I could probably arrange access but it would be tricky to set up

What is the link to your site?

it is not currently accessible via the public but hidden link

I am at a loss here ... both of these issues are totally confusing me

thx in advance

#2248319
Screen Shot 2021-12-19 at 11.11.54 AM.jpg
Screen Shot 2021-12-19 at 11.10.07 AM.png

Here is what the view looks like in Gutenberg ... and when I preview the toolset template ...

note: Toolset is showing all the rest of the text on the page just fine ... just not the view.

I don't know what is going on, but it isn't right

#2248337

here is the debug code:

{"core":{"Wordpress":{"Multisite":"No","SiteURL":"https:\/\/www.fcb2b.info\/staging\/4819","HomeURL":"https:\/\/www.fcb2b.info\/staging\/4819","Version":"5.8.2","PermalinkStructure":"\/%postname%\/","PostTypes":"post, page, attachment, revision, nav_menu_item, custom_css, customize_changeset, oembed_cache, user_request, wp_block, wp_template, memberpressrule, mp-reminder, memberpressproduct, memberpresscoupon, memberpressgroup, asp-products, stripe_order, edd_log, download, edd_payment, edd_discount, wp-types-group, wp-types-user-group, wp-types-term-group, ticket-meta-fieldset, asp_coupons, view, view-template, kt_font, tribe_rsvp_tickets, tribe_rsvp_attendees, tribe_tpp_tickets, tribe_tpp_attendees, tribe_tpp_orders, tribe_venue, tribe_organizer, tribe_events, tribe-ea-record, deleted_event, kb_icon, x12-document, tbx-doc-version, web-service, video, document, link, support-doc, wpa-helper","PostSatus":"publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed, refunded, failed, revoked, abandoned, processing, active, inactive, tribe-ea-success, tribe-ea-failed, tribe-ea-schedule, tribe-ea-pending, tribe-ea-draft, tribe-ignored, hidden, preapproval_pending, preapproval, cancelled"},"Server":{"jQueryVersion":"3.6.0","PHPVersion":"7.4.26","MySQLVersion":"5.7.23","ServerSoftware":"Apache"},"PHP":{"MemoryLimit":"1024M","UploadMax":"1024M","PostMax":"1024M","TimeLimit":"6000","MaxInputVars":"6000"}},"plugins":{"active_plugins":{"akismet\/akismet.php":{"Name":"Akismet Anti-Spam","PluginURI":"https:\/\/akismet.com\/","Version":"4.2.1","Author":"Automattic","AuthorURI":"https:\/\/automattic.com\/wordpress-plugins\/","TextDomain":"akismet","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Akismet Anti-Spam","AuthorName":"Automattic"},"bluehost-wordpress-plugin\/bluehost-wordpress-plugin.php":{"Name":"Bluehost","PluginURI":"","Version":"2.8.5","Author":"Bluehost","AuthorURI":"https:\/\/www.bluehost.com\/","TextDomain":"bluehost-wordpress-plugin","DomainPath":"\/languages","Network":false,"RequiresWP":"4.7","RequiresPHP":"5.6","UpdateURI":"","Title":"Bluehost","AuthorName":"Bluehost"},"browser-shots\/browser-shots.php":{"Name":"Browser Shots","PluginURI":"https:\/\/wordpress.org\/plugins\/browser-shots\/","Version":"1.7.7","Author":"Ben Gillbanks","AuthorURI":"https:\/\/prothemedesign.com","TextDomain":"browser-shots","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Browser Shots","AuthorName":"Ben Gillbanks"},"counter-block\/counter.php":{"Name":"Counter Block","PluginURI":"","Version":"1.0.0","Author":"Achal Jain","AuthorURI":"","TextDomain":"ib-counter","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Counter Block","AuthorName":"Achal Jain"},"duplicate-page\/duplicatepage.php":{"Name":"Duplicate Page","PluginURI":"https:\/\/wordpress.org\/plugins\/duplicate-page\/","Version":"4.4.7","Author":"mndpsingh287","AuthorURI":"https:\/\/profiles.wordpress.org\/mndpsingh287\/","TextDomain":"duplicate-page","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Duplicate Page","AuthorName":"mndpsingh287"},"easy-digital-downloads\/easy-digital-downloads.php":{"Name":"Easy Digital Downloads","PluginURI":"https:\/\/easydigitaldownloads.com","Version":"2.11.3.1","Author":"Easy Digital Downloads","AuthorURI":"https:\/\/easydigitaldownloads.com","TextDomain":"easy-digital-downloads","DomainPath":"languages","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Easy Digital Downloads","AuthorName":"Easy Digital Downloads"},"edd-stripe\/edd-stripe.php":{"Name":"Easy Digital Downloads - Stripe Payment Gateway","PluginURI":"","Version":"2.8.1","Author":"Sandhills Development, LLC","AuthorURI":"https:\/\/sandhillsdev.com","TextDomain":"edds","DomainPath":"languages","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Easy Digital Downloads - Stripe Payment Gateway","AuthorName":"Sandhills Development, LLC"},"event-tickets-plus\/event-tickets-plus.php":{"Name":"Event Tickets Plus","PluginURI":"https:\/\/evnt.is\/1acc","Version":"5.3.2","Author":"The Events Calendar","AuthorURI":"https:\/\/evnt.is\/28","TextDomain":"event-tickets-plus","DomainPath":"\/lang\/","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Event Tickets Plus","AuthorName":"The Events Calendar"},"event-tickets\/event-tickets.php":{"Name":"Event Tickets","PluginURI":"https:\/\/evnt.is\/1acb","Version":"5.2.2","Author":"The Events Calendar","AuthorURI":"https:\/\/evnt.is\/1aor","TextDomain":"event-tickets","DomainPath":"\/lang\/","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Event Tickets","AuthorName":"The Events Calendar"},"events-calendar-pro\/events-calendar-pro.php":{"Name":"The Events Calendar PRO","PluginURI":"","Version":"5.11.1","Author":"The Events Calendar","AuthorURI":"https:\/\/evnt.is\/20","TextDomain":"tribe-events-calendar-pro","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"The Events Calendar PRO","AuthorName":"The Events Calendar"},"events-virtual\/events-virtual.php":{"Name":"The Events Calendar: Virtual Events","PluginURI":"","Version":"1.7.3","Author":"The Events Calendar","AuthorURI":"http:\/\/evnt.is\/20","TextDomain":"events-virtual","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"The Events Calendar: Virtual Events","AuthorName":"The Events Calendar"},"kadence-blocks-pro\/kadence-blocks-pro.php":{"Name":"Kadence Blocks - PRO Extension","PluginURI":"https:\/\/www.kadencewp.com\/product\/kadence-gutenberg-blocks\/","Version":"1.5.8","Author":"Kadence WP","AuthorURI":"https:\/\/www.kadencewp.com\/","TextDomain":"kadence-blocks-pro","DomainPath":"\/languages","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Kadence Blocks - PRO Extension","AuthorName":"Kadence WP"},"kadence-blocks\/kadence-blocks.php":{"Name":"Kadence Blocks – Gutenberg Blocks for Page Builder Features","PluginURI":"https:\/\/www.kadencewp.com\/product\/kadence-gutenberg-blocks\/","Version":"2.1.19","Author":"Kadence WP","AuthorURI":"https:\/\/www.kadencewp.com","TextDomain":"kadence-blocks","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Kadence Blocks – Gutenberg Blocks for Page Builder Features","AuthorName":"Kadence WP"},"kadence-custom-fonts\/kadence-custom-fonts.php":{"Name":"Kadence Custom Fonts","PluginURI":"","Version":"1.1.1","Author":"Kadence WP","AuthorURI":"http:\/\/kadencewp.com\/","TextDomain":"kadence-custom-fonts","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Kadence Custom Fonts","AuthorName":"Kadence WP"},"kadence-pro\/kadence-pro.php":{"Name":"Kadence Pro - Premium addon for the Kadence Theme","PluginURI":"https:\/\/www.kadence-theme.com\/premium\/","Version":"1.0.4","Author":"Kadence WP","AuthorURI":"https:\/\/www.kadencewp.com\/","TextDomain":"kadence-pro","DomainPath":"\/languages","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Kadence Pro - Premium addon for the Kadence Theme","AuthorName":"Kadence WP"},"login-or-logout-menu-item\/main.php":{"Name":"Login or Logout Menu Item","PluginURI":"https:\/\/caseproof.com","Version":"1.2.1","Author":"cartpauj","AuthorURI":"","TextDomain":"lolmi","DomainPath":"\/i18n","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Login or Logout Menu Item","AuthorName":"cartpauj"},"memberpress-corporate\/main.php":{"Name":"MemberPress Corporate Accounts","PluginURI":"https:\/\/www.memberpress.com\/","Version":"1.5.19","Author":"Caseproof, LLC","AuthorURI":"http:\/\/caseproof.com\/","TextDomain":"memberpress-corporate","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"MemberPress Corporate Accounts","AuthorName":"Caseproof, LLC"},"memberpress-importer\/memberpress-importer.php":{"Name":"MemberPress Importer","PluginURI":"http:\/\/memberpress.com","Version":"1.6.7","Author":"Caseproof, LLC","AuthorURI":"http:\/\/caseproof.com","TextDomain":"memberpress-importer","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"MemberPress Importer","AuthorName":"Caseproof, LLC"},"memberpress-pdf-invoice\/memberpress-pdf-invoice.php":{"Name":"MemberPress PDF Invoice","PluginURI":"http:\/\/memberpress.com","Version":"1.1.10","Author":"Caseproof, LLC","AuthorURI":"http:\/\/caseproof.com","TextDomain":"memberpress-pdf-invoice","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"MemberPress PDF Invoice","AuthorName":"Caseproof, LLC"},"memberpress\/memberpress.php":{"Name":"MemberPress Plus 10 (Legacy)","PluginURI":"http:\/\/www.memberpress.com\/","Version":"1.9.27","Author":"Caseproof, LLC","AuthorURI":"http:\/\/caseproof.com\/","TextDomain":"memberpress","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"MemberPress Plus 10 (Legacy)","AuthorName":"Caseproof, LLC"},"stripe-payments\/accept-stripe-payments.php":{"Name":"Accept Stripe Payments","PluginURI":"https:\/\/s-plugins.com","Version":"2.0.52","Author":"Tips and Tricks HQ, wptipsntricks","AuthorURI":"https:\/\/www.tipsandtricks-hq.com\/","TextDomain":"stripe-payments","DomainPath":"\/languages","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Accept Stripe Payments","AuthorName":"Tips and Tricks HQ, wptipsntricks"},"the-events-calendar\/the-events-calendar.php":{"Name":"The Events Calendar","PluginURI":"","Version":"5.12.1","Author":"The Events Calendar","AuthorURI":"https:\/\/evnt.is\/1x","TextDomain":"the-events-calendar","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"The Events Calendar","AuthorName":"The Events Calendar"},"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.6.1","Author":"OnTheGoSystems","AuthorURI":"https:\/\/toolset.com","TextDomain":"toolset-blocks","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Toolset Blocks","AuthorName":"OnTheGoSystems"},"toolset-maps\/toolset-maps-loader.php":{"Name":"Toolset Maps","PluginURI":"https:\/\/toolset.com\/documentation\/user-guides\/display-on-google-maps\/","Version":"2.0.11","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com","TextDomain":"toolset-maps","DomainPath":"\/languages","Network":false,"RequiresWP":"3.4","RequiresPHP":"5.6","UpdateURI":"","Title":"Toolset Maps","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.4.14","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com","TextDomain":"types","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Toolset Types","AuthorName":"OnTheGoSystems"},"updraftplus\/updraftplus.php":{"Name":"UpdraftPlus - Backup\/Restore","PluginURI":"https:\/\/updraftplus.com","Version":"2.16.66.25","Author":"UpdraftPlus.Com, DavidAnderson","AuthorURI":"https:\/\/updraftplus.com","TextDomain":"updraftplus","DomainPath":"\/languages","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"https:\/\/updraftplus.com\/","Title":"UpdraftPlus - Backup\/Restore","AuthorName":"UpdraftPlus.Com, DavidAnderson"}},"mu_plugins":[],"dropins":[]},"theme":{"Name":"Kadence","ThemeURI":null,"Author":"\u003Ca href=\u0022https:\/\/www.kadencewp.com\/\u0022\u003EKadence WP\u003C\/a\u003E","AuthorURI":null,"Template":"kadence","Version":"1.1.11","TextDomain":null,"DomainPath":null},"extra-debug":{"types":{"add_resized_images_to_library":0,"images_remote":0,"images_remote_cache_time":"36","help_box":"by_types","hide_standard_custom_fields_metabox":"hide","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":"mixed","views_template_for_x12-document":5186,"views_template_conditions_for_x12-document":[]},"installer":{"version":"2.6.1","repositories":{"wpml":{"api-url":"https:\/\/api.wpml.org\/","bucket-url":"not assigned","subscription":"","last-successful-subscription-fetch":"none"},"toolset":{"api-url":"https:\/\/api.toolset.com\/","bucket-url":"https:\/\/wptypes.s3.amazonaws.com\/toolset-bucket-53.json","subscription":{"key":"Hm9sXVNiT4","data":{"subscription_type":7528,"expires":"2022-04-13","status":"1","notes":"upgraded from #107093"},"registered_by":2,"site_url":"https:\/\/www.fcb2b.info\/staging\/4819"},"last-successful-subscription-fetch":"2021-12-18 11:21:35"}},"instances":{"\/home3\/xasmwvmy\/public_html\/staging\/4819\/wp-content\/plugins\/types\/vendor\/otgs\/installer\/installer.php":{"bootfile":"\/home3\/xasmwvmy\/public_html\/staging\/4819\/wp-content\/plugins\/types\/vendor\/otgs\/installer\/installer.php","version":"2.6.1","args":{"plugins_install_tab":"1","repositories_include":["toolset","wpml"],"site_key_nags":[{"repository_id":"toolset","product_name":"Toolset"}]},"delegated":true}}}}}

#2248623

Hello,

The problem you mentioned above is abnormal, please check these:
1) In case it is a compatibility problem, please deactivate all other plugins, and switch to WordPress default theme 2021, deactivate all custom PHP/JS code snippets, and test again

2) Also check if there is any PHP/JS error in your website:
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/

3) If the problem still persists, please provide database dump file(ZIP file) of your website, you can put the package files in your own google drive disk, share the link only, also point out the problem page URL and view URL, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/

#2250223

Thanks for the details, I am downloading the files, will update here if find anything

#2250245

I can install the duplicator package in my localhost, I assume we are talking about the problem post "810 Invoice", and content template "Template for X12 Documents":
hidden link

There isn't any view block in it, is there anything missing?
Please point out the problem page URL and view URL, thanks

#2250267
Screen Shot 2021-12-21 at 6.58.34 PM.png

the problem surfaces when you look at the template for Template for X12 Documents ... and when you "view it on the front end"

and there IS a view block on my version ...

Send me the secure form thingy and I can provide access to our server

#2250501
X12.jpg

I get only the database dump file, and can not see the view block in the content template "Template for X12 Documents", see my screenshot X12.JPG

Your screenshot shows you are using other plugins, in order to avoid other compatibility issue, I suggest you try to setup the post view with classic editor, for example:
1) Dashboard-> Toolset-> Views, create a new post view:
- Query "TBX Document Version" posts
- Filter by:
Select items from the TBX Document Version group that are related to the Post where this View is shown.
- In view's loop, display the "TBX Document Version" post information

2) Edit the content "Template for X12 Documents" again, display above post view.

It works fine with your duplicator package in my localhost