Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

variable not initialized in sunrise.php #316

Closed
clarkbox opened this issue Sep 25, 2014 · 2 comments
Closed

variable not initialized in sunrise.php #316

clarkbox opened this issue Sep 25, 2014 · 2 comments

Comments

@clarkbox
Copy link
Member

we are getting about 20k errors/hr out of sunrise.php

2014/09/24 19:34:46 [error] 438#0: *716621 FastCGI sent in stderr: "PHP message: PHP Warning: Creating default object from empty value in /var/www/wordpress/jquery-wp-content/sunrise.php on line 6", client: 172.56.5.190, server: jquery.com, request: "GET /download/ HTTP/1.1", host: "jquery.com", referrer: "http://jquery.com/"

@gnarf
Copy link
Member

gnarf commented Sep 25, 2014

cc @nacin ?

@nacin
Copy link
Member

nacin commented Sep 25, 2014

This is due to upgrading PHP. Just add this between lines 4 and 5:

if ( ! is_object( $current_site ) )
    $current_site = new stdClass;

kborchers added a commit to kborchers/jquery-wp-content that referenced this issue Sep 25, 2014
kborchers added a commit to kborchers/jquery-wp-content that referenced this issue Sep 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

3 participants