• Resolved Artvision

    (@artvision)


    Hi,

    Just updated one of the sites to Jetpack 3 and got a blank page dashboard.
    Tried to remove and manually install Jetpack but still the same.
    Checked the error log and there is a strange call to a file that doesn’t
    exists at all in Jetpack folder (functions.twitter-cards.php):

    [error] 1276#0: *1112 FastCGI sent in stderr: "PHP message: PHP Warning:  require_once(/var/www/domain.com/public_html/wp-content/plugins/jetpack/functions.twitter-cards.php): failed to open stream: No such file or directory in /var/www/domain.com/public_html/wp-content/plugins/jetpack/class.jetpack.php on line 748<br />
    PHP message: PHP Fatal error:  require_once(): Failed opening required '/var/www/domain.com/public_html/wp-content/plugins/jetpack/functions.twitter-cards.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/domain.com/public_html/wp-content/plugins/jetpack/class.jetpack.php on line 748" while reading response header from upstream, client: 8.8.8.8, server: domain.com, request: "HEAD / HTTP/1.0", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "domain.com"

    Any idea what can cause the issue?

    https://wordpress.org/plugins/jetpack/

Viewing 15 replies - 1 through 15 (of 17 total)
  • My website has gone blank all after the update. Dashboard and frontend.
    Is there any solution?
    I deactivated the plugin by ftp.

    Thread Starter Artvision

    (@artvision)

    Unfortunately I couldn’t find any solution so for now I completely deactivated Jetpack on all my websites on this server.

    What I noticed is that the blank page problem appears as soon as I authorize the site to connect WordPress.com.
    One more thing – it only happened on my websites that are on
    Nginx/FastCGI/php5-fpm server, the sites that are on Apache server
    are working fine after the update.

    Thread Starter Artvision

    (@artvision)

    Updated to version 3.0.1 but still the same problem.

    Any idea about what can cause it?

    Plugin Author Brandon Kraft

    (@kraftbj)

    Code Wrangler

    Howdy,

    It looks like either the upgrade wasn’t complete and/or your PHP caching is hanging on to the older version of class.jetpack.php.

    That particular file was in Jetpack 2.9.3 and removed in version 3.0. In fact, the line that called the deleted file in 3.0 is part of a comment:
    https://github.com/Automattic/jetpack/blob/3.0/class.jetpack.php#L748

    Looking at version 2.9.3, that does contain the line that is causing the error: https://github.com/Automattic/jetpack/blob/2.9.3/class.jetpack.php#L748

    My dollar bets that the server is still executing the older php.

    Does that get you close enough to resolution? Cheers!

    Thread Starter Artvision

    (@artvision)

    Hi Brandon,

    Thanks for the hint. You might be actually right.
    I have W3C installed and it clears the cache after every update/install
    but I have Google page speed installed as well and I won’t be surprised
    if it loads the old .php file(s).
    Going to flush the Google page speed cache and will update the thread
    with the progress.

    Thread Starter Artvision

    (@artvision)

    Unfortunately it didn’t work.
    Cleared all cache but as soon as I authorize WP.com to connect my site
    and it returns to the dashboard I see a blank page.

    Reverting the blog to version 2.9.3 for now.

    It’s ironic that among 60+ plugins I have installed on few blogs
    the only one that causes problems is the Automattic’s one. πŸ™‚

    Plugin Author Brandon Kraft

    (@kraftbj)

    Code Wrangler

    When you upgraded to version 3.0, did anything odd happen (any error messages, etc)?

    With the install, all of the plugin files should be completely replaced, so I’m at a loss how that could happen (short of caching or some very odd server failure during the install).

    If you’re so willing, could you upgrade again and check out class.jetpack.php , particularly line 748.

    I still holding out for the bet to be with caching somewhere πŸ™‚

    Thread Starter Artvision

    (@artvision)

    No error messages (beside these that are quoted above) and nothing odd.
    I tried 6-7 times to re-install the plugin – manually and through the dashboard.
    I also removed the plugin completely via FTP and downloaded/uploaded it manually without any success.
    I also checked line 748 and there is no any call to the
    functions.twitter-cards.php file.
    In fact this is a commented out line (v.3.0.0):

    /**
    	 * Check if Jetpack's REST API compat file should be included
    	 * @action plugins_loaded
    	 * @return null <strong>>>> LINE 748</strong>
    	 */

    I agree with you about the caching – it should be a caching issue, just
    can’t find where exactly it resides. πŸ™‚
    I will completely disable the W3C plugin tonight and see what will happen.

    Plugin Author Brandon Kraft

    (@kraftbj)

    Code Wrangler

    Any luck on this one?

    Hi Brandon,

    We are having this same problem as well, and it does appear related to caching, so I added to this thread rather than start a new one.

    We use WP Super Cache. With caching turned off Jetpack works great. With caching turned on we get a blank page in the admin after we click to authorize Jetpack. The site comes up just fine, just the admin is affected.

    Site: http://www.trythiswv.com
    Running WordPress 3.9.1
    Origin Theme from ElegantThemes.com
    Latest versions of all the plugins (old versions completely deleted, new versions copied to the Plugins directory).

    Currently I’ve got Jetpack enabled and caching disabled (it’s not a high-traffic site), but I’ll be happy to try anything to get it all working together again.

    Thread Starter Artvision

    (@artvision)

    Hi Brandon,

    Sorry for the belated reply but I was travelling and wasn’t able to test.

    Anyway just tried again with a flushed cache, switched off W3C
    but unfortunately the same problem.
    I can confirm that the issue exists only on our Nginx/APC/FastCGI
    servers, updated without any problems on our Apache servers.

    Plugin Author Brandon Kraft

    (@kraftbj)

    Code Wrangler

    @john.jarvis: To confirm, you’re seeing the same PHP error messages in the error log? Are you on an Apache server or Nginx, etc?

    @artvision: Which cache did you flush? APC? What is your apc.stat setting? Setting it to 1 may help since it should force APC to verify the file on the file system hasn’t changed, which sounds like may be the issue.

    Cheers!

    Thread Starter Artvision

    (@artvision)

    Hi Brandon,

    Right on the spot πŸ™‚
    apc.stat=1 worked just perfect.
    Changed, reloaded php5-fpm and did the update.
    Everything looks fine now. πŸ™‚

    Thank you for the right directions! πŸ˜‰

    Plugin Author Brandon Kraft

    (@kraftbj)

    Code Wrangler

    Great to hear! Cheers!

    Hi

    I’m having the same problem!
    Unfortunately I am not advanced to enough to understand how you solved it. Could you please explain it in simple terms?

    That would be fantastic – thanks!

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Blank page dashboard after the Jetpack 3.0 update’ is closed to new replies.