[wp-trac] [WordPress Trac] #55638: Undefined property: WP_Post_Type::$post_type
WordPress Trac
noreply at wordpress.org
Mon May 2 09:02:21 UTC 2022
#55638: Undefined property: WP_Post_Type::$post_type
-------------------------------+------------------------------
Reporter: pienoz | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: 5.9.3
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------------+------------------------------
Comment (by jrf):
@pienoz Var dumping the query does not replace a backtrace and is not
actually that helpful.
The theme is overwriting the main WP query for the loop. Whatever breakage
that causes is something for the theme to fix.
Also see: https://developer.wordpress.org/reference/functions/query_posts/
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55638#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list