All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Template caching breaking Low Search Form

John McLeod 3 Jan 2018 16:28 problem, active

I'm running EE 4.0.4 and Low Search 6.0 and am having problems with a hidden variable not parsing in Low Search.

The search form parses and works correctly on the first page visit, but on subsequent visits, {AID:Low_search:catch_search} is not parsing, and submitting the form takes me to a blank page.

I am only using the built-in EE caching mechanisms. Most of the trouble I'm seeing in regarding this issue involves Stash, which I'm not using.

Replies

  1. Low 4 Jan 2018 08:04

    Low Search uses EE's API to generate the opening form tag and hidden fields, including the Action ID, which EE first renders as the {AID:...} string, and late in the parse order is replaced with the appropriate ID.

    LS doesn't do anything 'clever' to circumvent this, so it's looking like an EE issue, rather than a LS issue. You can try and replicate the issue by using the native Simple Search form instead of the LS search form and see if the problem persists there, too (as it also uses an Action ID).