‘The editor has encountered an unexpected error,’ problem with Guttenberg

  • Unknown's avatar

    I was having fun exploring in what I could do using Guttenberg a few days ago, but only until I got this error after. I really thought this is only some kind of bug/problem that will be fixed soon, but it hasn’t fixed (yet) until now. I don’t know what the problem since I’m not really knowing much about WebOS. But in case the developers don’t know about this yet, here I’ll tell you..,..

    Anyway, here’s the error report: …

    TypeError: Cannot read property ‘raw’ of undefined
    at https://s1.wp.com/_static/??-eJydk8FyhCAMhl+oLLXa2dlDp8+ikGoUggNhdd9+sVs720MP5gQh/5dkSKKXWSEZly0kPSbNSDdvYD9PHuk0phf9j2x2uUdK2gQ/t1yvPw/PmAnEQPwr7XMxO4h98UTQXUZntQ1eI1lYD1FpCJFNsCBgOxfMlATgwN6pokJGkPAT3LaSJWhEMyiGlQXs1qFARSZJvF2VbbkVsAU71p8rkA1xHzH1UCmHidP3XFX1+au9NO2hKiivgto5TPBILYCvCMtcBlSALiFaEzJJWLDI5fv+gM+rW0zwHdjDO7o798if/qN6b14vb9W5qcc7CFWd2w==:106:200457
    at Array.map ()
    at https://s1.wp.com/_static/??-eJydk8FyhCAMhl+oLLXa2dlDp8+ikGoUggNhdd9+sVs720MP5gQh/5dkSKKXWSEZly0kPSbNSDdvYD9PHuk0phf9j2x2uUdK2gQ/t1yvPw/PmAnEQPwr7XMxO4h98UTQXUZntQ1eI1lYD1FpCJFNsCBgOxfMlATgwN6pokJGkPAT3LaSJWhEMyiGlQXs1qFARSZJvF2VbbkVsAU71p8rkA1xHzH1UCmHidP3XFX1+au9NO2hKiivgto5TPBILYCvCMtcBlSALiFaEzJJWLDI5fv+gM+rW0zwHdjDO7o798if/qN6b14vb9W5qcc7CFWd2w==:106:200397
    at yh (https://s1.wp.com/_static/??-eJydkEkSgjAQRS9kaBJBYWFxlgwNBjNVBqfTm3LhWlh2/X71fz14BCK9y+gyBFMW7RIspZ4C41KTiCCKNgqUtyQiVy/QTuGzWdMB/mU5pduwOzrlI1hv61NjtWs6NtB2HnFbb8k+7NgrjBf7MHkjCaPmRr951t4RhTMvJpPAYw32SKjSZSZV/9fDwJBReeo3DcMkeUByzdb8Fkz2QvuuHRk9d8f1A3upwFw=:101:430)
    at lg (https://s1.wp.com/_static/??-eJydkEkSgjAQRS9kaBJBYWFxlgwNBjNVBqfTm3LhWlh2/X71fz14BCK9y+gyBFMW7RIspZ4C41KTiCCKNgqUtyQiVy/QTuGzWdMB/mU5pduwOzrlI1hv61NjtWs6NtB2HnFbb8k+7NgrjBf7MHkjCaPmRr951t4RhTMvJpPAYw32SKjSZSZV/9fDwJBReeo3DcMkeUByzdb8Fkz2QvuuHRk9d8f1A3upwFw=:126:88)
    at mg (https://s1.wp.com/_static/??-eJydkEkSgjAQRS9kaBJBYWFxlgwNBjNVBqfTm3LhWlh2/X71fz14BCK9y+gyBFMW7RIspZ4C41KTiCCKNgqUtyQiVy/QTuGzWdMB/mU5pduwOzrlI1hv61NjtWs6NtB2HnFbb8k+7NgrjBf7MHkjCaPmRr951t4RhTMvJpPAYw32SKjSZSZV/9fDwJBReeo3DcMkeUByzdb8Fkz2QvuuHRk9d8f1A3upwFw=:126:386)
    at gc (https://s1.wp.com/_static/??-eJydkEkSgjAQRS9kaBJBYWFxlgwNBjNVBqfTm3LhWlh2/X71fz14BCK9y+gyBFMW7RIspZ4C41KTiCCKNgqUtyQiVy/QTuGzWdMB/mU5pduwOzrlI1hv61NjtWs6NtB2HnFbb8k+7NgrjBf7MHkjCaPmRr951t4RhTMvJpPAYw32SKjSZSZV/9fDwJBReeo3DcMkeUByzdb8Fkz2QvuuHRk9d8f1A3upwFw=:133:202)
    at vb (https://s1.wp.com/_static/??-eJydkEkSgjAQRS9kaBJBYWFxlgwNBjNVBqfTm3LhWlh2/X71fz14BCK9y+gyBFMW7RIspZ4C41KTiCCKNgqUtyQiVy/QTuGzWdMB/mU5pduwOzrlI1hv61NjtWs6NtB2HnFbb8k+7NgrjBf7MHkjCaPmRr951t4RhTMvJpPAYw32SKjSZSZV/9fDwJBReeo3DcMkeUByzdb8Fkz2QvuuHRk9d8f1A3upwFw=:132:230)
    at ub (https://s1.wp.com/_static/??-eJydkEkSgjAQRS9kaBJBYWFxlgwNBjNVBqfTm3LhWlh2/X71fz14BCK9y+gyBFMW7RIspZ4C41KTiCCKNgqUtyQiVy/QTuGzWdMB/mU5pduwOzrlI1hv61NjtWs6NtB2HnFbb8k+7NgrjBf7MHkjCaPmRr951t4RhTMvJpPAYw32SKjSZSZV/9fDwJBReeo3DcMkeUByzdb8Fkz2QvuuHRk9d8f1A3upwFw=:132:65)
    at wg (https://s1.wp.com/_static/??-eJydkEkSgjAQRS9kaBJBYWFxlgwNBjNVBqfTm3LhWlh2/X71fz14BCK9y+gyBFMW7RIspZ4C41KTiCCKNgqUtyQiVy/QTuGzWdMB/mU5pduwOzrlI1hv61NjtWs6NtB2HnFbb8k+7NgrjBf7MHkjCaPmRr951t4RhTMvJpPAYw32SKjSZSZV/9fDwJBReeo3DcMkeUByzdb8Fkz2QvuuHRk9d8f1A3upwFw=:143:182)

    And as I said before, I’m just the kind of passionate blogger—I don’t have much knowledge about WebOS around WordPress and its plugins. And as far as I know, Guttenberg is a plugin. Anyhow, kindly help me with this! Thank you very much!

    The blog I need help with is: (visible only to logged in users)

  • Hi there,

    Can you please tell us exactly what you did that led to this error? i.e. what page you started on, what you clicked, every step you followed.

    To find the cause we need to be able to replicate the error on our end, and for that we need to know what sequence of events causes it to happen.

    Also please confirm what browser, including the browser version, you’re using. You can find that info here:

    http://supportdetails.com/

  • Unknown's avatar

    First of all, I use the classic /wp-admin to access everything, in case this wasn’t clear.

    The problem happens every time I try to create a new post and new page using the Guttenberg editor and not the classic editor, but also every time I try to edit the already edited and published both post and page, using the Guttenberg editor. The issue never appeared when I create/edit using classic editor.

    I use both Chrome and Opera browser; both are the newest version. I tried also to disable and even uninstal all the browser extensions hoping that it maybe just a browser complication; but no, the problem is still occurred.

  • Thanks for that. We’ve filed a bug and are working on a fix.

  • Unknown's avatar
  • Please try the following:

    Open your browser’s dev tools – with WP-Admin open, right-click and select Inspect.

    When the tools open, click on Console. There should be a > prompt where you can type stuff. Insert localStorage.clear(); and press Enter. Then try accessing the editor again.

  • Unknown's avatar

    It said …
    < undefined

    after I entered …
    > localStorage.clear();

  • Unknown's avatar

    But for the first visit, there is no error occurred, I hope there isn’t any for further experience too. Thank you for the fast response!

  • We’re still looking into what’s causing this, but if it happens again, just use that command in the console again to clear local storage in your browser and you should have access again.

    The undefined response is normal :)

  • Unknown's avatar

    Alrighty. Thank you again! 😊

  • This should be fixed now, though you might have to clear your browser cache for it to take effect.

    Please let us know if you still notice any issues, and thanks for reporting this!

  • The topic ‘‘The editor has encountered an unexpected error,’ problem with Guttenberg’ is closed to new replies.