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

Uncaught TypeError: Cannot read property 'action' of undefined #7

Closed
intelligence opened this issue Apr 1, 2021 · 3 comments
Closed

Comments

@intelligence
Copy link

While trying to validate API key for Mailchimp I get this error (happens when Validate API key is pressed)

Uncaught TypeError: Cannot read property 'action' of undefined
    at l.value (editor.js?ver=1.1.5:1)
    at l.value (editor.js?ver=1.1.5:1)
    at HTMLUnknownElement.callCallback (react-dom.82e849f1.js:182)
    at Object.invokeGuardedCallbackDev (react-dom.82e849f1.js:231)
    at invokeGuardedCallback (react-dom.82e849f1.js:286)
    at invokeGuardedCallbackAndCatchFirstError (react-dom.82e849f1.js:300)
    at executeDispatch (react-dom.82e849f1.js:383)
    at executeDispatchesInOrder (react-dom.82e849f1.js:408)
    at executeDispatchesAndRelease (react-dom.82e849f1.js:3401)
    at executeDispatchesAndReleaseTopLevel (react-dom.82e849f1.js:3410)

Skärmavbild 2021-04-01 kl  17 18 15

@girafffee
Copy link
Contributor

Hi! We have fixed this, the release with this fix will be next week, but for now you can download the latest version from here.
Thanks you!

@intelligence
Copy link
Author

Thanks!

I pulled down the zip and the validation now works. However, when selecting the audience in the next step the editor immediately crashes 😕

Skärmavbild 2021-04-04 kl  11 07 08

Error: Objects are not valid as a React child (found: object with keys {value, label}). If you meant to render a collection of children, use an array instead.
    in option (created by ForwardRef(e))
    in select (created by Context.Consumer)
    in Select (created by ForwardRef(e))
    in div (created by Context.Consumer)
    in Container (created by ForwardRef(e))
    in div (created by View)
    in View (created by ForwardRef(Flex))
    in ForwardRef(Flex)
    in ForwardRef(Flex) (created by ForwardRef(u))
    in ForwardRef(u)
    in ForwardRef(u) (created by Context.Consumer)
    in Root (created by ForwardRef(e))
    in ForwardRef(e) (created by ForwardRef(e))
    in div (created by Context.Consumer)
    in StyledField (created by Mt)
    in div (created by Context.Consumer)
    in Wrapper (created by Mt)
    in Mt (created by ForwardRef(e))
    in ForwardRef(e) (created by l)
    in div (created by l)
    in l
    in Unknown (created by render)
    in div (created by V)
    in div (created by V)
    in div (created by o)
    in div (created by Qj)
    in div (created by Qj)
    in Qj (created by o)
    in o (created by WithFocusOutside(o))
    in div (created by WithFocusOutside(o))
    in WithFocusOutside(o) (created by o)
    in o (created by WithInstanceId(o))
    in WithInstanceId(o) (created by V)
    in V (created by render)
    in div (created by PanelBody)
    in PanelBody
    in o (created by Context.Consumer)
    in y (created by R)
    in R (created by PluginDocumentSettingPanelSlot)
    in PluginDocumentSettingPanelSlot (created by Rt)
    in div (created by ForwardRef)
    in ForwardRef
    in div (created by H)
    in o (created by Context.Consumer)
    in y (created by R)
    in R
    in Unknown (created by tr)
    in div (created by ForwardRef)
    in div (created by ForwardRef)
    in div (created by ForwardRef)
    in div (created by ForwardRef)
    in ForwardRef (created by tr)
    in tr (created by ar)
    in o (created by ar)
    in Unknown
    in Unknown (created by Context.Consumer)
    in WithRegistryProvider(Component)
    in Ya
    in an
    in an
    in Unknown
    in Unknown (created by Context.Consumer)
    in WithRegistryProvider(Component) (created by ar)
    in vl (created by ar)
    in M (created by N)
    in o (created by N)
    in N (created by ar)
    in StrictMode (created by ar)
    in ar
    at traverseAllChildrenImpl (http://mydomain.tld/app/plugins/gutenberg/vendor/react.af754d50.js:1147:19)
    at traverseAllChildren (http://mydomain.tld/app/plugins/gutenberg/vendor/react.af754d50.js:1178:12)
    at Object.forEachChildren [as forEach] (http://mydomain.tld/app/plugins/gutenberg/vendor/react.af754d50.js:1226:5)
    at validateProps (http://mydomain.tld/app/plugins/gutenberg/vendor/react-dom.82e849f1.js:2218:24)
    at setInitialProperties (http://mydomain.tld/app/plugins/gutenberg/vendor/react-dom.82e849f1.js:6122:9)
    at finalizeInitialChildren (http://mydomain.tld/app/plugins/gutenberg/vendor/react-dom.82e849f1.js:7622:5)
    at completeWork (http://mydomain.tld/app/plugins/gutenberg/vendor/react-dom.82e849f1.js:19113:19)
    at completeUnitOfWork (http://mydomain.tld/app/plugins/gutenberg/vendor/react-dom.82e849f1.js:22327:18)
    at performUnitOfWork (http://mydomain.tld/app/plugins/gutenberg/vendor/react-dom.82e849f1.js:22300:14)
    at workLoopSync (http://mydomain.tld/app/plugins/gutenberg/vendor/react-dom.82e849f1.js:22265:24)

@girafffee
Copy link
Contributor

Already fixed, thanks! Download here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants