# Bug with medias (display and import)

**URL:** <https://community.localwp.com/t/bug-with-medias-display-and-import/47018>\
**Category:** Support\
**Created:** [February 10, 2025, 2:56pm UTC](https://community.localwp.com/t/bug-with-medias-display-and-import/47018 "2025-02-10T14:56:53Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Charly1](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/charly1/32/23717_2.png) [@Charly1](https://community.localwp.com/u/Charly1)\
**Post date:** [February 10, 2025, 2:56pm UTC](https://community.localwp.com/t/bug-with-medias-display-and-import/47018/1 "2025-02-10T14:56:53Z")

</div>

Hello,

I noticed a recurring problem on my local installations

### What issue or error are you experiencing?

I noticed this on all my new instals of local WPs. When I create a new WP, I don’t touch nothing, just go the the Media section and try the “Add New Media File” at the top, it doesn’t trigger anything.

But if I go to “Add New Media File” from the left menu, I’m able to upload a media.

However, this media is not displayed in the Media section like if it was empty (it is not)

Here are two messages I have in the Media section

```auto
Uncaught TypeError: _.pluck is not a function

```

```auto
Uncaught TypeError: Cannot read properties of undefined (reading 'where')

```

* * *

### What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc

- Create a new Wordpress website
- Go to Media and “Add New Media File” at the top

* * *

### System Details

- **Local Version:** Version 9.2.0+6762

- **Operating System (OS) and OS version:** Sequoia 15.0.1

* * *

Thank you in advance for your help!

---

<div class="post-metadata">

**Author:** ![nickc](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nickc/32/21209_2.png) [@nickc](https://community.localwp.com/u/nickc)\
**Post date:** [February 10, 2025, 3:04pm UTC](https://community.localwp.com/t/bug-with-medias-display-and-import/47018/2 "2025-02-10T15:04:01Z")

</div>

I can’t reproduce this so far with Local 9.2 and macOS Sequoia, @Charly1

I’m able to upload media without error from both the Add New Media File section and the left menu.

Is this a blank site with the default theme and no plugins?

What versions of WordPress and PHP are you using?

---

<div class="post-metadata">

**Author:** ![Charly1](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/charly1/32/23717_2.png) [@Charly1](https://community.localwp.com/u/Charly1)\
**Post date:** [February 10, 2025, 3:07pm UTC](https://community.localwp.com/t/bug-with-medias-display-and-import/47018/3 "2025-02-10T15:07:18Z")

</div>

Hey Nick, thank you for your answer

It is indeed a very fresh version of Wordpress (TwentyTwentyFive, no extension)

Wordpress: 6.7.1  
PHP: 8.2.23

Thank you

---

<div class="post-metadata">

**Author:** ![nickc](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nickc/32/21209_2.png) [@nickc](https://community.localwp.com/u/nickc)\
**Post date:** [February 10, 2025, 3:17pm UTC](https://community.localwp.com/t/bug-with-medias-display-and-import/47018/4 "2025-02-10T15:17:07Z")

</div>

Thanks for the info, @Charly1. I still can’t reproduce this, though. Media upload works smoothly for me.

Have you tried other browsers or in private browser windows to rule out browser-specific issues?

If that doesn’t help, you might try reinstalling Local.

---

<div class="post-metadata">

**Author:** ![Charly1](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/charly1/32/23717_2.png) [@Charly1](https://community.localwp.com/u/Charly1)\
**Post date:** [February 10, 2025, 3:18pm UTC](https://community.localwp.com/t/bug-with-medias-display-and-import/47018/5 "2025-02-10T15:18:18Z")

</div>

I noticed that there are two cases

Case 1: I go normally onto the page  
pluck error + no admin-ajax.php called

Case 2: from there I go the the previous page then I come back on the media page (with the browser commands), sometimes (not always), the images are here, no pluck error, admin-ajax.php is called successfully

---

<div class="post-metadata">

**Author:** ![Charly1](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/charly1/32/23717_2.png) [@Charly1](https://community.localwp.com/u/Charly1)\
**Post date:** [February 10, 2025, 3:20pm UTC](https://community.localwp.com/t/bug-with-medias-display-and-import/47018/6 "2025-02-10T15:20:10Z")

</div>

Well, interesting, you were right, it does just affect Brave Browser in public nav, weird it wasn’t the case before

Anyway, problem is solved, thanks a lot!

---

<div class="post-metadata">

**Author:** ![nickc](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nickc/32/21209_2.png) [@nickc](https://community.localwp.com/u/nickc)\
**Post date:** [February 10, 2025, 3:27pm UTC](https://community.localwp.com/t/bug-with-medias-display-and-import/47018/7 "2025-02-10T15:27:57Z")

</div>

Interesting, thanks for investigating and for letting us know!

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [February 12, 2025, 3:28am UTC](https://community.localwp.com/t/bug-with-medias-display-and-import/47018/8 "2025-02-12T03:28:09Z")

</div>

Closed on February 12, 2025, 3:28am UTC

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.
