• Resolved jmgeffroy

    (@jmgeffroy)


    I’m having trouble installing the plugin in a multisite environment. A few tables are created (the wp_gift_vouchers_XXX) but not the site-specific ones (wp_NN_giftvouchers_YYY).
    I tried to uninstall / reinstall / deactivate / reactivate in many ways. Also activated the debug logs and only see the failures to query these absent tables, such as:

    WordPress database error Table 'wordpress.wp_13_giftvouchers_setting' doesn't exist for query SELECT *

    Any idea? I’m running WP 4.9.8 on PHP 7.0. The FAQ says this plugin works in a multisite environment, so I’m obviously missing something…

    Edit: I don’t see the usual code that iterates over the blog ids to create the tables (such as what can be found on this snippet). It should be in wpgv_plugin_activation which is registered as activation hook but it doesn’t seem to be there.

    Thanks a lot in advance for any clue!
    Very best regards
    Jean-Marie

    • This topic was modified 7 years, 5 months ago by jmgeffroy.
    • This topic was modified 7 years, 5 months ago by jmgeffroy. Reason: Added more infos about my investigations in the plugin code
Viewing 1 replies (of 1 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    @codemenschen I’ve deleted your offer to login to your user’s site. I’m am 100% sure you mean well but please never ask for credentials. I have flagged your account temporarily. That just means that your post will need to be approved and @ notifications from you will not work.

    https://ww.wp.xz.cn/support/guidelines/#the-bad-stuff

    Now for the why: The internet is a wonderful place full of very nice people and a few very bad ones. I’m sure everyone here is very nice however, by giving some ones keys to your house you are trusting they wont steal anything. Likewise the person who takes the keys is now responsible for the house FOREVER.

    If something was to go wrong, then you the author may well legally become liable for damages, which they would not normally have been as their software is provided without warranty.

    Please be aware that repeatedly asking for credentials will result in us asking you to repeatedly stop before escalating up to the plugins team.

Viewing 1 replies (of 1 total)

The topic ‘Plugin doesn’t create tables in multisites install’ is closed to new replies.