Viewing 5 replies - 1 through 5 (of 5 total)
  • Try disabling all other plugins and then trying again after clearing your recent history (cache specifically).

    Thread Starter wpnovice2

    (@wpnovice2)

    Thanks for the suggestion but it didn’t help. Not sure if that line of code is something that’s specific to the theme I’m using, but I decided to edit link-template.php which was generating the error.

    I commented out the line of code that was generating the error:

    $link = $wp_rewrite->get_page_permastruct();

    This line of code is within the function _get_page_link

    This stops the fatal error.

    However (perhaps related to that) on the page I have [wpuf_edit] that ends up editing its own page page!

    Creating a new post is fine, and displaying a list of all posts created on a dashboard is fine, but then trying to edit the list of posts will point back to that [wpuf_edit] page which just tries to edit the content of the page (which is just the shortcode) rather than the post.

    Could you please tell us which theme you are using as this may help other users who may experience this problem.

    This more than likely is related to your theme or WordPress settings if it happens when all other plugins are deactivated.

    Could you test to see if it happens with the WordPress 2011 and 2012 themes.

    If it happens for all themes it could be related to WordPress settings for rewriting links. get_page_permastruct() is a member of class WP_Rewrite and for some unknown reason that hasn’t been defined before this function is called.

    link-template.php is a standard WordPress file and it is generally a bad idea to edit this as it may be overwritten on the next upgrade so be wary.

    Not sure what your really talking about when you state the following.

    However (perhaps related to that) on the page I have [wpuf_edit] that ends up editing its own page page!

    If it’s related to the standard WordPress edit link on the bottom of each page the development version fixes this. See the code for wpuf_suppress_edit_post_link() in wpuf_functions.php if you dont want to use the development version.

    Thread Starter wpnovice2

    (@wpnovice2)

    Hi Professor99

    Thanks for your help troubleshooting. I use the Azul theme.

    I once had buddypress activated plus a buddypress theme plugin that was supposed to help make it work for various themes. I notice that even though I deactivated all buddypress stuff, there are still buddypress templates in my theme folder so I wonder if maybe this has something to do with it — which might explain why I’m having these unusual issues

    RE my last comment that was confusing:

    The wordpress page with [wpuf_dashboard] nicely displays a list of the posts I have authored, with links to edit them. Links to edit them correctly point to the wordpress page that has the shortcode [wpuf_edit]. However that page with the shorcode attempts to edit its own page content — not the content of a post. The contents in the “title” and “description” boxes of the form are the title of the page, and the content of the page “[wpuf_edit]” I suspect this might have to do with me messing around with permalinks to get the plugin working.

    I really like the promise of this plugin, particularly its dashboard feature to show a person’s posts. I tried other plugins but they don’t offer the power that this one promises. I wish I were more of a wordpress expert to spend more time trying to figure out why it isn’t working for me. I will check back for future versions in case that ends up working.

    Best wishes.

    Hi wpnovice,

    For reference the edit links on my dashboard are of the https://%site%/%editPage%/?pid=136&_wpnonce=08420925a6.

    Did you try using the 2010/2011 themes to see if any problems disappeared?

    Also FrontEnd version 1.1 needs permalinks to have %postname% in them. The latest development version doesn’t require this.

    Worth trying the development version anyway as it has lots of new features and bug fixes

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal error’ is closed to new replies.