[wp-trac] [WordPress Trac] #28696: Change to multisite's bootstrap causes undefined functions
WordPress Trac
noreply at wordpress.org
Mon Jun 30 20:05:50 UTC 2014
#28696: Change to multisite's bootstrap causes undefined functions
--------------------------------+------------------------------
Reporter: Ipstenu | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Networks and Sites | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses: multisite
--------------------------------+------------------------------
Old description:
> I updated a theme and ended up with a WSoD, and also found that running
> commands (esp. on wp-cli) netted me this:
>
> {{{
> Fatal error: Call to undefined function ms_subdomain_constants() in
> /home/ipstenu/public_html/wp-includes/ms-settings.php on line 18
> }}}
>
> I traced it back to this changeset:
>
> https://core.trac.wordpress.org/changeset/28910/
>
> When I reverted the changes to /wp-includes/ms-settings.php then
> everything worked again.
>
> If I only reverted the default constants, I got this:
>
> {{{
> Fatal error: Call to undefined function get_site_by_path() in
> /home/ipstenu/public_html/wp-includes/ms-settings.php on line 56
> }}}
>
> Apparently things aren't being loaded soon enough for Multisite?
>
> Tested on latest SVN. No errors on 3.9.1
New description:
I updated a theme and ended up with a WSoD, and also found that running
commands (esp. on wp-cli) netted me this:
{{{
Fatal error: Call to undefined function ms_subdomain_constants() in
/home/ipstenu/public_html/wp-includes/ms-settings.php on line 18
}}}
I traced it back to this changeset: [28910]
When I reverted the changes to /wp-includes/ms-settings.php then
everything worked again.
If I only reverted the default constants, I got this:
{{{
Fatal error: Call to undefined function get_site_by_path() in
/home/ipstenu/public_html/wp-includes/ms-settings.php on line 56
}}}
Apparently things aren't being loaded soon enough for Multisite?
Tested on latest SVN. No errors on 3.9.1
--
Comment (by ocean90):
So you have updated the theme through WP-CLI?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28696#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list