Search block in header doesn't work, but basic search does


I have a strange problem and I can’t figure out what is causing it.

I have a search block in the header of my website . When I search any term it returns with “no results”

I ran cron several times, tried the re-index button, cleared my catch, I disabled the taxonomy terms for search, etc.

But then I discovered that when I enter a term in the search box on my result page then suddenly I do get results.

So it seems that only the search button in my header isn’t working but that the search as such is working fine.

Not sure if it matters, but I disabled advanced search.

Does anyone have an idea how this is possible or what else I could try to solve this problem?

EDIT: I try this logged in as user 1 so it cannot be a problem with permissions. I also checked the permissions and everyone should be able to use this block.

I also disabled the Custom search taxonomy module. Just to be sure that wasn’t giving the trouble. I cleared by catch twice, but that didn’t help.

It worked before, so I have no idea what changed so that it stopped working.

Thanks in advance,

Drupal version: