View Keyword Search error

Created on 14 April 2025, 10 days ago

My site is Drupal 10.4.6

I have a View that includes a Keyword Search. The View has AJAX enabled. Recently when I try a search I get the following error:

An error occurred while attempting to process /views/ajax?_wrapper_format=drupal_ajax: ajax.$form.ajaxSubmit is not a function

The only thing that changed since the search was last working was 2 updates of Drupal core.

Any suggestions as to what might be wrong or where to look would be most welcome.

πŸ’¬ Support request
Status

Active

Version

10.4 ✨

Component

views.module

Created by

πŸ‡ΊπŸ‡ΈUnited States bill_redman

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @bill_redman
  • Do you recall the specific version of Drupal on which this view worked and the specific update that broke this?

  • πŸ‡³πŸ‡±Netherlands Lendude Amsterdam

    Added some other issues that report the same error, but none give any steps to reproduce this (one says a cache clear fixes it), so it's still unclear what scenario's trigger this, and we really need some steps to reproduce before we can tackle this

  • πŸ‡ΊπŸ‡ΈUnited States bill_redman

    To answer @cilefen's question, the 2 updates recently done were 10.43 to 10.45 and 10.45 to 10.46. I can't definitively say the problem didn't exist prior since it was not something I tried regularly.

    To answer @lendude, I have a fairly simple view that displays nodes of a particular content type that have a particular status. The view shows 5 nodes per page and uses the full pager. I added the filter Search: Search Keywords and exposed it.

    When I try to search using a word that I know exists among the content, the error occurs. However, I just discovered this morning that the error occurs only when the user is logged in to the site. If I try the same search as an anonymous user, there is no error but there is also no results. Just a blank page. I don't know if this helps or makes things more confusing.

    Appreciate your thoughts.

Production build 0.71.5 2024