[wp-trac] [WordPress Trac] #55638: Undefined property: WP_Post_Type::$post_type

WordPress Trac noreply at wordpress.org
Mon May 2 08:27:51 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 While Query monitor gives some form of backtrace, this is not a
 proper backtrace containing all information needed.

 Having said that, it points to line 33 of the `wp-content/themes/sud-radio
 /single-programme.php` file in your theme, which reads
 `get_template_part('phpincludes/menu');` (based on the file you uploaded).
 As the `phpincludes/menu` file has not been uploaded, I can't look at it,
 but it strongly suggests that there error is in that file.

 In other words: please contact the author of your theme to fix the theme.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55638#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list