UPDATES EasySocial 4.0.15 Released! Joomla 5.x and PHP 8.x compatible now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is offline
It is currently off working hours and most of us aren't around

Rest assured that we will get back to you as soon as the day starts tomorrow!
  Support is offline

Can't call new notifications and avatar on same page

Genevieve Kolling · ·
7:06 AM Tuesday, 31 January 2017
Normal
Hello!

I built a custom module that displays a user's avatar, as well as a simple alert that tells them whether they have any new notifications. It's working on my local stack, but on another server, only the avatar is appearing -- the activity alert isn't working at all — as in, I used this code:


$my = ES::user();
$total = $my->getTotalNewNotifications();


And the variable $total isn't returning anything. If I try to echo the variable, nothing happens.

I've included all system information in the "hidden" field below. Any guidance would be much appreciated!!! Thanks for a great suite of extensions!!!!!

Bob :)
The replies under this section are restricted to logged in users or users with an active subscription with us