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

Error in the post-author block when you turn off avatars #45980

Closed
TeachMeHowToUse2FA opened this issue Nov 22, 2022 · 0 comments · Fixed by #45989
Closed

Error in the post-author block when you turn off avatars #45980

TeachMeHowToUse2FA opened this issue Nov 22, 2022 · 0 comments · Fixed by #45989
Assignees
Labels
[Block] Post Author Affects the Post Author Block [Type] Bug An existing feature does not function as intended

Comments

@TeachMeHowToUse2FA
Copy link

Description

When you turn off avatars globally on the Wordpress site through the settings - the block is no longer displayed in the editor.

Error in console: TypeError: undefined is not an object (evaluating 'Object.keys(c.avatar_urls)')

Step-by-step reproduction instructions

  1. Disable avatars view in Wordpress Settings.
  2. Open or create new post. Add post-author block

Screenshots, screen recording, code snippet

No response

Environment info

  • Wordpress 6.1.1 only

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

Yes

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

No

@Mamaduka Mamaduka added Needs Testing Needs further testing to be confirmed. [Block] Post Author Affects the Post Author Block labels Nov 23, 2022
@Mamaduka Mamaduka self-assigned this Nov 23, 2022
@Mamaduka Mamaduka added [Type] Bug An existing feature does not function as intended and removed Needs Testing Needs further testing to be confirmed. labels Nov 23, 2022
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Nov 23, 2022
@priethor priethor removed the [Status] In Progress Tracking issues with work in progress label Nov 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Post Author Affects the Post Author Block [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants