• Hi,

    I’m not too sure why this is happening, but the search only works sometimes.

    I think we have fixed this issue before, but the search has just stopped working again.

    Please assist if possible.

    Kind regards,
    Dale

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

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter Dale Wyngaard

    (@superhut)

    Hi,

    I have discovered that the search only stops when a user is logged out.

    So the search works when I login as the admin but as soon as I logout then the search is not clickable again.

    Please assist if you can.

    Kind regards,
    Dale

    Plugin Author wpdreams

    (@wpdreams)

    Hi Dale,

    The container element, where the plugin is placed has a z-index issue, thus it is placed behind parent element.

    Use this custom CSS code, it will resolve it:

    .et_pb_text_inner>div {
        position: relative;
        z-index: 1;
    }

    Best,
    Ernest M.

    Thread Starter Dale Wyngaard

    (@superhut)

    Hi Ernest,

    I have tried the suggested, and I have made the attributes important as well, but the search still does not work yet.

    Any other ideas what might be the cause?

    Kind regards,
    Dale

    Plugin Author wpdreams

    (@wpdreams)

    Hi Dale,

    I don’t see the custom CSS anywhere on the page. Make sure to clear all layers of cache, including page, asset, minify, CDN etc..
    This definitely works I have tested it on the browser debug console, just make sure the cache is cleared ??

    Best,
    Ernest M.

    Thread Starter Dale Wyngaard

    (@superhut)

    Hi Ernest,

    I have added the code directly into the main CSS.

    I have cleared my browsers cache and I have cleared my network cache.

    Kind regards,
    Dale

    Plugin Author wpdreams

    (@wpdreams)

    The custom CSS is still not there, it is not showing up in the debugger either.

    Try using the custom CSS field on the search back-end: https://i.imgur.com/p1A3dcm.png

    Best,
    Ernest M.

    Thread Starter Dale Wyngaard

    (@superhut)

    Hi Ernest,

    I have tried as you have suggested, but the search still does not work.

    Please assist if possible.

    Kind regards,
    Dale

    Plugin Author wpdreams

    (@wpdreams)

    Hi Dale,

    It’s working on my end now, I’m seeing the custom CSS there. It was definitely a cache related issue, now it seems to be cleared.

    Best,
    Ernest M.

    Hi Ernest,

    I have exactly the same problem with my website. Logged out users can not search.
    Tried your CSS and clearing cache solution but did not work for me.

    Any help would be appreciated.

    here is my website

    Thank you,
    Haluk

    Plugin Author wpdreams

    (@wpdreams)

    Hi Haluk,

    Your issue is completely different. I think you have either a misformed .htaccess rule, or a firewall/router plugin, that restricts the access to the default wordpress ajax handler. This causes all ajax requests to fail, including the search.

    If you visit this URL on your website: https://www.romencedersleri.com/limba/wp-admin/admin-ajax.php
    It returns a 404 error, while this should print a white screen, with a single “0” character.

    Make sure to check any .htaccess rules that may affect this route, as well as any cache/firewall/route plugins and any custom codes. Once the above URL returns a white screen with a “0” correctly, the plugin will start working.

    Best,
    Ernest M.

    Thank you Ernest.

    My wordpress was installed into a subfolder. Maybe that was the reason i’m not sure. I’ve checked web.config file (yes WP is installed on IIS) and there’s nothing special.

    I haven’t noticed this problem earlier. I think, I’d always visited the website as logged-in ?? But i realized that there are many “404” visits on my statistics. So I’ve found that the problem was related to “not logged-in users”

    So the URL you gave me returns with 0 when i’m logged-in. But for other users i get 404. In this case i don’t know how to fix those ajax handlers (nopriv) for other users. Still looking for a solution.

    Thanks again,
    Haluk

    I changed settings from admin panel as “Use custom ajax handler” and problem has been solved ??

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