[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 21:10:45 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 omry):
jacobsantos, I am screwing up is where I call get_permalink($id) in a
specific context, and if fails if the id is a page and works if it's a
post?
if you insist on getting a test case, I can provide one with a bit of
effort. but I am sure this inconsistent behavior from WP is a bug.
--
Ticket URL: <http://trac.wordpress.org/ticket/7589#comment:10>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list