# Can't view user cards on Meta - cakeday error

**URL:** https://meta.discourse.org/t/cant-view-user-cards-on-meta-cakeday-error/50567
**Category:** Bug
**Created:** [23.Сентябрь.2016 22:19:55 UTC](https://meta.discourse.org/t/cant-view-user-cards-on-meta-cakeday-error/50567 "2016-09-23T22:19:55Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![watchmanmonitor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watchmanmonitor/32/430970_2.png) [@watchmanmonitor](https://meta.discourse.org/u/watchmanmonitor)
#### Post date: [23.Сентябрь.2016 22:19:55 UTC](https://meta.discourse.org/t/cant-view-user-cards-on-meta-cakeday-error/50567/1 "2016-09-23T22:19:55Z")

</div>

When I go to view a user card today, I get just a white box, and this error in my google chrome browser:

> Uncaught Error: Could not find module `discourse/helpers/fa-icon` imported from `discourse/plugins/discourse-cakeday/discourse/components/emoji-images`

I tried first on a user with a cake and got just the white box, then got the error again on a user without a cake.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [24.Сентябрь.2016 01:54:44 UTC](https://meta.discourse.org/t/cant-view-user-cards-on-meta-cakeday-error/50567/2 "2016-09-24T01:54:44Z")

</div>

Hmm can we repro @tgxworld?

---

<div class="post-metadata">

### Author: ![watchmanmonitor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watchmanmonitor/32/430970_2.png) [@watchmanmonitor](https://meta.discourse.org/u/watchmanmonitor)
#### Post date: [24.Сентябрь.2016 01:58:50 UTC](https://meta.discourse.org/t/cant-view-user-cards-on-meta-cakeday-error/50567/3 "2016-09-24T01:58:50Z")

</div>

I don’t remember which URL I was on, but I’m pretty sure it was in a Topic (which had a user showing a cake)

---

<div class="post-metadata">

### Author: ![watchmanmonitor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watchmanmonitor/32/430970_2.png) [@watchmanmonitor](https://meta.discourse.org/u/watchmanmonitor)
#### Post date: [24.Сентябрь.2016 02:53:47 UTC](https://meta.discourse.org/t/cant-view-user-cards-on-meta-cakeday-error/50567/4 "2016-09-24T02:53:47Z")

</div>

I can see the error here as well

[https://meta.discourse.org/cakeday/anniversaries](https://meta.discourse.org/cakeday/anniversaries)

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [24.Сентябрь.2016 03:23:16 UTC](https://meta.discourse.org/t/cant-view-user-cards-on-meta-cakeday-error/50567/5 "2016-09-24T03:23:16Z")

</div>

> [@watchmanmonitor](#):
>
> I can see the error here as well

Have you tried a different browser ?

I’m not seeing any problems or getting any error messages in the console using Vivaldi latest.

---

<div class="post-metadata">

### Author: ![watchmanmonitor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watchmanmonitor/32/430970_2.png) [@watchmanmonitor](https://meta.discourse.org/u/watchmanmonitor)
#### Post date: [24.Сентябрь.2016 03:52:18 UTC](https://meta.discourse.org/t/cant-view-user-cards-on-meta-cakeday-error/50567/6 "2016-09-24T03:52:18Z")

</div>

that was in Chrome, here’s the error in Safari (I was not logged in)

It happens once I click on a profile who’s cake-day is today.

 ![](https://global.discourse-cdn.com/meta/original/3X/1/b/1bd70dcf2620df4a3586c228649355685ac4c910.png)

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [24.Сентябрь.2016 04:23:33 UTC](https://meta.discourse.org/t/cant-view-user-cards-on-meta-cakeday-error/50567/7 "2016-09-24T04:23:33Z")

</div>

I don’t have a Mac so I can’t test Safari, but I can’t reproduce that in any of my browsers. davegomez’s card displayed fine and error free for me.

IE11  
Edge  
Chrome  
Opera  
Opera Dev  
Firefox  
Firefox Dev  
Vivaldi

So this is a Mac - Safari - only Bug?

---

<div class="post-metadata">

### Author: ![craigduarte](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/craigduarte/32/121517_2.png) [@craigduarte](https://meta.discourse.org/u/craigduarte)
#### Post date: [24.Сентябрь.2016 09:22:16 UTC](https://meta.discourse.org/t/cant-view-user-cards-on-meta-cakeday-error/50567/8 "2016-09-24T09:22:16Z")

</div>

I’ve been getting the exact same error, [http://www.onlinearsenal.com/cakeday/birthdays](http://www.onlinearsenal.com/cakeday/birthdays) when clicking on either avatar, on a mac, happening in Safari, Chrome, Firefox, logged in or logged out.

It’s happening on the user preferences/messages screen too, completely wiping the content of the page out once I’ve set the birthday (though it may just be because the birthday is today? - edit: just got someone else to check and they can access their messages/preferences when their birthday is set NOT to today).

The emoji works fine by the way, if you go into a topic that the person has used then it’s there [http://www.onlinearsenal.com/t/planned-maintenance/349/10](http://www.onlinearsenal.com/t/planned-maintenance/349/10)

I don’t know much about the discourse core and how it reads files so forgive my ignorance, but I’d guess from that error message and this commit that discourse/helpers/fa-icons has moved to discourse-common so the path may be wrong?

[https://github.com/discourse/discourse/commit/be1d74d20772e3a4ed2b3daed9700249024a133f](https://github.com/discourse/discourse/commit/be1d74d20772e3a4ed2b3daed9700249024a133f)

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [24.Сентябрь.2016 12:35:13 UTC](https://meta.discourse.org/t/cant-view-user-cards-on-meta-cakeday-error/50567/9 "2016-09-24T12:35:13Z")

</div>

That seems plausible. I can recreate this on Meta too using Google Chrome (so it isn’t Safari specific).

**My repro steps,**

1. Visit [Discourse Meta](https://meta.discourse.org/cakeday/anniversaries)
2. Scroll down till you get till you see someone who has an anniversary on 9/24 (today’s date)

- Side note: Shouldn’t Today’s Anniversaries being showing these people?

1. Click on their user card

**Actual Result:**  
Nothing happens, it acts like the click never took place  
Dev console has an error.

 ![](https://global.discourse-cdn.com/meta/original/3X/f/2/f2a5e25d43e7ca2afe3b310286023134a0709de5.gif)

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [24.Сентябрь.2016 18:16:54 UTC](https://meta.discourse.org/t/cant-view-user-cards-on-meta-cakeday-error/50567/10 "2016-09-24T18:16:54Z")

</div>

Thanks, I was able to reproduce the error with Windows 10 Vivaldi latest following those steps.

```plaintext
  function requireFrom(name, origin) {
    var mod = registry[name];
    if (!mod) {
      throw new Error('Could not find module `' + name + '` imported from `' + origin + '`');
    }
    return require(name);
  }

```

---

<div class="post-metadata">

### Author: ![watchmanmonitor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watchmanmonitor/32/430970_2.png) [@watchmanmonitor](https://meta.discourse.org/u/watchmanmonitor)
#### Post date: [25.Сентябрь.2016 22:20:35 UTC](https://meta.discourse.org/t/cant-view-user-cards-on-meta-cakeday-error/50567/11 "2016-09-25T22:20:35Z")

</div>

The console errors aren’t happening for me today on [Discourse Meta](https://meta.discourse.org/cakeday/anniversaries)

I can see cakes if i click on a user’s card & their anniversary is today (sept 25)

 ![](https://global.discourse-cdn.com/meta/original/3X/f/b/fb13a4576ad84dbf995e9fb147a382ac8c972f1e.png)

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [25.Сентябрь.2016 22:37:28 UTC](https://meta.discourse.org/t/cant-view-user-cards-on-meta-cakeday-error/50567/12 "2016-09-25T22:37:28Z")

</div>

Yup, this commit seems to be the fix for that particular issue  
[https://github.com/discourse/discourse-cakeday/commit/948cf4f5cea332d95fc7222282a44ccbb38806e0](https://github.com/discourse/discourse-cakeday/commit/948cf4f5cea332d95fc7222282a44ccbb38806e0)

---

<div class="post-metadata">

### Author: ![FoodDelivery](https://avatars.discourse-cdn.com/v4/letter/f/d6d6ee/32.png) [@FoodDelivery](https://meta.discourse.org/u/FoodDelivery)
#### Post date: [30.Сентябрь.2016 06:24:59 UTC](https://meta.discourse.org/t/cant-view-user-cards-on-meta-cakeday-error/50567/13 "2016-09-30T06:24:59Z")

</div>

I am from The Hopscotch Forum and this came up:

 ![](https://global.discourse-cdn.com/meta/original/3X/5/2/5216ed5f043defc40301e516669547d582324358.png)  
Those upcoming birthday dates have already passed. It is now 30th of September, 2016.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [21.Октябрь.2016 05:16:39 UTC](https://meta.discourse.org/t/cant-view-user-cards-on-meta-cakeday-error/50567/14 "2016-10-21T05:16:39Z")

</div>

Is this resolved and can it be closed @tgxworld?

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [21.Октябрь.2016 05:46:15 UTC](https://meta.discourse.org/t/cant-view-user-cards-on-meta-cakeday-error/50567/15 "2016-10-21T05:46:15Z")

</div>

Yup the bug in this topic has been resolved.

I’l tracking

> [@Can't view user cards on Meta - cakeday error](https://meta.discourse.org/t/cant-view-user-cards-on-meta-cakeday-error/50567/13):
>
> I am from The Hopscotch Forum and this came up: Those upcoming birthday dates have already passed. It is now 30th of September, 2016.

in another topic.

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [21.Октябрь.2016 05:46:18 UTC](https://meta.discourse.org/t/cant-view-user-cards-on-meta-cakeday-error/50567/16 "2016-10-21T05:46:18Z")

</div>


