• Resolved Nathan

    (@ntaraujo)


    it freezes on loading and doesn’t show the search results below the input, when the plugin “WP AutoTerms” is on

    This is what i got from console:

    Uncaught SyntaxError: Unexpected token < in JSON at position 1900
        at parse (<anonymous>)
        at Function.<anonymous> (jquery-migrate.min.js?ver=3.3.2:2)
        at Function.e.<computed> [as parseJSON] (jquery-migrate.min.js?ver=3.3.2:2)
        at Object.transformResult (search.min.js?ver=1.8.1:1)
        at Object.<anonymous> (search.min.js?ver=1.8.1:1)
        at c (jquery.min.js?ver=3.5.1:2)
        at Object.fireWith [as resolveWith] (jquery.min.js?ver=3.5.1:2)
        at l (jquery.min.js?ver=3.5.1:2)
        at XMLHttpRequest.<anonymous> (jquery.min.js?ver=3.5.1:2)

    I saw other topic where the problem was the debugging mode, but is not the case. Its deactivated.

    Of course i will send this to the other plugin’s forum if needed

    Thanks in advance

Viewing 1 replies (of 1 total)
  • Plugin Author Mateusz Czardybon

    (@matczar)

    Hi,

    After entering the phrase, our plugin executes an AJAX query on the endpoint /?wc-ajax=dgwt_wcas_ajax_search&s=test (for “test” as search term).

    Our plugin expects the response in JSON format, and WP AutoTerms plugin adds <script> tags through which our plugin cannot parse the answer correctly.

    I tried to get around this, but the plugin has no filters or actions that I could hook into to stop adding these tags.

    So I suggest you contact the authors of the plugin.

Viewing 1 replies (of 1 total)
  • The topic ‘not showing results when with another plugin’ is closed to new replies.