Title: Errors when creating a new site with multisite
Last modified: August 30, 2016

---

# Errors when creating a new site with multisite

 *  [scudsy87](https://wordpress.org/support/users/scudsy87/)
 * (@scudsy87)
 * [11 years ago](https://wordpress.org/support/topic/errors-when-creating-a-new-site-with-multisite/)
 * Hi
 * I have just setup multisite and when creating a new site via the admin backend
   I am receiving the following errors. Does anyone no what these are and why I 
   am receiving them?
 * Warning: preg_match() expects parameter 2 to be string, object given in /home/
   useraccount/public_html/wp-includes/formatting.php on line 3435
 * Warning: preg_match() expects parameter 2 to be string, object given in /home/
   useraccount/public_html/wp-includes/formatting.php on line 3424
 * Warning: preg_match() expects parameter 2 to be string, object given in /home/
   useraccount/public_html/wp-includes/formatting.php on line 3435
 * Warning: strip_tags() expects parameter 1 to be string, object given in /home/
   useraccount/public_html/wp-includes/formatting.php on line 3407
 * Warning: strip_tags() expects parameter 1 to be string, object given in /home/
   useraccount/public_html/wp-includes/formatting.php on line 3407
 * Catchable fatal error: Object of class WP_Error could not be converted to string
   in /home/useraccount/public_html/wp-includes/kses.php on line 1038
 * Any help or advice is much appreciated.
 * Regards

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [stefdn](https://wordpress.org/support/users/stefdn/)
 * (@stefdn)
 * [11 years ago](https://wordpress.org/support/topic/errors-when-creating-a-new-site-with-multisite/#post-6208894)
 * Hi,
 * …and sorry, it’s not an answer but I have the same problem…
 * – WordPress : 4.2.2 fr
    – PHP 5.3.10-1ubuntu3.18 / MySql 5.5.43 – on myWP.localhost–
   SUBDOMAIN_INSTALL = false
 * When I click “add new site” (I use French version), there is a 403 blank page
   
   And tables of new site are not created The only reference to the new site in 
   database is in ‘wp_blogs’
 * error.log :
    `PHP Catchable fatal error: Object of class WP_Error could not be
   converted to string in /home/.../www/.../wp-includes/kses.php on line 1038, referer:
   http://myWP.localhost/wp-admin/network/site-new.php` and `Error in database WordPress
   Table 'maBase.wp01_2_options' doesn't exist for the request SELECT option_value
   FROM wp01_2_options WHERE option_name = 'blogname' LIMIT 1 by require_once('wp-
   admin/network/admin.php'), require_once('wp-admin/admin.php'), do_action('admin_init'),
   call_user_func_array, _wp_admin_bar_init, WP_Admin_Bar->initialize, get_blogs_of_user,
   get_blog_details, get_option`
 * some help, please ? (o:
 *  Thread Starter [scudsy87](https://wordpress.org/support/users/scudsy87/)
 * (@scudsy87)
 * [11 years ago](https://wordpress.org/support/topic/errors-when-creating-a-new-site-with-multisite/#post-6208896)
 * Hi [@stefdn](https://wordpress.org/support/users/stefdn/)
 * From researching the net I found articles which mentioned the charset used within
   the database/tables (which should be UTF8) and for some reason mine weren’t correctly
   configured – I’ve never had this before and I’ve setup loads of WordPress installs
   on my VPS Server.
 * What I did was to create another database, ensure that the correct charset was
   used and started completely from scratch with a clean install. I know it’s not
   ideal but I couldn’t get it to work any other way and now all is working correctly
   🙂
 * I hope this help and you manage to sort out your issue.
 *  [stefdn](https://wordpress.org/support/users/stefdn/)
 * (@stefdn)
 * [11 years ago](https://wordpress.org/support/topic/errors-when-creating-a-new-site-with-multisite/#post-6208900)
 * Thanks
 * I tried with a new base encoded in `utf8mb4_general_ci` like tables of WP.
    I
   suppose encoding `utf8mb4_general_ci` is the WP’s job ?
 * But nothing, it’s the same #@!!#arg!!…
 *  [Benjamin Lu](https://wordpress.org/support/users/benlumia007/)
 * (@benlumia007)
 * [11 years ago](https://wordpress.org/support/topic/errors-when-creating-a-new-site-with-multisite/#post-6208934)
 * what kind of hosting providers do you guys have!
 *  [Kimber254](https://wordpress.org/support/users/kimber254/)
 * (@kimber254)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/errors-when-creating-a-new-site-with-multisite/#post-6209033)
 * scudsy87: Like you I have install many wordpress multisites in my VPS hosting.
   I have now install this new version of wordpress four time and check ever setting.
   Figure I got a ton of DNS errors and now I’m getting to same error as listed 
   above. Anyone figure out how to fix these issues.
 *  [Schuurmudgeon](https://wordpress.org/support/users/schuurmudgeon/)
 * (@schuurmudgeon)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/errors-when-creating-a-new-site-with-multisite/#post-6209034)
 * [@stefdn](https://wordpress.org/support/users/stefdn/), I had a similar problem.
   I think you should really try…
 * /** Database Charset to use in creating database tables. */
    define(‘DB_CHARSET’,‘
   utf8’);
 * …in your wp-config.php file. ‘utf8mb4_general_ci’ may not be good enough.
 *  [bo.gos](https://wordpress.org/support/users/bogos-1/)
 * (@bogos-1)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/errors-when-creating-a-new-site-with-multisite/#post-6209041)
 * I had the same problem as [@scudsy87](https://wordpress.org/support/users/scudsy87/).
   
   [@schuurmudgeon](https://wordpress.org/support/users/schuurmudgeon/), thanks 
   for your solution. Now everything is ok for me.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Errors when creating a new site with multisite’ is closed to new replies.

## Tags

 * [multisite](https://wordpress.org/support/topic-tag/multisite/)
 * [PHP errors](https://wordpress.org/support/topic-tag/php-errors/)

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 7 replies
 * 6 participants
 * Last reply from: [bo.gos](https://wordpress.org/support/users/bogos-1/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/errors-when-creating-a-new-site-with-multisite/#post-6209041)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
