Author Topic: * JUser::_load: Unable to load user with id: 55  (Read 17516 times)

beachy

  • Jr. Member
  • **
  • Posts: 277
  • VirtueMart Version: 2.0.22
* JUser::_load: Unable to load user with id: 55
« on: January 07, 2010, 19:02:47 pm »
Hi Guys,

I have a problem with my customer registration on my website at the moment (www.puretree.co.uk)


Customers though the checkout proceedure entering in their details. When they go to the payments methods it either freezes or continues to take payment (redirect to paypal site). When I go to look at peoples orders online the following error comes up * JUser::_load: Unable to load user with id: 55

I can then see the order but in the frontend of Joomla their is no user information! As far as I am aware customer information should be in Joomla frontend and in Virtuemarts order screen.

I expect someone must have come across this before.

Any help is much appreciated!
_______
Joomla 2.5.11 Virtuemart 2.0.22
Apache 2.2.24 PHP 5.4.13
Hosted By RochenHost.com - MVS

beachy

  • Jr. Member
  • **
  • Posts: 277
  • VirtueMart Version: 2.0.22
Re: * JUser::_load: Unable to load user with id: 55
« Reply #1 on: January 07, 2010, 22:19:54 pm »
Just thought I would add that I have tried replicating the error myself by signing up and purchasing stuff but cant seem to make the error occur.

However, a customer on my site this morning managed to cause it so I have no idea what I am doing differently!
_______
Joomla 2.5.11 Virtuemart 2.0.22
Apache 2.2.24 PHP 5.4.13
Hosted By RochenHost.com - MVS

beachy

  • Jr. Member
  • **
  • Posts: 277
  • VirtueMart Version: 2.0.22
Re: * JUser::_load: Unable to load user with id: 55
« Reply #2 on: January 16, 2010, 12:33:00 pm »
Update:

I still cant find a solution to this problem. I have since had several customers sign up and order products off my site without a problem.

However, every so often it occurs.

Has anyone else had similar issues???
_______
Joomla 2.5.11 Virtuemart 2.0.22
Apache 2.2.24 PHP 5.4.13
Hosted By RochenHost.com - MVS

beachy

  • Jr. Member
  • **
  • Posts: 277
  • VirtueMart Version: 2.0.22
Re: * JUser::_load: Unable to load user with id: 55
« Reply #3 on: January 30, 2010, 15:02:33 pm »
Update:

I have finally found the cause of this error. W

hen registering in the checkout pages there is an option to Register an Account. By default this is selected. If customers create an account there is no problem but if they choose not to create an account following message is displayed when loading the order details:

JUser::_load: Unable to load user with id: 55

Is there a way to stop this happening?
_______
Joomla 2.5.11 Virtuemart 2.0.22
Apache 2.2.24 PHP 5.4.13
Hosted By RochenHost.com - MVS

uptimistik

  • Beginner
  • *
  • Posts: 2
Re: * JUser::_load: Unable to load user with id: 55
« Reply #4 on: August 16, 2010, 00:41:35 am »
Not sure if you figured out this error:   Error *JUser::_load: Unable to load user with id:
But here is the solution:
Go to your Joomla User Administrator in the backend
Create a new user (put the name as something you will remember, especially if you have a lot of users)
Go to PHPMyAdmin and navigate to the table jos_users
Click on Edit (the Pencil Icon) on the user you created, and change the ID (the value on the top right) to the number shown in the error message.
E.g. if the message was :   Error          * JUser::_load: Unable to load user with id: 107
change the ID to 107.
Click GO and voila! Message disappears.

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10401
  • VirtueMart Version: 3+
Re: * JUser::_load: Unable to load user with id: 55
« Reply #5 on: August 16, 2010, 02:16:54 am »
go into your mysql, and try and change the last users number to 56 and see what happens after that
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

evephoto

  • Beginner
  • *
  • Posts: 8
Re: * JUser::_load: Unable to load user with id: 55
« Reply #6 on: September 27, 2011, 15:22:20 pm »
I had the same problem and your soluion works ! Thanks !

albarracinmauro

  • Beginner
  • *
  • Posts: 6
Re: * JUser::_load: Unable to load user with id: 55
« Reply #7 on: October 15, 2012, 01:43:28 am »
hello, I feel the same and thus fix ... I get the user ID: 13 ..... ID is not in K2 ...
What can be the solution without having to have two users with different ID? thanks