UPDATES EasyBlog 6.0.11 Released! Update to the latest version 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
Hi there,

I'll ask about loading $user->getProfile()->get('id') in other elements of ES.

It perfectly works in eg. default.header.php, but when I'll load this in eg. themes/wireframe/videos/default.php it show me and error:


Notice: Undefined variable: user in /components/com_easysocial/themes/wireframe/videos/default.php on line 79

Fatal error: Call to a member function getProfile() on a non-object in /components/com_easysocial/themes/wireframe/videos/default.php on line 79


which line of code I need to copy (in controller I suppose) to load actually viewed user Profile Type ID? :)

I'll be very grateful for your help!

Best regards!
Adam
The replies under this section are restricted to logged in users or users with an active subscription with us