• Resolved Thrasher84

    (@thrasher84)


    Hi there, I have two problems:

    1) when logged in, I get some errors in the console:

    Uncaught TypeError: Cannot set property ‘selector’ of undefined
    at new a.fn.init (jquery-migrate.min.js:2)
    at n (jquery.js:2)
    at admin-bar-v2.js:70
    at admin-bar-v2.js:71
    jquery-migrate.min.js?ver=1.4.1:2 Uncaught TypeError: Cannot set property ‘selector’ of undefined
    at new a.fn.init (jquery-migrate.min.js?ver=1.4.1:2)
    at n (jquery.js?ver=1.12.4:2)
    at bindFunctions (autocomplete.js:1)
    at init (autocomplete.js:1)
    at siqScript (autocomplete.js:3)
    at autocomplete.js:3
    at autocomplete.js:3

    This seems to break the autocomplete functionality. The problem does not occur when I’m not logged in.

    2) In the page results, even if I’m not logged in, I’m finding a lot of errors and the images cannot be seen for several results. The errors appear to be related to the lack of a function, e.g.:

    ?q=alie:1 Uncaught ReferenceError: SIQ_showNextImg is not defined
    at HTMLImageElement.onerror (?q=alie:1)

    Example of a search: https://www.creepyvisions.it/ricerca/?q=alie

    I tried to investigate the issues, especially the first one that could be linked to Jetpack plugin. I tried to deactivate it but, even if one of the 2 console errors of the first issue disappeared, still there was the autocomplete.js error and the autocomplete didn’t work.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Igor Belykh

    (@igorbelykh86)

    Hi @thrasher84,

    We have checked your site and have found that some script renames most of js functions. We are digging more now. I’ll let you know when we’ll find the exact reason and solution.

    Thanks,
    Igor

    Thread Starter Thrasher84

    (@thrasher84)

    Hi @igorbelykh86,

    thanks for your reply. Your consideration made me think that it could be maybe related to WP Rocket plugin then, since it does some optimization work on JS/CSS files. Just to give you another info. ??

    I wait for your reply, thanks again!

    Luca

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Autocomplete and page results issues’ is closed to new replies.