Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix TypeError in browser console #3294

Open
JoeyStk opened this issue Dec 17, 2024 · 0 comments
Open

Fix TypeError in browser console #3294

JoeyStk opened this issue Dec 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@JoeyStk
Copy link
Contributor

JoeyStk commented Dec 17, 2024

Describe the Bug

We get an TypeError in the browser console in the media library after clicking on the search input.

Steps to Reproduce

  1. Go to media library
  2. Inspect page (by right click -> inspect or hit Ctrl+Shift+C)
  3. Click inside the search input
  4. See error in console

Expected Behavior

No errors

Actual Behavior

Error appears

Additional Information

Traceback
Uncaught TypeError: suggestionList is null
  setSearchQueryEventListeners search-query.ts:155
  setSearchQueryEventListeners search-query.ts:154
  Preact 22
  _callee$ index.tsx:125
  tryCatch main.f735aa9f8a6b3bb9c3a9.js:4257
  makeInvokeMethod main.f735aa9f8a6b3bb9c3a9.js:4257
  defineIteratorMethods main.f735aa9f8a6b3bb9c3a9.js:4257
  fulfilled main.f735aa9f8a6b3bb9c3a9.js:4273
  promise callback*step main.f735aa9f8a6b3bb9c3a9.js:4286
  fulfilled main.f735aa9f8a6b3bb9c3a9.js:4273
  promise callback*step main.f735aa9f8a6b3bb9c3a9.js:4286
  __awaiter main.f735aa9f8a6b3bb9c3a9.js:4288
  __awaiter main.f735aa9f8a6b3bb9c3a9.js:4270
  ajaxRequest index.tsx:119
  DirectoryContentLibrary directory-content-library.tsx:47
  Preact 14
  tsx index.tsx:193
  tsx index.tsx:191
  tsx index.tsx:190
  Webpack 4
search-query.ts:155:8

Related Issues

@JoeyStk JoeyStk added the bug Something isn't working label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant