An unhandled error occured NaN

  • Unknown's avatar

    Hello,

    Currently, I can only use the editor when I operate on my drafts or edit former posts.

    If I create a new post, it still shows the error.

    Thank you for your patience!

  • Thanks for all the details, we’ve reached out to our developers about this. Once we have more info, we’ll update you here.

  • Unknown's avatar

    Got the same problem with the WP desktop app v6.0.0 on Win 10.

    Clicking into Pages and Posts give the error pop-up “An unhandled error occured NaN”. This occurs for published, draft etc content.

    All editing of all content via WP.com web editor or domain.com/wp-admin/post….works fine.

    It’s the desktop app. It’s not OS specific.

  • Unknown's avatar

    Here’s an anonymised WP app log extract of the error:

    [2020-07-06 16:59:08.701] [desktop:external-links] [info] Cannot open editor for site: {"siteId":175060405,"reason":"REASON_BLOCK_EDITOR_UNKOWN_IFRAME_LOAD_FAILURE","editorUrl":"https://xxxxx.com/wp-admin/post.php?post=470&action=edit&calypsoify=1&block-editor=1&frame-nonce=nnnnnnnnn%3A2%3xxxxxxxxxxxxxxxxxxxxxxxxxxxx&origin=http%3A%2F%2F127.0.0.1%3A41050&environment-id=desktop","wpAdminLoginUrl":null,"origin":"https://xxxxxxxxxx.com","canUserManageOptions":true}

  • Hi @jreid2099,

    Thank you for all that information. We have already reported it to our developers and we’ll update you here as soon as we hear back from them.

  • Unknown's avatar

    i am getting same thing on windows 10 tablet a toshiba but since the update to 6.0.0 even reformated laptop still same thing but running on pc fess install. works fine in classic editor but block edditor is problem web ok, windows 1o did update at same time can not remember which was first though,

  • Hi all,

    we’ve got some news from our developers. It seems that this is related to a known issue:

    https://github.com/Automattic/wp-desktop/issues/927

    You can comment there and follow the thread to get updated.

  • Unknown's avatar

    This github thread is reporting a new error type that needs handling. But the underlying issue still appears to be why the error occurs – i.e. that there is a redirect to an incorrect URL which then times out. So will the WP desktop devs fixing the resource location stop the error occurring?

  • Essentially that’s what the new handler should address.

  • The topic ‘An unhandled error occured NaN’ is closed to new replies.