[wp-trac] [WordPress Trac] #24760: Creating default object from empty value in wp-includes/ms-settings.php on line 111
WordPress Trac
noreply at wordpress.org
Wed Jul 17 02:03:46 UTC 2013
#24760: Creating default object from empty value in wp-includes/ms-settings.php on
line 111
--------------------------+------------------
Reporter: conner_bw | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.6
Component: Multisite | Version: 3.0
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------
Changes (by SergeyBiryukov):
* version: 3.5.2 => 3.0
* component: General => Multisite
Old description:
> Getting:
>
> ''Creating default object from empty value in wp-includes/ms-settings.php
> on line 111''
>
> On MU signups.
>
> Line ~111 is:
>
> {{{
> if ( empty( $current_blog->site_id ) )
> $current_blog->site_id = 1;
> }}}
>
> Short version: Depending on caching system used, or if some plugin
> "enhances" the signup procedure, $current_blog can be null.
>
> Would benefit from a patch similar to:
> http://core.trac.wordpress.org/changeset/21815
>
> Thank you for your consideration.
New description:
Getting:
''Creating default object from empty value in wp-includes/ms-settings.php
on line 111''
On MU signups.
Line ~111 is:
{{{
if ( empty( $current_blog->site_id ) )
$current_blog->site_id = 1;
}}}
Short version: Depending on caching system used, or if some plugin
"enhances" the signup procedure, $current_blog can be null.
Would benefit from a patch similar to: [21815]
Thank you for your consideration.
--
Comment:
Related: [http://mu.trac.wordpress.org/changeset/1373 mu:1373]
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24760#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list