Skip Navigation

[Resolved] Error query filters

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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Sao_Paulo (GMT-03:00)

This topic contains 14 replies, has 2 voices.

Last updated by federicoA 1 year, 5 months ago.

Assisted by: Mateus Getulio.

Author
Posts
#2619407
last.png
first.jpeg

i have a weird problem with view in setting query filters. the query section does not appear, if I then update the plugin (even if the latest version is installed), the section appears

#2619467

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello there,

Thanks for your contact!

As a quick test, could you please try to remove the Toolset plugins and reinstall them? If still not solved, we might be facing an interaction issue with a third-party functionality, in this case:

- Deactivate all the plugins that are not related to Toolset
- Switch for a moment to a WordPress default theme like Twenty Twenty-one
- If the issue is gone, activate one by one to see with which one there is an interaction issue

Could you please tell me the results of this investigation? Also, can you enable the debug mode? Just add the following code in your wp-config.php file:

// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );
  
// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );
  
// Disable display of errors and warnings 
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );
  
// Use dev versions of core JS and CSS files (only needed if you are modifying these core files)
define( 'SCRIPT_DEBUG', true );

Please check the following links to read more about debugging with WordPress.
- https://codex.wordpress.org/Debugging_in_WordPress
- https://codex.wordpress.org/Debugging_in_WordPress#Example_wp-config.php_for_Debugging

After adding the code above, try to reproduce the issue again and check if you'll find a debug.log file inside the wp-content folder. If you locate it there, kindly send us the last lines here in the ticket.

Looking forward to your reply. Thank you.

Regards,
Mateus.

#2619563

[28-Jun-2023 09:05:22 UTC] PHP Deprecated: L'hook block_categories è deprecato dalla versione 5.8.0! Al suo posto utilizza block_categories_all. in /var/www/vhosts/controtempo.org/httpdocs/wp-includes/functions.php on line 5788

#2619567

today sometimes I get the query selection block and sometimes it doesn't

#2619645

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello there,

Thanks for your reply.

I would like to request temporary access (wp-admin and FTP) to your site to take better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Our Debugging Procedures

I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.

Privacy and Security Policy

We have strict policies regarding privacy and access to your information. Please see:
https://toolset.com/privacy-policy-and-gdpr-compliance/#data-shared-with-our-support
**IMPORTANT**

- Please make a backup of site files and database before providing us access.
- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this: hidden link

Please, let me know if you need any additional details. Have a nice day.

#2621067
#2621139

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi there,

Thanks for providing the credentials.

Just to make sure, do we have your authorization to make a copy of the website and migrate it into another server? In order to perform more complex tests without compromising the live production.

Please keep us posted about it. Thank you.

#2621257

Yes, of course

#2621443

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi there,

Upon further inspection, we have concluded that this behavior is expected - the previously added filters are not appearing, but they're still there working. We're not prevented from adding new query filters, and as soon as we add a new filter, the old ones can be seen.

With Toolset Block and Views, when you add a frontend filter (search fields), the associated query filters are already there but it's hidden and we are not displaying the related query filters for the search fields, this is expected.

As already mentioned, the search filters will work even if you are not seeing the related query filters within the query filter section. The query filter section will only display the query filters that is added manually by you, otherwise for search filters added to block view, those query filters will be managed internally and its not publicly visible.

Please let me know if explanation is clear to you and solves the question. Thank you.

#2621583

I don't think I understand how I should proceed.
I often have to change taxonomy (add or remove an event category) but when I don't see the filters, I can't even add a new taxonomy (or taxonomy filter). what should I do?

#2621749

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi there,

Thanks for your reply.

If you click on the 'Add Filter' button, are you still unable to add a taxonomy filter? And after adding it, can't you see the filters previously added?

I'm not sure if we're seeing and doing the same steps. Could you please record a video showing the actions that you're having this issue?

Please let us know. Thank you.

#2621751

hidden link
As you can see from the video I don't have the possibility to change the filter on the taxonomy "eventi" that was set.
Also if I try to set a new filter I don't see the "eventi" taxonomy. I hope I have explained

#2621833

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi there,

Thanks for the clarifications.

This is expected, since the 'Festival' taxonomy was already added previously. If you want to want to change the term, you need to remove the first taxonomy.

If you can't see the taxonomy filter, as a workaround, please try to add a dummy filter (like one for the custom fields), and then it should appear fine. You can delete the dummy filter later, of course.

Please let me know if you still have doubts. Thank you.

#2621905

Now I added a test filter and then only one of the two "query filters" appeared (the one on the event date). The taxonomy query Festival remained hidden. Then I saved, refreshed the content template page and the filter query is still not visible. But there is no way to see the "Festival" taxonomy in any way.
hidden link

#2621969

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi there,

Thanks for your reply.

Sorry, I think the taxonomy query filter might be deleted previously during our tests. Regardless, we were able to re-add it without problems: hidden link. And this filter kept even after a page refresh: hidden link

We have deleted it now, so that you can enter the desired terms in a new query filter created. Could you please give it (to add the taxonomy filter again) another try?

Please let us know. Thank you.