WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
[resolved] Fatal Error (22 posts)

  1. Good in Today
    Member
    Posted 10 months ago #

    Theme: Suffusion ( figured ya might ask about that )

    So, basically, when I checked today my website says JetPack has an update. Naturally I ran the update. Directly AFTER running the update my lovely website turns into one very boring white screen that reads...

    Fatal error: Call to a member function get_page_permastruct() on a non-object in /<server>/<directory>/<public>/wp-includes/link-template.php on line 271

    So, I went into the back-end and renamed the jetpack directory to jetpack-old ( basically disabled your add-on ) and bam! Just like magic even... Website's back online. Just to double check I re-named the directory again to just jetpack and back to boring so not sure what's wrong but for now no jetpack love.

    Website ( if needed ): http://goodintoday.com

    http://wordpress.org/plugins/jetpack/

  2. EricBauman
    Member
    Posted 10 months ago #

    Same for me. Not very happy about this, since this makes even wordpress itself unavailable.

    I think I remember a similar thing happening a couple of years ago and giving up on jetpack because of it.

  3. marelis26
    Member
    Posted 10 months ago #

    Same thing happened to me just now. I had to go back to the previous Jetpack version, in order to have my site running again.

  4. wsfwarlord
    Member
    Posted 10 months ago #

    well i can only say.. same here...... :/
    jetpack update worked fine.. and then i wanted to activate wordpress.com on it.. and bam
    Fatal error: Call to a member function get_page_permastruct() on a non-object in /home/mywebsite/public_html/wp-includes/link-template.php on line 271

  5. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 10 months ago #

    Thank you all for the warning! We're looking into it, and I'll get back to you as soon as I have some news.

  6. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 10 months ago #

    Could you all contact us via email and refer to this thread? I'd like to know more about your site setup (version of WordPress, PHP) in order to try to reproduce the problem.

    Thanks!

  7. gabrielesque
    Member
    Posted 10 months ago #

    Same here. Disable Jetpack, and the problem goes away...

  8. wsfwarlord
    Member
    Posted 10 months ago #

    okay i sent an email to the support with more details

  9. Good in Today
    Member
    Posted 10 months ago #

    Ha. Nevermind. His comment was a link. Sending e-mail. :D

  10. potins
    Member
    Posted 10 months ago #

    same probleme go back to the old version

  11. MsChick74
    Member
    Posted 10 months ago #

    I have the same problem, except I can't even get in to my dashboard to disable the plugin causing the problem. Is there another way to access my site to disable the plugin?

  12. MsChick74
    Member
    Posted 10 months ago #

    Never mind, I found it and fixed it.

  13. highlanderict
    Member
    Posted 10 months ago #

    Same exact error:

    Fatal error: Call to a member function get_page_permastruct() on a non-object in /home/**********/public_html/wp-includes/link-template.php on line 271

    The jetpack version seemed to update ok and I activated the widget visibility module - all seemed good. Then I tried to activate the new "wordpress.com connect" module and that killed everything. I get a white screen on the front of site and in back-end. deactivating jetpack brings everything back, but I cannot re-enable and use all the stuff I previously enabled and ignore the one that kills it as it goes straight to the white screen.

    WP: 3.6
    PHP: 5.3.18

  14. aptharsia
    Member
    Posted 10 months ago #

    Same error, I had to downgrade to get my site back, it totally broke it.

    WP 3.6
    PHP: 5.3.22

  15. highlanderict
    Member
    Posted 10 months ago #

    downgraded to 2.3.5 and it works again

  16. George Stephanis
    Automattic Lead Code Monkey
    Plugin Author

    Posted 10 months ago #

    Howdy, all!

    I'm George, one of the developers working on Jetpack. Really eager to get this resolved, but I can't seem to duplicate it on my end. Is there any chance that any of you could generate a username and password for me to your server, both for FTP and your WordPress Dashboard? I'll try to do any investigating late in the evening tonight to make sure to avoid any visible downtime to your users.

    If you could, please email them to georgestephanis at automattic.com -- thanks!

  17. jossuuff
    Member
    Posted 10 months ago #

    Hello
    I just have the same problem.. do you need administrative access on the account?
    let me know

    thanks a lot
    Josue

  18. George Stephanis
    Automattic Lead Code Monkey
    Plugin Author

    Posted 10 months ago #

    Yes, please.

    After I've got it sorted, don't forget to purge my WP account, and either delete the FTP account if you'd created one specifically for me (preferable), or change the password if you had given me the credentials to your master account.

    Security first!

  19. George Stephanis
    Automattic Lead Code Monkey
    Plugin Author

    Posted 10 months ago #

    Howdy, folks!

    I've got the issue tracked down, and we'll be releasing a point release tomorrow to address it.

    If you'd like it fixed in the mean time, you can nerf WPCC by adding this code to a new file in your /wp-content/mu-plugins/ folder, or to your theme's functions.php file --

    add_action( 'option_jetpack_active_modules', 'kill_jp_wpcc' );
    function kill_jp_wpcc( $active ) {
    return array_diff( $active, array( 'wpcc' ) );
    }

    The problem seems to be a conflict where WPCC is trying to fetch the site's Login URL very early on, and another plugin or theme is attaching a filter to it. Which would be fine, but the filter that's being attached is calling get_permalink() -- which cannot be run before a certain point, or else it will cause the fatal error that you've come across.

  20. jossuuff
    Member
    Posted 10 months ago #

    Do you still need the account? let me know!
    Thanks a lot

    Josue

  21. Richard Archambault
    Happiness Engineer
    Plugin Author

    Posted 10 months ago #

    Hi Josue,

    No, we should be good now, Jetpack 2.4.2 should have solved the issue. If it hasn't for you though, please let me know!

  22. jossuuff
    Member
    Posted 10 months ago #

    excelent!

Reply

You must log in to post.

About this Plugin

About this Topic