Hi,
On some server configuration alter table can be very long -> https://ibb.co/G3x5083
in loader.php (vendor / meta-box / mb-relationships / inc )
/**
* If plugin is embed in another plugin, the table is not created during activation.
* Thus, we have to create it while initializing.
*/
if ( ! $this->is_table_created ) {
$this->create_table();
}
"is_table_created" doesn't seem to work as it should. You should add an option value like
update_option('mb_is_table_created', 1); when create_table function is successfully executed.
and change init function with :
if (get_option('mb_is_table_created', true) {
$this->is_table_created = true;
}
Hope it will help.
Regards,
Axel