[wp-trac] [WordPress Trac] #32308: WP Multisite: Can't add new site. (was: WPMU: Can't add new site.)

WordPress Trac noreply at wordpress.org
Fri May 8 10:48:49 UTC 2015


#32308: WP Multisite: Can't add new site.
-------------------------------------------------+-------------------------
 Reporter:  thesun2012                           |       Owner:  chriscct7
     Type:  defect (bug)                         |      Status:  accepted
 Priority:  normal                               |   Milestone:  4.2.3
Component:  Formatting                           |     Version:  4.2.2
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing needs-unit-  |     Focuses:
  tests                                          |
-------------------------------------------------+-------------------------
Description changed by chriscct7:

Old description:

> I'm not sure if this is core's bugs, and sorry if I post in wrong place.
> I tried to install WPMU on hostgator, everything is ok except creating
> new site in wp-admin/network/sites.php.
>
> Here is errors (the screen is dead at this page)
> {{{
> Warning: preg_match() expects parameter 2 to be string, object given in
> /home1/xxx/public_html/wp-includes/formatting.php on line 3435
>
> Warning: preg_match() expects parameter 2 to be string, object given in
> /home1/xxx/public_html/wp-includes/formatting.php on line 3424
>
> Warning: preg_match() expects parameter 2 to be string, object given in
> /home1/xxx/public_html/wp-includes/formatting.php on line 3435
>
> Warning: strip_tags() expects parameter 1 to be string, object given in
> /home1/xxx/public_html/wp-includes/formatting.php on line 3407
>
> Warning: strip_tags() expects parameter 1 to be string, object given in
> /home1/xxx/public_html/wp-includes/formatting.php on line 3407
>
> Catchable fatal error: Object of class WP_Error could not be converted to
> string in /home1/xxx/public_html/wp-includes/kses.php on line 1038
> }}}
> I did the same installation in my localhost, it worked but not on my
> hosting.
>
> I'm confusion and really don't know where is problem, is it in my hosting
> or in WP core.
>
> I tried to contact my hosting's service support, they couldn't solve the
> problem, like me, they don't know how to solve it.
>
> I also open a thread here, looks like this is a bug
>
> https://wordpress.org/support/topic/can-not-add-new-site-wpmu?replies=8

New description:

 I'm not sure if this is core's bugs, and sorry if I post in wrong place. I
 tried to install WPMS on hostgator, everything is ok except creating new
 site in wp-admin/network/sites.php.

 Here is errors (the screen is dead at this page)
 {{{
 Warning: preg_match() expects parameter 2 to be string, object given in
 /home1/xxx/public_html/wp-includes/formatting.php on line 3435

 Warning: preg_match() expects parameter 2 to be string, object given in
 /home1/xxx/public_html/wp-includes/formatting.php on line 3424

 Warning: preg_match() expects parameter 2 to be string, object given in
 /home1/xxx/public_html/wp-includes/formatting.php on line 3435

 Warning: strip_tags() expects parameter 1 to be string, object given in
 /home1/xxx/public_html/wp-includes/formatting.php on line 3407

 Warning: strip_tags() expects parameter 1 to be string, object given in
 /home1/xxx/public_html/wp-includes/formatting.php on line 3407

 Catchable fatal error: Object of class WP_Error could not be converted to
 string in /home1/xxx/public_html/wp-includes/kses.php on line 1038
 }}}
 I did the same installation in my localhost, it worked but not on my
 hosting.

 I'm confusion and really don't know where is problem, is it in my hosting
 or in WP core.

 I tried to contact my hosting's service support, they couldn't solve the
 problem, like me, they don't know how to solve it.

 I also open a thread here, looks like this is a bug

 https://wordpress.org/support/topic/can-not-add-new-site-wpmu?replies=8

--

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32308#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list