By Peter McLeland on Thursday, 27 June 2019
Posted in Technical Issues
Likes 0
Views 538
Votes 0
Some time ago you supplied a fix https://stackideas.com/forums/hiding-admin-from-leaderboard because for some reason my site doesn't see superadmins in the backend.

I've applied this fix at each and every update since and it corrects any problems that are created. However after updating to 3.1.4 today it no longer works and I get a frontend message saying: 1054 Unknown column 'SocialUser' in 'where clause'

To get the page back to working I reinstalled the v3.1.4 but now I can't access the backend as ES keeps reinstalling itself every time I try

Applying the fix in httpdocs/administrator/components/com_easysocial/models/users.php gets the backend working again but breaks the frontend.

Help please?
Hey Peter,

You can't just download the file from the older thread then straight away replace it, because if we did update some of the code inside this file, then you will hit this kind of issue because the older file is not compatible with latest version of Easysocial.

I already revert back to the latest code file and manually apply the fix into same file, can you give it a check is it work fine now?


if (!$superAdminGroups) {
$obj = new stdClass();
$obj->id = 8;

$superAdminGroups[] = $obj;
}
·
Thursday, 27 June 2019 16:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks so much Arlex!

I just realised that's what I did, I usually change the code as you suggest but for some reason this time I didn't....

Lesson learned, thanks again for great support
·
Thursday, 27 June 2019 16:32
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome. Glad to hear that your issue has been resolved now.

Just for your information, I have locked and marked this thread as resolved to avoid confusions in the future. Please start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiries.

Thanks for understanding.
·
Thursday, 27 June 2019 16:43
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post