I have a view where i added a filter and selected "Ajax results update when visitors change any filter value". However, the results do not get updated. It seems, the respective js function is not triggered at all.
When I instead add a button, the update works though the page gets reloaded fully.
hidden link
Turned off caching, checked if bootstrap is loaded, however I am stuck and can't find the reason why Ajax is not working.
Hi,
Thank you for contacting us and I'd be happy to assist.
I've checked the page with the view and there was no script error shown in the browser's console.
To troubleshoot this, I'll suggest the following steps:
1. Please make sure that WordPress, active theme, and plugins are all updated to the latest versions.
2. It would be interesting to test this with all non-Toolset plugins disabled and a default theme like Twenty Twenty-One.
If it's fixed, you can start adding the disabled items, one by one, to narrow down to a possible conflicting one.
3. In case the issue still persists, I'll need access to the website's admin area for further investigation.
Note: Your next reply will be private and it is recommended to make a complete backup copy, before sharing the access details.
regards,
Waqar
Hi Waqar,
The issue still persists. I will set up a staging environment today and will give you then access.
Kind regards,
Volker
Hi Waqar,
can you send me again the request for confidential form (i cant open it again) so that I can give you access to the staging environment?
Kind regards,
Volker
Following in the functions.php broke Toolset/Ajax:
function deregister_media_elements(){
wp_deregister_script('wp-mediaelement');
wp_deregister_style('wp-mediaelement');
}
add_action('wp_enqueue_scripts','deregister_media_elements');
Those lines were added long time ago for optimization reasons.