WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.48k stars 4.18k forks source link

Missing Categories/Tags selector in Gutenberg 2.9.2 #6942

Closed marybaum closed 6 years ago

marybaum commented 6 years ago

Describe the bug Category/tag selector missing from interface on post of image blocks.

To Reproduce Steps to reproduce the behavior:

  1. Log in to http://marybaum.com as admin.
  2. Create or edit a post with Gutenberg.
  3. Look to the right-hand sidebar for categories/tags panel.
  4. Discover it's missing.
  5. (Workaround) Finish the post, head for All Posts and apply category/tag/etc from Quick Edit.

Expected behavior Ability to check existing categories and tags from a dialog panel in the block eidtor, and add new if I want.

Screenshots If applicable, add screenshots to help explain your problem.

screenshot 2018-05-24 10 50 08

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context

danielbachhuber commented 6 years ago

Hi @marybaum,

Thanks for the report. Can you share any debugging you've done (deactivating plugins and otherwise)?

Previously https://github.com/WordPress/gutenberg/issues/5879#issuecomment-391766422

adamsilverstein commented 6 years ago

Hi @marybaum -

I looked at your site's rest api endpoints, and it appears the category and tag endpoints are being blocked by the ithemes security plugin. the endpoints need to be accessible for Gutenberg to use them so this may be the source of your problem. Does the plugin have a setting where you can enable those endpoints?

http://www.marybaum.com/wp-json/wp/v2/categories (same for tags

shows an error: You do not have sufficient permission to access this endpoint. Access to REST API requests is restricted by iThemes Security settings.

SymbolicallyMe commented 6 years ago

Hi @marybaum,

@adamsilverstein is correct, iThemes Security 6.0.0+ (free version) and iThemes Security Pro 3.4.0+ has the ability to block most WP REST API endpoints. The option that controls this functionality is located under WordPress Tweaks > REST API in your iThemes Security settings.

The two options you can choose from are:

Reference: https://ithemes.com/security/wordpress-rest-api-restrict-access/

marybaum commented 6 years ago

Ah. Let me play with the settings.

This particular install is a replacement for one that got pwned a couple of weeks ago, so in committing the folly of putting it back on the same domain and the same hosting account, I have turned up all the security settings to eleventy.

marybaum commented 6 years ago

That fixed it! Thank you!

marybaum commented 6 years ago

Guess I'll close this now, and be educated. 😜