Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Comment endpoint throws fatal error for invalid comments #166

Closed
tlovett1 opened this Issue · 0 comments

1 participant

@tlovett1

Trying to grab a non-existent comment from a post like so:
http://local.trunk.dev/wp-json/posts/3184/comments/2

This error is thrown:

<br />
<b>Fatal error</b>:  Call to a member function format() on a non-object in <b>/srv/www/trunk/wp-content/plugins/wp-api/lib/class-wp-json-posts.php</b> on line <b>1018</b><br />
@rmccue rmccue closed this in ef79d93
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.