[wp-trac] [WordPress Trac] #29692: Multisite create new site return fatal error

WordPress Trac noreply at wordpress.org
Fri Oct 3 17:10:17 UTC 2014


#29692: Multisite create new site return fatal error
--------------------------------+----------------------------------------
 Reporter:  kkalvaa             |       Owner:  jeremyfelt
     Type:  defect (bug)        |      Status:  assigned
 Priority:  normal              |   Milestone:  4.0.1
Component:  Networks and Sites  |     Version:  4.0
 Severity:  normal              |  Resolution:
 Keywords:  reporter-feedback   |     Focuses:  administration, multisite
--------------------------------+----------------------------------------

Comment (by jeremyfelt):

 Thanks for that information, @garubi.

 One report with 5.2.4, one with 5.2.6. No PHP version is specified in the
 other forum thread. When I tested on PHP 5.2 earlier, it was 5.2.17. I
 don't have a 5.2.4 or 5.2.6 VM at the moment—and slow internet for 2 more
 days. :)

 The PHP 5.2.9 release notes specify - `Changed __call() to be invoked on
 private/protected method access, similar to properties and __get().` via
 [https://bugs.php.net/bug.php?id=42937 PHP bug 42937]. It's somewhat
 confusing (to me) as to whether this applies here or only when those
 protected methods are defined in a sub class, but it seems like it could.

 I've attached
 [https://core.trac.wordpress.org/attachment/ticket/29692/29692.diff
 29692.diff], which unsets `$wp_roles` and then starts over.

 This seems to be the only place in core where we're using a protected
 `_init()`. `install_blog()` is also the only place in core trying to
 access it.

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


More information about the wp-trac mailing list