Skip Navigation

[Resolved] Views take over each others Query Filters

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
- 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 3 voices.

Last updated by Minesh 5 years, 1 month ago.

Assisted by: Minesh.

Author
Posts
#1408845

I'm using the new Blocks interface and I am making the views on the page itself in the block editor.

I am trying to: Have two views on one page with both a unique query filter. One based on the Post Category, the other with a Post Search.

Link to a page where the issue can be seen: hidden link

I expected to see: That the two views would deliver seperate results

Instead, I got: The Query filter I set-up for the one view is taken over by the other. So both views have both Query Filters. They don't keep the query filter for themselves, they get mixed up.

And maybe related: a different page is completely broken: hidden link

#1410719

Hello, can you show me some screenshots of the Query Filters for both of these Views? I would like to see how they are configured.

Also I can see an error in the JavaScript console on both of these pages:

d716a38d7f919782240af720806e1cbc.js?ver=2.6.3:formatted:1 Uncaught ReferenceError: function_exists is not defined

I think this code must be included in the Layouts JS panel. Can you check? The function_exists function is PHP, not JavaScript.

#1414399

I've disabled the layouts plugin and now the pages are working.

Multiple queries are still not working though. I just use the product category as a query. Two queries for one custom Post type. One query for two categories and one query for one other, just to split the products in two different blocks.

But when I add the second query, it overwrites the first. It also happens with the Search Post query. I haven't tried any other queries.

I made a workaround by not using the query in one block. But that is not a sustainable solution.

#1415129

May I log in and see how this is set up in wp-admin? If you want, you can set up the problem Views in a draft page so I can preview the problem without posting it on the live site. Let me know where to see the problem on the site.

#1424427

Because of the holidays I will grant access later. You'll hear from me soon.

#1426357

Minesh
Supporter

Languages: English (English )

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

Christian is on vacation. He will get back to work this Sunday.

Please share the access details.

*** 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.

#1427875

Minesh
Supporter

Languages: English (English )

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

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

#1446515

Minesh
Supporter

Languages: English (English )

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

Thank you for sharing the access details.

After reviewing the site, I found that you are using outdated Toolset plugins as well as WordPress. 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/
- Also update the WordPress.

Once you update all Toolset plugins + WP, Can you please be specific with what views you have issues with as I can see 2-3 sliders with the page you shared. To eliminate my doubts, Can you please be specific on what views I should be looking at?