[wp-trac] [WordPress Trac] #13768: Sub site with default theme missing will show blank pages (was: blank screen when creating a new site)
WordPress Trac
noreply at wordpress.org
Sun Nov 30 19:33:04 UTC 2014
#13768: Sub site with default theme missing will show blank pages
-------------------------------+-----------------------
Reporter: Denis-de-Bernardy | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone:
Component: Multisite | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------------+-----------------------
Changes (by jorisw):
* status: closed => reopened
* version: 3.0 =>
* resolution: invalid =>
Comment:
Four years later I ran into this problem myself, and I had never heard of
WP_DEFAULT_THEME . This constant isn't mentioned on the Create A Network
Codex wiki page. This support forum thread eventually led me to the
solution, i.e. to go into the sub site and (re)select the present theme:
https://wordpress.org/support/topic/multi-site-subdomain-site-displays-
blank-page?replies=8
I believe that this is still a bug, in that it is unexpected behaviour
that your sub site will simply crash if you are not able to guess that if
you remove the default theme, you need to set WP_DEFAULT_THEME. I believe
that WordPress should at least display a sensible error like "Cannot load
default theme. Please specify one or select one in the Appearance
section".
--
Ticket URL: <https://core.trac.wordpress.org/ticket/13768#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list