• cchavarria

    (@cchavarria)


    I want to buy the PRO version for a project, but putting the search widget or shortcode in the header template using Elementor, dont show the info of preview autocomplete. Only the spin loads forever and the results only loads when “enter” or button is clicked.

    I need this funtion and its mandatory to go in the header for my client.

    In console I get this error:

    VM12370:1 Uncaught SyntaxError: Unexpected token < in JSON at position 0
    at JSON.parse (<anonymous>)
    at Function.n.parseJSON (jquery.js:4)
    at Object.transformResult (search.min.js:1)
    at Object.<anonymous> (search.min.js:1)
    at i (jquery.js:2)
    at Object.fireWith [as resolveWith] (jquery.js:2)
    at x (jquery.js:4)
    at XMLHttpRequest.c (jquery.js:4)

    I tried ad widget also short code and its the same.

    Thanks you.

    • This topic was modified 4 years ago by cchavarria.
    • This topic was modified 4 years ago by cchavarria.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Damian Góra

    (@damian-gora)

    Hello,

    Your error in the console indicates that an AJAX search response hasn’t the correct JSON format. Possible reasons:
    1. PHP error was printed in AJAX response
    2. The response was empty
    3. There was a WP error instead JSON response

    Check your PHP logs.

    Best
    Damian

    Hi @cchavarria – I am having the same issue. I cannot find any clues in the PHP logs. Were you able to solve this?
    Thanks,
    Tim

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Preview don’t works in ELEMENTOR’ is closed to new replies.