If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

Joomla 2.5.5+. “JUser: :_load: Unable to load user with ID: 42″ error

The issue may occur in case you use Joomla 2.5.5 or higher version of engine and the template version is up to Joomla 2.5.4, and you installed template sample data (dump.sql). The issue is related to “Default admin user created with id 42″ fix in Joomla 2.5.5 release: Default admin user created with id 42

In order to fix the issue, you need to perform the following actions:

First of all, please make sure to backup your database before any modifications!

1) Open your Joomla database using PHPMyadmin tool.

2) Find and open (click “Browse” icon) “jos_users” table:

3) Find and open (click “Edit” icon) the record with “Super User” name:

4) Change Super User id value to 42 and click “Go” button:

5) Find and open (click “Browse” icon) “jos_user_usergroup_map” table.

6) Find and open (click “Edit” icon) the record with “group_id” value 8, change “user_id” value to 42, then click “Go” button:

7) Logout from Joomla admin section and login back

That’s all, the issue should be fixed.

Feel free to check the detailed video tutorial below:

Joomla 2.5.5+. “JUser: :_load: Unable to load user with ID: 42″ error

Joomla 2.5.5+. "JUser: :_load: Unable to load user with ID: 42" error , 3.4 out of 5 based on 4 ratings
  • Tee

    Thank you!

  • http://www.facebook.com/sushantgarg2008 Sushant Garg

    thanks its really work …. with joomla 2.5.6

  • Bradley

    Solved!!! woot

  • Meka

    Solved…thanks a million

  • Meka

    Solved…thanks a million

  • woodstock

    Thanks a million!

  • izak

    Thanks

  • vinoth

    Thanks

  • Sasha

    спосибо

  • http://www.facebook.com/manolocharmat Emmanuel Charmat

    Worked Thx! Happens when you use a different table prefix than “Jos_”

  • http://www.noktacelikkapi.com/ Çelik Kapı

    thanks

  • Alexis

    Excelente!!….

  • mygeek911

    We had this issue, but had to fix it differently.

    For security purposes, we had changed our user_id to a number besides 42. Our database had two rows: one with user_id of 42 and one with another number. Both had the group_id of 8. We deleted the row of 42/8 and it works fine now.

  • disqus_0emP81ja5M

    thank U

  • Anastasia

    Thank you!

  • http://bdangvn.tumblr.com/ Bùi Công Đăng

    Thanks

  • Ross

    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.