UPDATES EasyBlog 6.0.14 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 online
Our support specialists is available now. We will attend to you as soon as we can.
  Support is online

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