• Resolved dtvsupport

    (@dtvsupport)


    Previously, we used the search form with a “Select category” filter without any problems.
    For some time now, however, the filter function no longer works. This affects all filters offered (Country, State, City, Category).

    Previously, after selecting a filter, the contacts displayed were selected according to the selected entry in the filter. Currently, selecting a filter entry has no effect and the total number of contacts is still displayed.

    If the entry previously selected via a filter is entered in the search field, the list of displayed contacts is selected accordingly.

    Any idea whats going wrong?

    Maybe important: I transfered the wordpress site from a locally hosted php 5.6.23 to a locally hosted php 7.4.29 wordpress site using the plugin “Duplicator 1.5.7.1”
    Everything is working fine – except the filter for contact list (v2.9.82).

    Every solution tip is gratefully accepted

    Greetings
    /Willy

    • This topic was modified 12 months ago by dtvsupport.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Anssi Laitila

    (@anssilaitila)

    Hi, could you please check if there are any JavaScript errors in your browser console and also if there are anything related to this in the web server / php error log?

    If there aren’t anything, could you record a video of the screen where you would test the filters and also for this part: If the entry previously selected via a filter is entered in the search field, the list of displayed contacts is selected accordingly

    Thanks!

    Thread Starter dtvsupport

    (@dtvsupport)

    Hi Anssi,

    Thanks for your quick response.

    No direct error messages are displayed in the frontend.
    Due to your question, I have now looked in the DevTools and can say:
    If I select a category entry from the filter in the search form, I get the following message in DevTools:


    Access to XMLHttpRequest at ‘https://XXXsrweb01.XXX.YYY/wp-admin/admin-ajax.php’ from origin ‘https://intranet.XXX.YYY’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

    jquery.min.js?ver=3.7.1:2

    POST https://XXXsrweb01.XXX.YYY/wp-admin/admin-ajax.php net::ERR_FAILED 200 (OK)
    
    send	@	jquery.min.js?ver=3.7.1:2
    ajax	@	jquery.min.js?ver=3.7.1:2
    (anonymous)	@	jquery-migrate.min.js?ver=3.4.1:2
    e.<computed>	@	jquery-migrate.min.js?ver=3.4.1:2
    ce.<computed>	@	jquery.min.js?ver=3.7.1:2
    (anonymous)	@	p.js?ver=2.9.82:1
    dispatch	@	jquery.min.js?ver=3.7.1:2
    v.handle	@	jquery.min.js?ver=3.7.1:2
    handleMouseUp_	@	unbekannt

    Does this indicate a problem with Firewall / NAC ?

    Regards
    /Willy

    • This reply was modified 12 months ago by dtvsupport.
    Plugin Author Anssi Laitila

    (@anssilaitila)

    I think that you might need to do a search and replace to the database, I guess that the site was previously at https://XXXsrweb01.XXX.YYY and you transferred it to https://intranet.XXX.YYY?

    There are several ways to do that, some examples here: https://kinsta.com/knowledgebase/wordpress-search-and-replace/

    If you can use WP-CLI, that might be the easiest way.

    Let me know if that doesn’t help and I’ll investigate the issue further.

    Thread Starter dtvsupport

    (@dtvsupport)

    Hi Anssi,

    Search/Replace did the trick ??
    Thanks for your quick support … even for the free version!!

    I just ordered the Pro / Lifetime version ??

    Regards
    /Willy

    Plugin Author Anssi Laitila

    (@anssilaitila)

    Great, thanks for the info! And thanks for purchasing! ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Filter not working’ is closed to new replies.