Thursday, October 07, 2010

JUser::_load: Unable to load user with id

In joomla or k2 you may receive this error "JUser::_load: Unable to load user with id". Guess what, a user with that id was deleted and the error shows because some piece of content is trying to load that user account. In my case it was being thrown from k2 comments because the user had commented on the blog post had been deleted.

To resolve this create an empty user in the admin of joomla and change its ID to the missing one in phpmyadmin.

OR

You can just delete the users stuff.. i.e. comments photo etc from k2 or joomla.


Stumble Upon CodePyro

1 comment:

Anonymous said...

ah~! 2h of searching trough DB and k2 items , simply missed the comments , thank you!

Post a Comment