EasySocial delete user error libraries/src/Event/AbstractEvent.php on line 225 Topic is solved

This forum is for general questions about extensions for Joomla! 5.x.

Moderators: pe7er, General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
User avatar
darb
Joomla! Hero
Joomla! Hero
Posts: 2033
Joined: Thu Jul 06, 2006 12:57 pm
Location: Stockholm Sweden

EasySocial delete user error libraries/src/Event/AbstractEvent.php on line 225

Post by darb » Mon Nov 13, 2023 4:54 pm

Hi

I have a Joomla 5 updated site and when a user that is new register to the site and then delete his profile I get this error message from him:

0
Joomla\CMS\Event\Model\DeleteEvent::onSetSubject(): Argument #1 ($value) must be of type object, array given, called in /libraries/src/Event/AbstractEvent.php on line 225

Any tips what It can be?
Last edited by toivo on Tue Nov 14, 2023 9:54 am, edited 1 time in total.
Reason: mod note: moved from 5.x Administration, retitled

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17229
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Delete user error bug libraries/src/Event/AbstractEvent.php on line 225

Post by toivo » Mon Nov 13, 2023 11:30 pm

The user registered a new account from the frontend. edited the user profile and then what? How does the user self delete the profile?
Toivo Talikka, Global Moderator

User avatar
darb
Joomla! Hero
Joomla! Hero
Posts: 2033
Joined: Thu Jul 06, 2006 12:57 pm
Location: Stockholm Sweden

Re: Delete user error bug libraries/src/Event/AbstractEvent.php on line 225

Post by darb » Tue Nov 14, 2023 9:24 am

Yes its a EasySocial account delete function in EasySocial profile frontend but you cant also not delete the user on backend of Joomla user. Got this error message when I as admin trying to delete the user in Joomla backend, so dont know how to fix this:
An error has occurred.

0 Joomla\CMS\Event\Model\DeleteEvent::onSetSubject(): Argument #1 ($value) must be of type object, array given, called in /libraries/src/Event/AbstractEvent.php on line 225

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17229
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: EasySocial delete user error libraries/src/Event/AbstractEvent.php on line 225

Post by toivo » Tue Nov 14, 2023 10:04 am

darb wrote:
Tue Nov 14, 2023 9:24 am
Yes its a EasySocial account delete function in EasySocial profile frontend but you cant also not delete the user on backend of Joomla user.
Plugins are triggered by user events and if they are not compatible, errors can occur. Have you tried to contact the developers of this paid extension, EasySocial, about the issue?

According to JED, EasySocial, is compatible with Joomla 3 and Joomla 4. Make sure that the plugin Behaviour - Backward Compatibility is enabled in Joomla 5.
Toivo Talikka, Global Moderator

User avatar
darb
Joomla! Hero
Joomla! Hero
Posts: 2033
Joined: Thu Jul 06, 2006 12:57 pm
Location: Stockholm Sweden

Re: EasySocial delete user error libraries/src/Event/AbstractEvent.php on line 225

Post by darb » Tue Nov 14, 2023 12:38 pm

Thks Toivo. Yes hope they will update this soon...

User avatar
darb
Joomla! Hero
Joomla! Hero
Posts: 2033
Joined: Thu Jul 06, 2006 12:57 pm
Location: Stockholm Sweden

Re: EasySocial delete user error libraries/src/Event/AbstractEvent.php on line 225

Post by darb » Fri Dec 08, 2023 9:59 am

Well seem that there is no active development by Stackideas EasySocial improvements and fixes. Anyone that have a fix for this problem appreciated and what to do to fix it..

Thks

User avatar
darb
Joomla! Hero
Joomla! Hero
Posts: 2033
Joined: Thu Jul 06, 2006 12:57 pm
Location: Stockholm Sweden

Re: EasySocial delete user error libraries/src/Event/AbstractEvent.php on line 225

Post by darb » Fri Dec 08, 2023 10:37 am

I see that PhocaCart had a similar issue and a post here about it: https://www.phoca.cz/forum/viewtopic.ph ... 24#p178624

But dont know how to do this for EasySocial. Any tips appreciate how to do this for EasySocial..

This can be tested in 5.0.0 Beta4:
https://github.com/PhocaCz/PhocaCart/re ... 0Beta4.zip

(Be aware, when updating from previous 5.0.0 Beta version, it is possible, that some columns or tables will be missed in database, in such case, the SQL queries for updating tables/columns need to be run manually, they can be found in : administrator/components/com_phocacart/update/sql/mysql/5.0.0.sql - #__ should be changed to own prefix e.g. jos_).

Jan

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17229
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: EasySocial delete user error libraries/src/Event/AbstractEvent.php on line 225

Post by toivo » Wed Jan 03, 2024 9:30 pm

According to this reply to a similar topic, Stackideas have provided a solution:
viewtopic.php?f=834&t=1006030#p3711177
Toivo Talikka, Global Moderator

User avatar
darb
Joomla! Hero
Joomla! Hero
Posts: 2033
Joined: Thu Jul 06, 2006 12:57 pm
Location: Stockholm Sweden

Re: EasySocial delete user error libraries/src/Event/AbstractEvent.php on line 225

Post by darb » Wed Jan 03, 2024 10:18 pm

toivo wrote:
Wed Jan 03, 2024 9:30 pm
According to this reply to a similar topic, Stackideas have provided a solution:
viewtopic.php?f=834&t=1006030#p3711177
Thanks very much Toivo will check that. 👍


Post Reply

Return to “Extensions for Joomla! 5.x”