WordPress.org

Ready to get started?Download WordPress

Forums

Plugin Organizer
[resolved] Fatal error: Call to a member function get_page_permastruct() (15 posts)

  1. Willians Biehl
    Member
    Posted 1 year ago #

    After the last update my installation of WordPress began to display the following error message: Fatal error: Call to a member function get_page_permastruct() on a non-object in /home/portalve/public_html/wp-includes/link-template.php on line 271

    http://wordpress.org/extend/plugins/plugin-organizer/

  2. Contemplative Computing
    Member
    Posted 1 year ago #

    Same error here

  3. Podd63
    Member
    Posted 1 year ago #

    Same here too !

  4. frankv001
    Member
    Posted 1 year ago #

    Same error here too after updating the plugin.

  5. ccolotti
    Member
    Posted 1 year ago #

    DITTO!! Rolling back to previous version

  6. ccolotti
    Member
    Posted 1 year ago #

    I had to roll all the way back to 2.6.3 for it to work again.

  7. Jeff Sterup
    Member
    Plugin Author

    Posted 1 year ago #

    I don't call get_permalink or get_page_permastruct and I don't see this on my installs. Which tells me that something is different about your sites unrelated to my code. Does anyone care to elaborate on the error? Does it appear once or every time you load a page? Does it appear on the front end or the backend? What other plugins are you running? What version of wordpress? Are you running multisite or a single site? Has anyone tried the suggestion made by others to totally disable and delete plugin organizer including the MU class before upgrading? Like this one http://wordpress.org/support/topic/updating-to-30-breaks-site?replies=35 ?

  8. ccolotti
    Member
    Posted 1 year ago #

    Mine is multisite, with this enabled on only one of the sites. Once activated with the 3.0 and above the site shows a 500 error with that issue in the logs. I have not seen the other post with the full removal and MU class until now.

    I am also running WP 3.5.2 as of this weekend.

    After the 500 error I selectively disabled all plugins and this was the only one generating the 500 error. I do have a lot of other plugins but this was the culprit for sure, and the last 2.6.x version works fine.

  9. Jeff Sterup
    Member
    Plugin Author

    Posted 1 year ago #

    Sooooooooo.... did you delete the plugin and download a fresh copy from wordpress?

  10. Jeff Sterup
    Member
    Plugin Author

    Posted 1 year ago #

    The best I can come up with is that your activation has failed and it is randomly trying to activate. There is a call to get_permalink in that function. I removed that call in version 3.0.7. See if it gives you the same error.

  11. ccolotti
    Member
    Posted 1 year ago #

    I have not had a chance yet. The site needs to be up for updates and I don't have a good test site running that is up to date. Maybe someone else has checked? I see a 3.0.8 already as well.

  12. Jeff Sterup
    Member
    Plugin Author

    Posted 1 year ago #

    3.0.8 removes a call to wp_post_count in the activate function which may also be causing some people problems.

  13. lesb55
    Member
    Posted 1 year ago #

    Still problems Jeff;

    Version 3.0.8 gives me this error on activation:

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

    (Running WP 3.5.2)

    PS: You still have full access to our test website, as per a previous issue.

    Feel free to check out this problem there (www.lusanbidets.com) if you wish.

  14. Jeff Sterup
    Member
    Plugin Author

    Posted 1 year ago #

    Sorry I made a typo. Was working on too many things today. It was looking for the wrong version number and trying to reactivate. Install version 3.0.9. Hopefully its straightened out this time.

  15. lesb55
    Member
    Posted 1 year ago #

    On-ya' Jeff,

    That's Aussie slang for 'good on you mate' (you've done something really great!)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags