Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP Notice: Undefined index: content in lib/rest-api.php #6575

Closed
grappler opened this issue May 4, 2018 · 2 comments
Closed

PHP Notice: Undefined index: content in lib/rest-api.php #6575

grappler opened this issue May 4, 2018 · 2 comments
Labels
Core REST API Task Task for Core REST API efforts [Type] Bug An existing feature does not function as intended

Comments

@grappler
Copy link
Member

grappler commented May 4, 2018

Issue Overview

When accessing a page or post getting a PHP notice saved to the debug.log.

PHP Notice: Undefined index: https://github.com/WordPress/gutenberg/blob/v2.8.0/lib/rest-api.php#L260

Steps to Reproduce (for bugs)

  1. Edit a post or page
  2. Access the debug.log

Gutenberg 2.8.0

Expected Behavior

No PHP Notice.

Related Issues and/or PRs

#6436

@pento
Copy link
Member

pento commented May 4, 2018

Thanks for the bug report, @grappler! We can get this fixed up. 🙂

@pento pento added [Type] Bug An existing feature does not function as intended Core REST API Task Task for Core REST API efforts labels May 4, 2018
@gziolo
Copy link
Member

gziolo commented May 4, 2018

It should be fixed with #6576.

@gziolo gziolo closed this as completed May 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core REST API Task Task for Core REST API efforts [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

3 participants