WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 3 years ago

#36471 closed defect (bug) (invalid)

Accessing the path /data/feed/atom on a Wordpress URL causes an error with WP_DEBUG enabled

Reported by: dannyjjk Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.4.2
Component: Feeds Keywords: reporter-feedback
Focuses: Cc:

Description

I have WP_DEBUG set up on my Wordpress domains to ensure that I find any PHP notices or warnings as they often help me to find issues that may be present or may not be present but could be in the future. I noticed when I accessed the path /data/feed/atom on a Wordpress URL, it causes this error:

PHP Notice: Trying to get property of non-object in /var/www/vhosts/soul.academy/httpdocs/wp-includes/link-template.php on line 636

I did a stack trace which showed all the files were core wordpress files (all located in /wp-includes). I imagine this notice should be being handled in some way such that it does come up in the logs, and because of that it seems like a bug to me.

Change History (3)

#1 @stevenkword
4 years ago

@dannyjjk,

Thanks for the bug report. In order to try to resolve the issue, I have a few quesitons:

What is "data"? Is this is single page or single post? What version of WordPress are you using?

Last edited 4 years ago by stevenkword (previous) (diff)

#2 @stevenkword
3 years ago

  • Keywords reporter-feedback added

#3 @stevenkword
3 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.