Skip to content

[Deprecate Dashboard] React error and blank page when trying to disconnect (as non-admin) #34535

@jsnajdr

Description

Impacted plugin

Jetpack

Quick summary

Jetpack UI crashes with React error and a blank page when trying to disconnect a non-admin user

Steps to reproduce

  1. Create a self-hosted site, e.g. on Jurassic Ninja, and connect Jetpack
  2. Log in as another, non-admin user, and on the my-jetpack page connect that user to your WP.com user account
  3. Now click "Disconnect" on that page. My expectation was that I'm going to disconnect the account from WP.com, becoming a purely local user again, and maybe have the chance to connect as another user on WP.com.
    Screenshot 2023-12-08 at 12 53 55

A clear and concise description of what you expected to happen.

My local account is disconnected from the WP.com one, and I have an opportunity to connect as another WP.com account.

My intent was not to disconnect the entire site, I'm not an Admin or Owner in the first place. Just the one user account.

What actually happened

React crashes and I see blank page:

Screenshot 2023-12-08 at 12 52 52

The React minified error is:

Objects are not valid as a React child (found: [object Error]). If you meant to render a collection of children, use an array instead.

Impact

One

Available workarounds?

No but the platform is still usable

Platform (Simple and/or Atomic)

Self-hosted

Logs or notes

No response

Metadata

Assignees

Labels

Connect FlowConnection banners, buttons, ...Triaged[Package] My Jetpack[Plugin] JetpackIssues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/[Pri] Normal[Type] BugWhen a feature is broken and / or not performing as intended

Type

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions