[wp-trac] Re: [WordPress Trac] #7589: Fatal error: Call to a member
function get_page_permastruct() on a non-object in
/home/omry/dev/php/wp/2.6/wp-includes/link-template.php on line 152
WordPress Trac
wp-trac at lists.automattic.com
Thu Sep 4 09:59:05 GMT 2008
#7589: Fatal error: Call to a member function get_page_permastruct() on a non-
object in /home/omry/dev/php/wp/2.6/wp-includes/link-template.php on line
152
-------------------------------+--------------------------------------------
Reporter: omry | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.7
Component: General | Version: 2.6
Severity: normal | Resolution:
Keywords: reporter-feedback |
-------------------------------+--------------------------------------------
Comment (by DD32):
Some example code might help understand it a bit clearer?
$wp_rewrite is defined on line 515 of wp-settings, Which is before the
init hook is called, So your plugin *most probably* shouldn't be calling
that set of functions yet anyway(Assuming you're using plugins_loaded or
sanitize_comment_cookies hooks)
--
Ticket URL: <http://trac.wordpress.org/ticket/7589#comment:4>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list