Opened 13 years ago
Closed 13 years ago
#18919 closed defect (bug) (duplicate)
Notices due to get_page_by_path( )
Reported by: | gautamgupta | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | major | Version: | 3.3 |
Component: | Permalinks | Keywords: | |
Focuses: | Cc: |
Description
I have bbPress installed, and while browsing the forum pages which have at least one parent, 3 notices are received:
Notice: Undefined index: 0 in /.../wp-includes/post.php on line 3175 Notice: Trying to get property of non-object in /.../wp-includes/post.php on line 3171 Notice: Trying to get property of non-object in /.../wp-includes/post.php on line 3178
URL: http://localhost/forums/forum/normal/normal-closed-child/
Where forums
is the base slug used by bbPress, forum
is a CPT, normal
is a forum, normal-closed-child
is a child forum of normal
.
$parts
at line 3155: Array ( [0] => normal [1] => normal-closed-child )
$pages
at line 3160: Array ( [2] => stdClass Object ( [ID] => 2 [post_name] => normal [post_parent] => 0 ) [4] => stdClass Object ( [ID] => 4 [post_name] => normal-closed-child [post_parent] => 2 ) )
Change History (1)
Note: See
TracTickets for help on using
tickets.
#17670