[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
Sun Aug 31 18:38:39 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 |
-------------------------------+--------------------------------------------
Changes (by mrmist):
* keywords: => reporter-feedback
Comment:
Can't seem to reproduce this through use in a template (no matter what I
pass to the function, and regardless of permalink settings.)
<p><?php echo get_permalink($id); ?></p>
Works for me.
How are you using it?
--
Ticket URL: <http://trac.wordpress.org/ticket/7589#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list