• Resolved Eusebiu Oprinoiu

    (@eusebiuoprinoiu)


    Hello!

    When the plugin is installed on WordPress Multisite and Network Activated, the log table is created only on the main website. On all other websites, we have the following error:
    Table 'database.prefix_ID_suremails_email_log' doesn't exist

    If the plugin is activated on each individual website, the tables are created as they should.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Harish Sugandhi

    (@harishsugandhi)

    Hello Eusebiu,

    This is expected behavior, as the plugin doesn’t currently create tables when network-activated. To resolve the issue, you can deactivate the plugin and then activate it once per site – that should fix the error.
    I hope this helps! We’ll definitely look into improving this behavior in a future update.

    Thanks for your cooperation and for notifying us!

    Thread Starter Eusebiu Oprinoiu

    (@eusebiuoprinoiu)

    Thank you, Harish!
    If it helps, here is the boilerplate code I use as a starting point when creating a new plugin:
    https://pastebin.com/KndjZmgN

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.