When attempting to create a post, if the user has not been authenticated, the errors are not displayed. Instead, in class-wp-json-posts, method newPost on line 209, if the returned value is not a string or integer, “instance of IXR_Error is bypassed and is sending the 500 instead. I should be getting the 400 error on line 720 of same file, but am instead getting the 500 in the last else of newPost on 209. Please check the instance of comparison.
- The topic ‘Posting, returned errors error’ is closed to new replies.