Title: function get_page_permastruct &#8211; Plugin issues &#8211; Fatal Error !!
Last modified: August 19, 2016

---

# function get_page_permastruct – Plugin issues – Fatal Error !!

 *  [minnellium](https://wordpress.org/support/users/minnellium/)
 * (@minnellium)
 * [18 years ago](https://wordpress.org/support/topic/function-get_page_permastruct-plugin-issues-fatal-error/)
 * Hi
 * Have a bang-up-to-date wordpress that seems to be working fine – I just added
   the Meta Robots plugin [http://yoast.com/wordpress/meta-robots-wordpress-plugin/](http://yoast.com/wordpress/meta-robots-wordpress-plugin/)
   and it showed up fine, but when I try to save any changes, I get
    `Fatal error:
   Call to a member function get_page_permastruct() on a non-object in /home/.nintendo/
   peloton/pelotoninternet.com/wp-includes/link-template.php on line 152` I’ve noticed
   by Googling this error that this seems to happen with a few, seemingly random
   plugins, so I don’t think it’s an error of the plugin.
 * For info, line 152 of link-template.php is `$pagestruct = $wp_rewrite->get_page_permastruct();`
 * I’m guessing this is a URL rewrite issue… can anyone shed any light on what’s
   going on? Thanks.

The topic ‘function get_page_permastruct – Plugin issues – Fatal Error !!’ is closed
to new replies.

## Tags

 * [url rewrite](https://wordpress.org/support/topic-tag/url-rewrite/)

 * 0 replies
 * 1 participant
 * Last reply from: [minnellium](https://wordpress.org/support/users/minnellium/)
 * Last activity: [18 years ago](https://wordpress.org/support/topic/function-get_page_permastruct-plugin-issues-fatal-error/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
