Skip to content

Can't see template list when avatars are disabled #37452

@erikjoling

Description

@erikjoling

Description

When using the Site Editor and heading over to the templates list I encountered a white screen. I noticed an error in the console relating to avatars. It turns out I have them disabled. When enabling the avatars I can view the template list as expected.

Step-by-step reproduction instructions

  1. Disable avatars through Options > Discussion
  2. Go to the Site Editor and head over to templates
  3. Et voila, a white screen with the following error in the console: TypeError: n.avatar_urls is undefined

Screenshots, screen recording, code snippet

No response

Environment info

  • WordPress version 5.8.2
  • Gutenberg plugin version 12.1.0
  • Tove Theme version 0.5

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

Metadata

Metadata

Assignees

Labels

[Feature] Site EditorRelated to the overarching Site Editor (formerly "full site editing")[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions