# Cannot read property 'widgetDisplay' of undefined

**URL:** <https://community.forestadmin.com/t/cannot-read-property-widgetdisplay-of-undefined/1849>\
**Category:** Help me!\
**Created:** [February 16, 2021, 1:34pm UTC](https://community.forestadmin.com/t/cannot-read-property-widgetdisplay-of-undefined/1849 "2021-02-16T13:34:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![XavierColombel](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/xaviercolombel/32/106_2.png) [@XavierColombel](https://community.forestadmin.com/u/XavierColombel)\
**Post date:** [February 16, 2021, 1:34pm UTC](https://community.forestadmin.com/t/cannot-read-property-widgetdisplay-of-undefined/1849/1 "2021-02-16T13:34:15Z")

</div>

## Expected behavior

Access to smart actions from an element’s view of the collection.

## Actual behavior

I have access to smart actions from the table’s elements of the collection, but when I open an element view, I can’t access to smart actions.

Actually the problem persist in a specific collection (`Leads`), in other collections I’ve no problem. It might be a conflict with something in this collection, but… what ?

Any hint ?

## Failure Logs

In the console : `TypeError: Cannot read property 'widgetDisplay' of undefined`.

 ![Capture d’écran 2021-02-16 à 14.27.31](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/3/33d5caf6fb739e4afbcd200589d2d1111b981cd3.png)

 ![Capture d’écran 2021-02-16 à 14.29.06](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/8/86adacba886ea4cc1c39632e5acddc31fa16c269.png)

## Context

The project is `"name": "lereacteur-admin"`  
I’m running under `"forest-express-mongoose": "^6.6.3"`

---

<div class="post-metadata">

**Author:** ![anon79585656](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@anon79585656](https://community.forestadmin.com/u/anon79585656)\
**Post date:** [February 16, 2021, 1:44pm UTC](https://community.forestadmin.com/t/cannot-read-property-widgetdisplay-of-undefined/1849/2 "2021-02-16T13:44:44Z")

</div>

Hello @XavierColombel

Thank you for this report and sorry for the inconvenience.  
Our team is working on a fix right now.

---

<div class="post-metadata">

**Author:** ![anon79585656](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@anon79585656](https://community.forestadmin.com/u/anon79585656)\
**Post date:** [February 16, 2021, 2:59pm UTC](https://community.forestadmin.com/t/cannot-read-property-widgetdisplay-of-undefined/1849/3 "2021-02-16T14:59:30Z")

</div>

@XavierColombel  
A new version has been released.  
Could you please confirm that it fixes your issue?

---

<div class="post-metadata">

**Author:** ![XavierColombel](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/xaviercolombel/32/106_2.png) [@XavierColombel](https://community.forestadmin.com/u/XavierColombel)\
**Post date:** [February 16, 2021, 3:05pm UTC](https://community.forestadmin.com/t/cannot-read-property-widgetdisplay-of-undefined/1849/4 "2021-02-16T15:05:13Z")

</div>

Good job @anon79585656, thank you for the fix !
