Hi,
I have been trying really hard to pinpoint this, hopefully you can help me figure out the problem.
When a user clicks “Delete account” the account is successfully deleted however the “response page” is filled with notice and warning messages.
I have tried troubleshooting by deactivating all plugins except GeoDirectory and UsersWP at my staging environment and I’m using an fresh version of Directory starter theme with latest WP.
I discovered that if either Cloudways Breeze -plugin or Post SMTP -plugin is deactivated the messages will not appear.
I should mention that I deactivated/deleted UsersWP and installed it again.
this seems to have caused issues with fields that was previously added through “usersWP form builder” but I’m pretty sure these are unrelated to the above problem (database error “Unknown column ‘foretag’ in ‘field list'” message)
I could send you access to my staging envionment?
Here is what the messages looks like after “delete account”
Notice:”Trying to get property of non-object in…on line 1121″:
Notice:”Trying to get property of non-object in…on line 314″:
Notice:”Trying to get property of non-object in…on line 315″:
…etc
Warning: Cannot modify header information – headers already sent by (output started at /wp-content/plugins/userswp/includes/class-emails.php:316) in /wp-includes/pluggable.php on line 961
Warning: Cannot modify header information – headers already sent by (output started at /wp-content/plugins/userswp/includes/class-emails.php:316) in /wp-includes/pluggable.php on line 962
…etc
Thanks!