• Resolved daviswebstudio

    (@daviswebstudio)


    The Layouts editor isn’t working for me. The options that should be there aren’t and I’m getting this error.

    TypeError: Cannot read properties of undefined (reading ‘__experimentalGetPreviewDeviceType’)

    This is being triggered on this line of the custom-layouts.js file.

    , r = e(“core/edit-post”).__experimentalGetPreviewDeviceType();

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Code Amp

    (@codeamp)

    Hey @daviswebstudio thanks for flagging this – we’re aware of this issue and should have a fix ready hopefully tomorrow.

    Thanks

    I’m getting a similar or related issue. Same error message:
    undefined is not an object (evaluating ‘e(“core/edit-post”).__experimentalGetPreviewDeviceType’)

    In my case, when I click on Layouts and select the layout, I get nothing. It’s just a blank where the layout editor should be. Hopefully the same issue and, if so, I look forward to the update.

    One note: Everything is still working on another site manage that is still on WP 6.02. The site where I’m getting the error is on 6.2.

    Thanks!

    Plugin Author Code Amp

    (@codeamp)

    Hi all, v1.4.9 has just been released which has a fix for this issue.

    Let us know if it works out for you.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Layouts not working/Error’ is closed to new replies.