[ JUser: :_load: Unable to load user with ID: ] with User - Membership Pro

  • Vincenzo
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
5 years 5 months ago #138607 by Vincenzo
Hi Dear,

I want to report this: when you delete an user from Joomla User Management, and User - Membership Pro is active, there is the warning message:

JUser: :_load: Unable to load user with ID: <user_id>

Please Log in or Create an account to join the conversation.

More
5 years 4 months ago #138624 by Tuan Pham Ngoc
Hello

We could not do anything here as it's related to Joomla API. What's the reason of deleting user account and still leave subscription records of that user in the system? You should go to Membership Pro -> Subscriptions, delete the subscription records of that user, too

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • Vincenzo
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
5 years 4 months ago #138627 by Vincenzo
When I delete user in Joomla, they’re yet correctly deleted in subscription in Membership Pro, but the error shows.

The fact is that I tried to unpublish the plugin User - Membership Pro and the error doesn’t verify when I delete user in Joomla User Manager.

Another fact is that other extension, like AcyMailing, create user on Joomla registration and delete user when user is deleted via Joomla.

But - I’ve tried also this - with User - Membership Pro, the user is not correctly deleted (remain an ID that point to an non existent user) even in AcyMailing.

Conversely, without User - Membership Pro, the user is correctly deleted also there.

Please Log in or Create an account to join the conversation.

More
5 years 4 months ago #138642 by Tuan Pham Ngoc
It's strange to me as User - Membership Pro plugin does not have any control to ACYMailing subscribers deletion

Please Log in or Create an account to join the conversation.

  • Vincenzo
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
5 years 4 months ago #138651 by Vincenzo
In fact I think the problem is somewhere in Joomla Deletion process. The error "[ JUser: :_load: Unable to load user with ID: ]" disappear if I simply unpublish the plugin, independent of AcyMailing deletion process.

Please Log in or Create an account to join the conversation.

More
5 years 4 months ago #138660 by Tuan Pham Ngoc
I don't really understand why unpublish the plugin solves the issue here. The reason is because that plugin has nothing to do with deleting user account

However, I guess you can ignore that error because actually, it's just warning from Joomla (it's a warning/not error) when there is some code trying to load user account base on ID (but the account was deleted before)

Tuan

Please Log in or Create an account to join the conversation.