[wp-trac] [WordPress Trac] #49171: Trying to get property 'post_type' of non-object in wp-includes/link-template.php on line 682
WordPress Trac
noreply at wordpress.org
Tue Jun 24 14:12:23 UTC 2025
#49171: Trying to get property 'post_type' of non-object in wp-includes/link-
template.php on line 682
--------------------------+------------------------------
Reporter: ronald2020 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Feeds | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: template
--------------------------+------------------------------
Comment (by gautam23):
== Reproduction Report
=== Description
This report validates whether the issue can be reproduced.
=== Environment
- WordPress: 6.9-alpha-60273
- PHP: 8.2.28
- Server: Apache/2.4.62 (Debian)
- Database: mysqli (Server: 11.4.7-MariaDB-ubu2404 / Client: mysqlnd
8.2.28)
- Browser: Chrome 137.0.0.0
- OS: macOS
- Theme: Twenty Twenty-Five 1.2
- MU Plugins: None activated
- Plugins:
* Gutenberg 21.0.0
* Test Reports 1.2.0
=== Actual Results
1. ❌ Error condition does not occur (not-reproduced).
=== Additional Notes
Visited the http://localhost:8888/news2020/feed/atom/ URL but could not
see any error reported.
=== Screenshot
[[Image(https://i.ibb.co/7t3Sx6xZ/Screenshot-2025-06-24-at-7-38-34-PM.png)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49171#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list