Lots of notice and warning messages after "delete account"

This topic contains 10 replies, has 3 voices, and was last updated by  Alex Rollin 4 years, 7 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #7793

    anders
    Free User
    Post count: 121

    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!

    #7794

    Patrik
    Moderator
    Post count: 1971
    This reply has been marked as private.
    #7795

    anders
    Free User
    Post count: 121
    This reply has been marked as private.
    #7803

    Patrik
    Moderator
    Post count: 1971

    Hi,

    It seems you tried to install UsersWP multiple times without properly uninstalling and it may have caused DB fields missing issue. I would suggest you uninstall the UsersWP plugin completely and then install again and create the required custom fields and then check. To do this go to UsersWP->Uninstall and enable Remove Data on Uninstall? and then delete the plugin.

    Regards,
    Patrik

    #7804

    anders
    Free User
    Post count: 121
    This reply has been marked as private.
    #7805

    anders
    Free User
    Post count: 121
    This reply has been marked as private.
    #7807

    Patrik
    Moderator
    Post count: 1971
    This reply has been marked as private.
    #7808

    anders
    Free User
    Post count: 121

    I just tried it and there were no warnings or notice now.

    Thank you so much for your quick support, it’s very appreciated!

    /Anders

    #7809

    Patrik
    Moderator
    Post count: 1971
    This reply has been marked as private.
    #7814

    anders
    Free User
    Post count: 121
    This reply has been marked as private.
    #7820

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
Viewing 11 posts - 1 through 11 (of 11 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket