• Resolved Ken Sim

    (@kwsim539)


    While working out the plugin update issue I realized that when I delete the plugin the yaysmtp_email_logs table and the two options, (yaysmtp_debug and yaysmtp_settings) remain in the database.

    These need to be deleted when the plugin is deleted or provided a checkbox option in the plugin settings to allow the deletion of this table and option data.

    Leaving orphaned tables and data in a client’s database is not good practice.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Bruce

    (@ninjateamwp)

    Hi @kwsim539 ,

    Thanks for coming today!

    This seems like a function of WordPress platform itself.
    But then, let me get more information about it and feed you back as soon as possible.

    By the way, may I know why you are deleting YaySMTP from your site, please? Have you faced any issues with it?

    Kind regards,
    -Bruce-

    Thread Starter Ken Sim

    (@kwsim539)

    A function of WordPress Platform? Hmm. I don’t seem to have any issues updating my other plugins using this platform.

    I removed the plugin because at the time I couldn’t get this plugin to do a successful email test and I needed to have a working SMTP mailer ASAP because the form on this site is used very often, and I could not afford to wait to hear back from you. However, after doing overlay installs on all my other sites, I figured out why this test was not working.

    So, at this point, the issue still stands that your update failed on all of my sites and the only fix was to either revert all the sites back from backups, delete and install the previous version I have, or attempt to do an overlay.

    Hi @kwsim539,

    Thanks for your patience.

    Our developer checked but everything is working well.
    I think the problem is on your side (maybe after deleting your plugin and database and then after updating again, you didn’t fully update the settings as they were original).

    Please double-check and let us know if it works.

    Cheers,
    Rose

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Delete Data From Database Upon Plugin Deletion’ is closed to new replies.