JUser::_load: Unable to load user with id:
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
-
- Joomla! Fledgling
- Posts: 4
- Joined: Mon Aug 29, 2011 5:58 pm
- Location: Charleston, SC
Re: JUser::_load: Unable to load user with id:
First, let me say thanks to everyone in this thread. Solved an issue for me that I could have been looking for all day. Also, just wanted to add a couple of notes after playing with my user lists all day.
1) always check your #_users table to make sure that user exists.
2) check any components that might *also* collect data to make sure they line up (mainly talking about user ID here, but other info should be synced up, right?) example: Community Builder also uses a qf_comprofiler table to hold extra data for users.
3) gotta check that #_user_usergroup_map and make sure your user is assigned to the proper group (example: i found this to be the culprit with my joomla and CB user tables not syncing, even *after* i had manually updated user IDs in the database.)
4) great heads-up form nsvr6! Totally spaced that after updating my test users that some of the deleted ones would still be attached to articles they created. Thanks!
thanks again, and hope these notes help .
1) always check your #_users table to make sure that user exists.
2) check any components that might *also* collect data to make sure they line up (mainly talking about user ID here, but other info should be synced up, right?) example: Community Builder also uses a qf_comprofiler table to hold extra data for users.
3) gotta check that #_user_usergroup_map and make sure your user is assigned to the proper group (example: i found this to be the culprit with my joomla and CB user tables not syncing, even *after* i had manually updated user IDs in the database.)
4) great heads-up form nsvr6! Totally spaced that after updating my test users that some of the deleted ones would still be attached to articles they created. Thanks!
thanks again, and hope these notes help .
-
- Joomla! Apprentice
- Posts: 7
- Joined: Tue Jul 27, 2010 12:40 am
Re: JUser::_load: Unable to load user with id:
Hi all - I've just got the same message when I try to view an article that I've just created: JUser: :_load: Unable to load user with id: 41
I don't have 41 users as I'm just setting the system up and this keeps happening when I try to view an article via Seblod category blog view. What I have noticed though is that the number corresponds to the article id everytime. Can anyone shed any light on this?
I'm running J1.7 and PHP5 and both safari and chrome on a mac mini and apache.
regards
I don't have 41 users as I'm just setting the system up and this keeps happening when I try to view an article via Seblod category blog view. What I have noticed though is that the number corresponds to the article id everytime. Can anyone shed any light on this?
I'm running J1.7 and PHP5 and both safari and chrome on a mac mini and apache.
regards
-
- Joomla! Apprentice
- Posts: 11
- Joined: Tue Aug 02, 2011 11:15 am
Re: JUser::_load: Unable to load user with id:
Yes ... creating the dummy user fixed this for me too. But i did use php admin to change user profile numbers
-
- Joomla! Apprentice
- Posts: 6
- Joined: Thu Aug 20, 2009 10:28 am
Re: JUser::_load: Unable to load user with id:
Thanks folks - this worked for me - cheers
-
- Joomla! Fledgling
- Posts: 4
- Joined: Tue Nov 25, 2008 3:59 am
Re: JUser::_load: Unable to load user with id:
I was finding this error on some pages and not on others. I finally checked the article "Created by" and found the ones that show the error are ones that have the "Created by" field blank after the migration of the site. So never thought to look there. Hope this helps some people.
-
- Joomla! Apprentice
- Posts: 5
- Joined: Sat Aug 15, 2009 12:32 pm
Re: JUser::_load: Unable to load user with id:
Easiest way is to check the "modified_by" field in the content table and change that to a current user if it has changed. Simple and no need to create new users etc. Found loads of these and changed them all in seconds.
-
- Joomla! Fledgling
- Posts: 4
- Joined: Sun Mar 16, 2014 7:24 am
Re: JUser::_load: Unable to load user with id:
THANK YOU!!!! This was exactly my problem... everyone kept writing. "Just create a new user in the DB". Well that user seemed to exist with the ID number in the error msg so i knew something else had to be the problem. My error occurred with a K2 item and only on one particular section... So when I read this post... I thought "Thats gotta be it" and it was... changed the 'created by' cuz that field was blank and Viola!dcox007 wrote:I was finding this error on some pages and not on others. I finally checked the article "Created by" and found the ones that show the error are ones that have the "Created by" field blank after the migration of the site. So never thought to look there. Hope this helps some people.
-
- Joomla! Fledgling
- Posts: 4
- Joined: Sun Mar 16, 2014 7:24 am
Re: JUser::_load: Unable to load user with id:
I've also found that this problem can be solved by changing who is the Author of the K2 article... or whatever article I suppose. Because the initial administrator that created the template and created the article will of course not be in your DB when you install the template. So you can solve the problem simply by changing the author of the article to the admin user you create when installing the DB.
- dhacohen
- Joomla! Apprentice
- Posts: 7
- Joined: Tue Mar 01, 2011 10:47 pm
- Location: Buenos Aires, Argentina
- Contact:
Re: JUser::_load: Unable to load user with id:
I had the same problem with a particular item on K2, I tried changing the ID in the phpmyadmin DB, but din't work... so I opened the K2 item and there, in "Author publishing status", on "Author" I clicked "Change" and re selected the author, saved and the problem was gone.
-
- Joomla! Apprentice
- Posts: 30
- Joined: Mon Jul 29, 2013 5:46 am
Re: JUser::_load: Unable to load user with id:
hirtRegazzo wrote:I've also found that this problem can be solved by changing who is the Author of the K2 article... or whatever article I suppose. Because the initial administrator that created the template and created the article will of course not be in your DB when you install the template. So you can solve the problem simply by changing the author of the article to the admin user you create when installing the DB.
I suppose you install a new quickstart package, you need to change the author user of the article to other author he exist in the users management
as any regular user you can create in the front by user register or in the backend in user management, after that you should assigned him to author group or any other group.
-
- Joomla! Fledgling
- Posts: 2
- Joined: Wed Jul 13, 2016 1:26 pm
Re: JUser::_load: Unable to load user with id:
Edit the document, go to "author" enter your name. All the J user errors will clear once you do this.