Error adding new user after setup multi-db

getting the following errors after finish setup multi-db and try to add a new site from network admin

Warning: preg_match() expects parameter 2 to be string, object given in C:\xampp\htdocs\dev\wp-includes\formatting.php on line 3435

Warning: preg_match() expects parameter 2 to be string, object given in C:\xampp\htdocs\dev\wp-includes\formatting.php on line 3424

Warning: preg_match() expects parameter 2 to be string, object given in C:\xampp\htdocs\dev\wp-includes\formatting.php on line 3435

Warning: strip_tags() expects parameter 1 to be string, object given in C:\xampp\htdocs\dev\wp-includes\formatting.php on line 3407

Warning: strip_tags() expects parameter 1 to be string, object given in C:\xampp\htdocs\dev\wp-includes\formatting.php on line 3407

Catchable fatal error: Object of class WP_Error could not be converted to string in C:\xampp\htdocs\dev\wp-includes\kses.php on line 1038

here's my db-config.php

define ('DB_SCALING', '16');//

//------------------------------------------------------------------------//
//---DC IPs---------------------------------------------------------------//
//------------------------------------------------------------------------//
//	Usage: add_dc_ip(IP, DC)
//	EX: add_dc_ip('123.123.123.', 'dc1');
add_dc_ip('127.0.0.', 'dc1');

//------------------------------------------------------------------------//
//---Global Tables--------------------------------------------------------//
//------------------------------------------------------------------------//
//	Do not include default global tables
//	Leave off base prefix (eg: wp_)
//  You don't really have to register these, they will work fine without.
//  However registering at least your busiest ones might shave a few milliseconds off by avoiding some regexes.
 //	Usage: add_global_table(TABLE_NAME)
add_global_table('dev_global');
add_global_table('affiliatedata');
add_global_table('affiliatereferrers');
add_global_table('am_actions');
add_global_table('am_queue');
add_global_table('am_schedule');
add_global_table('autoblog');

add_global_table('bp_activity');
add_global_table('bp_activity_meta');
add_global_table('bp_friends');
add_global_table('bp_groups');
add_global_table('bp_groups_groupmeta');
add_global_table('bp_groups_members');
add_global_table('bp_messages_messages');
add_global_table('bp_messages_notices');

add_global_table('bp_messages_recipients');
add_global_table('bp_notifications');
add_global_table('bp_user_blogs');
add_global_table('bp_user_blogs_blogmeta');
add_global_table('bp_xprofile_data');
add_global_table('bp_xprofile_fields');
add_global_table('bp_xprofile_groups');

add_global_table('domain_mapping');

//premium support plugin
add_global_table('system_faq');
add_global_table('system_faq_cats');
add_global_table('system_tickets');
add_global_table('system_tickets_cats');
add_global_table('system_tickets_messages');

//anti blog
add_global_table('ust');
//------------------------------------------------------------------------//
//---DB Servers-----------------------------------------------------------//
//------------------------------------------------------------------------//
add_db_server('global', 'dc1', 1, 1,'','127.0.0.1', 'dev_global', 'root', '');
//	Database servers grouped by dataset.
//	R can be 0 (no reads) or a positive integer indicating the order
//	in which to attempt communication (all locals, then all remotes)
//
//	Usage: add_db_server(DS, DC, READ, WRITE, HOST, LAN_HOST, NAME, USER, PASS)
//	EX: add_db_server('global', 'dc1', 1, 1,'global.mysql.example.com:3509','global.mysql.example.lan:3509', 'global-db', 'globaluser',  'globalpassword');
//
//	Note: you can also place this section in a file called db-list.php in wp-content
add_db_server('global', 'dc1', 1, 1,'','127.0.0.1', 'shopifik_global', 'root', '');
add_db_server('0', 'dc1', 1, 1,'','127.0.0.1', 'dev_0', 'root',  '');
add_db_server('1', 'dc1', 1, 1,'','127.0.0.1', 'dev_1', 'root',  '');
add_db_server('2', 'dc1', 1, 1,'','127.0.0.1', 'dev_2', 'root',  '');
add_db_server('3', 'dc1', 1, 1,'','127.0.0.1', 'dev_3', 'root',  '');
add_db_server('4', 'dc1', 1, 1,'','127.0.0.1', 'dev_4', 'root',  '');
add_db_server('5', 'dc1', 1, 1,'','127.0.0.1', 'dev_5', 'root',  '');
add_db_server('6', 'dc1', 1, 1,'','127.0.0.1', 'dev_6', 'root',  '');
add_db_server('7', 'dc1', 1, 1,'','127.0.0.1', 'dev_7', 'root',  '');
add_db_server('8', 'dc1', 1, 1,'','127.0.0.1', 'dev_8', 'root',  '');
add_db_server('9', 'dc1', 1, 1,'','127.0.0.1', 'dev_9', 'root',  '');
add_db_server('a', 'dc1', 1, 1,'','127.0.0.1', 'dev_a', 'root',  '');
add_db_server('b', 'dc1', 1, 1,'','127.0.0.1', 'dev_b', 'root',  '');
add_db_server('c', 'dc1', 1, 1,'','127.0.0.1', 'dev_c', 'root',  '');
add_db_server('d', 'dc1', 1, 1,'','127.0.0.1', 'dev_d', 'root',  '');
add_db_server('e', 'dc1', 1, 1,'','127.0.0.1', 'dev_e', 'root',  '');
add_db_server('f', 'dc1', 1, 1,'','127.0.0.1', 'dev_f', 'root',  '');

move-blog.php

///DB Settings
$dbname = "dev";  //This is your current database
$blog_table_prefix = 'spf_';  //Prefix of your wpmu blog tables, most likely this won't need to be changed
$newdb_prefix = 'dev_';  //This is the prefix of the db's you're moving your tables into - we assume they are all the same, if not, you're in trouble

//We need info to connect to the databases
$dbhost = 'localhost';
$dbuname = 'root';
$dbpass = '';

//How many db's are you moving into (16, 256, or 4096)?
$db_scaling = '16';//4096