• Welcome to Simple Machines Community Forum. Please login or sign up.

loadMemberContext(): member id x not previously loaded by loadMemberData()

Started by spiros, June 04, 2020, 06:20:04 AM

Previous topic - Next topic

spiros

loadMemberContext(): member id x not previously loaded by loadMemberData()

I get this error in topics where the user is deleted but a username remains, like https://www.translatum.gr/forum/index.php?topic=556.0. Searching for those users member id I (like 529) I get 0 results.

https://www.translatum.gr/forum/index.php?topic=556.0
512: loadMemberContext(): member id 529 not previously loaded by loadMemberData()
File: Load.php
Line: 1138


1137: {
==>1138: trigger_error('loadMemberContext(): member id ' . $user . ' not previously loaded by loadMemberData()', E_USER_WARNING);
1139: return false;
1140: }

Kindred

some mod has broken things...

when you get an error that doesn't occur in the baseline core product, please include your list of mods.
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.<br /><br />"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."


spiros

I had already run that query, result was 0.

UPDATE smf_messages SET id_member = 0 WHERE NOT EXISTS
(SELECT id_member FROM smf_members WHERE smf_messages.id_member = smf_members.id_member)


Today I uninstalled Social Login 3.6.0 and installed Social Login 3.9, so this is the only change as far as I can see.

List of mods:

Titled Links   1.2
Simple Audio Video Embedder   5.0.5
SEO Sitemap   2.2
Social Login   3.9.0
Auto Twitter Embed   1.1
Remove Reply Prefix   1.0
httpBL   2.5.1
Anti-spam by CleanTalk   2.30
Anti Bot: Are You Human/Bot?   3.0
Ad Managment   3.5d
Search Focus Dropdown   1.6.1
Bad Behavior mod   1.5.15
Recent Topics On Board Index   1.03
WYSIWYG Quick Reply   2.3
Block E-mail Usernames   0.3.1
TopicRenamer   2.2
EU Cookie   1.3.1
Stop Spammer   2.3.9
Enhancements to purge inactive members   1.3.6
SMFPacks: SEO Pro Mod   2.4.2
SMF Search Enhancement Mod   1.8.2
SMF 2.0.17 Update   1.0
Remove Re From Post Title   1.0
reCAPTCHA for SMF   1.0.0
SMF 2.0.16 Update   1.0
SMF4Mobile Mod   1.0
Batch Topic Renamer   0.1
BBC-Google for SMF 1.1.2 (ver. 2.5.2)   2.5.2
"Go to full version" link - moved to the top for wap, wap2 and imode templates   1.0
Custom Copyright   1.0.2
SMF 2.0.15 Update   1.0
NoFollow All Links   1.2.1
Bookmarks   2.5
BotBanish Firewall Client   3.2.02
Wiki Links   1.1
Share This Topic   4.1.2
Adk Rules Posts   1.0

Kindred

and that's a likely candidate, since it alters the member join and delete functionality....
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.<br /><br />"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

spiros


Dhayzon

529  user doesn't exist,  user info     for 529 was loaded but this user don't exist on your database




posible solution

https://www.simplemachines.org/community/index.php?topic=572880.0


or some mod load incorrect user id

spiros


Advertisement: