The settings page can’t be loaded if the users tabel is huge
-
Hi,
our shop has more than 50K customers and the settings page is never fully loaded because the function get_users() in includes/wc-sendinblue-settings.php will load all the data and ends in an fatal error.
A much better approach would be the following function:
//Users Sync part //$users = get_users(array('role' => 'customer')); //$currentUsers = count($users); //count_users(); $result = count_users(); $currentUsers = $result['avail_roles']['customer'];
Maybe you can change it in the next version? Without this mod I’m unable to configure the plugin.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘The settings page can’t be loaded if the users tabel is huge’ is closed to new replies.