Plugin doesn’t create tables in multisites install
-
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
The topic ‘Plugin doesn’t create tables in multisites install’ is closed to new replies.