• Resolved stacie123

    (@stacie123)


    I recently started using this plugin and was really pleased with the way it works! I love the autocomplete feature – it shows up really nicely.

    For some reason, after I saved a change I had made to the text that’s supposed to show up when there are no search results, the search bar stopped working. It had been working fine up until then, so I’m not sure what happened…

    For a little while, I could only type in the search field, but I couldn’t click “search,” then it started letting me click search but would only take me back to my homepage (not a search results page).

    I’ve tried deactivating the plugin, deleting it, and reinstalling it. I’ve tried tweaking the settings (turning things on/off etc.), and checking with my site optimization plugin and security/antispam plugins to see if they were blocking anything. Can’t figure it out.

    It’s a bummer b/c I really like this plugin and have had a hard time finding alternatives to it that do what I want.

    Does anyone know what could be causing this problem and how I can fix it?? Thanks in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter stacie123

    (@stacie123)

    I used the “inspect element” function to get a little more detail on what’s happening. I got the error message below. (I tried to find the line/column of the JSON data it refers to in the plugin editor, but can’t seem to locate it.) Does anyone have any suggestions about what I can do?

    SyntaxError: JSON.parse: bad escaped character at line 13 column 35 of the JSON data

    jquery.ajaxsearchlite.min.js:3:26811

    • This reply was modified 6 years, 8 months ago by stacie123.
    Plugin Author wpdreams

    (@wpdreams)

    Hi!

    I believe I know what the issue might be. There was a bug recently discovered by another user regarding the placeholder text having special characters.

    To resolve it, simply go to the Layout Options panel, and make sure that the Placeholder text option does not have any apostrophes in it: https://i.imgur.com/qSoI1G5.png

    I will of course make sure to fix this in the upcoming release.

    Best regards,
    Ernest M.

    Thread Starter stacie123

    (@stacie123)

    Thanks for your response Ernest! I did what you said, but it turned out the placeholder did not have any special characters or apostrophes in it. I had someone look at it for me and he was able to fix the problem. He said he thinks the error was as a result of javascript conflict from caching. So it’s working now!

    Plugin Author wpdreams

    (@wpdreams)

    Thank you for letting me know ?? Also, make sure to update to the latest release (4.7.16), as it fixes an issue related to this one, just in case.

    Best,
    Ernest M.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘search bar suddenly stopped working’ is closed to new replies.