[wp-trac] [WordPress Trac] #30313: get_blog_details gets Fatal error

WordPress Trac noreply at wordpress.org
Wed Nov 12 05:13:46 UTC 2014


#30313: get_blog_details gets Fatal error
--------------------------------+------------------------
 Reporter:  spacedmonkey        |       Owner:
     Type:  defect (bug)        |      Status:  closed
 Priority:  normal              |   Milestone:
Component:  Networks and Sites  |     Version:  4.0
 Severity:  normal              |  Resolution:  invalid
 Keywords:                      |     Focuses:  multisite
--------------------------------+------------------------
Changes (by jeremyfelt):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 This is actually expected behavior. `sunrise.php` loads very early in the
 boot process as a way to allow the routing of various requests or for
 various tasks to be performed before WordPress loads a network or a site.

 `get_site_by_path()` is available (see `ms-load.php`), and that ''may''
 help a bit. Otherwise look at performing a manual query on the blogs
 table.

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


More information about the wp-trac mailing list