- Posts: 68
COMMUNITY FORUM
JUser: :_load: Unable to load user with ID: 531
- John Vincent
-
Topic Author
- Offline
- Senior Member
Less
More
12 years 2 months ago #110818
by John Vincent
JUser: :_load: Unable to load user with ID: 531 was created by John Vincent
Hi,
I get this error on all my pages. What am I doing wrong?
Thanks,
John
I get this error on all my pages. What am I doing wrong?
Thanks,
John
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
Less
More
- Posts: 3722
12 years 2 months ago #110819
by william white
Replied by william white on topic Re: JUser: :_load: Unable to load user with ID: 531
check your user table with phpmyadmin. is there a user with id 531?
If there is, is he a K2 user?
if there is not a user with that id, you may need to use phpmyadmin and try something like this
UPDATE `PREFIX_k2_items` SET created_by = NEW_ID WHERE created_by = OLD_ID
Be sure to back up your entire site FIRST!!
If there is, is he a K2 user?
if there is not a user with that id, you may need to use phpmyadmin and try something like this
UPDATE `PREFIX_k2_items` SET created_by = NEW_ID WHERE created_by = OLD_ID
Be sure to back up your entire site FIRST!!
Please Log in or Create an account to join the conversation.
- Edson Khorommbi
-
- Offline
- New Member
Less
More
- Posts: 1
12 years 2 months ago #110820
by Edson Khorommbi
Replied by Edson Khorommbi on topic Re: JUser: :_load: Unable to load user with ID: 531
Hi John
I came across the same error and i managed to resolve it but i suggest the simplest way which is to go to php myadmin, locate your user table, for example (hs4gf_k2_users), if there is already a user with ID 531 delete him..
Then pick any of the users there and select copy, it will open the edit screen, then on the first text box to the right which will be blank inset the UserID (531) then just change username, name and email and save,
Likewise, Make a backup first :whistle:
And say Thanks
I came across the same error and i managed to resolve it but i suggest the simplest way which is to go to php myadmin, locate your user table, for example (hs4gf_k2_users), if there is already a user with ID 531 delete him..
Then pick any of the users there and select copy, it will open the edit screen, then on the first text box to the right which will be blank inset the UserID (531) then just change username, name and email and save,
Likewise, Make a backup first :whistle:
And say Thanks
Please Log in or Create an account to join the conversation.
- YannisDr
-
- Offline
- Junior Member
Less
More
- Posts: 28
10 years 6 months ago #110821
by YannisDr
Replied by YannisDr on topic Re: JUser: :_load: Unable to load user with ID: 531
Hi everybody and Vincent,
In my case the error was caused by a mistake that previous developer did.
He had deleted the user who edited the article where I saw the error.
When I changed the user who modified the article, the error was gone.
Loading the phpMyAdmin I saw that the user who modified the article was id=742 (non existent) and after I corrected it, it was id= 0
So, perhaps you could fix the mistake by checking your phpMyAdmin and changing the users to an existing one.
Backup wise of course.
Cheers
In my case the error was caused by a mistake that previous developer did.
He had deleted the user who edited the article where I saw the error.
When I changed the user who modified the article, the error was gone.
Loading the phpMyAdmin I saw that the user who modified the article was id=742 (non existent) and after I corrected it, it was id= 0
So, perhaps you could fix the mistake by checking your phpMyAdmin and changing the users to an existing one.
Backup wise of course.
Cheers
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 6 months ago #110822
by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: JUser: :_load: Unable to load user with ID: 531
It always safer to deactivate users than simply deleting them.
Please Log in or Create an account to join the conversation.