By Robert on Thursday, 27 March 2014
Posted in General Issues
Replies 1
Likes 0
Views 548
Votes 0
Hi Mark,

I am not sure if this is related to the location field that you fixed for me but I am getting this error in activity log

Notice: Undefined property: stdClass::$loc_id in administrator/components/com_easysocial/includes/stream/stream.php on line 586 Notice: Undefined property: stdClass::$loc_uid in administrator/components/com_easysocial/includes/stream/stream.php on line 587 Notice: Undefined property: stdClass::$loc_type in administrator/components/com_easysocial/includes/stream/stream.php on line 588 Notice: Undefined property: stdClass::$loc_user_id in administrator/components/com_easysocial/includes/stream/stream.php on line 589 Notice: Undefined property: stdClass::$loc_created in administrator/components/com_easysocial/includes/stream/stream.php on line 590 Notice: Undefined property: stdClass::$loc_short_address in administrator/components/com_easysocial/includes/stream/stream.php on line 591 Notice: Undefined property: stdClass::$loc_address in administrator/components/com_easysocial/includes/stream/stream.php on line 592 Notice: Undefined property: stdClass::$loc_latitude in administrator/components/com_easysocial/includes/stream/stream.php on line 593 Notice: Undefined property: stdClass::$loc_longitude in administrator/components/com_easysocial/includes/stream/stream.php on line 594 Notice: Undefined property: stdClass::$loc_params in administrator/components/com_easysocial/includes/stream/stream.php on line 595

These are the line of codes its referring to;
$location->uid = $row->loc_uid;
$location->type = $row->loc_type;
$location->user_id = $row->loc_user_id;
$location->created = $row->loc_created;
$location->short_address = $row->loc_short_address;
$location->address = $row->loc_address;
$location->latitude = $row->loc_latitude;
$location->longitude = $row->loc_longitude;
$location->params = $row->loc_params;
Hi Robert,

I am sorry for the delay of this reply.

Regarding your issue, I've applied a patch to your site and now your activity log page should display correctly without those php warning message. The fix will be added into next release of EasySocial as well

Hope this help and have a nice day
Sam
·
Thursday, 27 March 2014 12:28
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post