Giter VIP home page Giter VIP logo

Comments (4)

bobbingwide avatar bobbingwide commented on September 24, 2024

Well, I think this particular problem has gone away - template parts are now displayed differently

image

But I do have problems with the Site Editor hanging, with Gutenberg 13.1.0

image

It's painfully slow both in my SiteGround hosting - Chrome's now locked up on this screen capture -
and locally, where I get a WSOD; 12 errors in the Chrome console, starting with
edit.js:66 Uncaught TypeError: Cannot read properties of undefined (reading 'tinymce')
at edit.js:66:51
at Hm (react-dom.js?ver=5.9.3:1:214245)
at HTMLUnknownElement.g (react-dom.js?ver=5.9.3:1:47905)
at Object.An (react-dom.js?ver=5.9.3:1:48230)
at $n (react-dom.js?ver=5.9.3:1:49191)
at qm (react-dom.js?ver=5.9.3:1:214783)
at unstable_runWithPriority (react.js?ver=5.9.3:1:20757)
at ss (react-dom.js?ver=5.9.3:1:93777)
at jm (react-dom.js?ver=5.9.3:1:213973)

from sb.

bobbingwide avatar bobbingwide commented on September 24, 2024

image

30 seconds for a mouse move is a bit much!

from sb.

bobbingwide avatar bobbingwide commented on September 24, 2024

In my latest tests, in s.b/wp55 with WordPress 6.0, the Classic block is producing a slightly different version of the Uncaught TypeError: Cannot read properties of undefined (reading 'tinymce') message.

Uncaught TypeError: Cannot read properties of undefined (reading 'tinymce')
    at block-library.js?ver=016c65731f009ca1e5b5974727017d18:5514:29
    at invokePassiveEffectCreate (react-dom.js?ver=17.0.1:23517:22)
    at HTMLUnknownElement.callCallback (react-dom.js?ver=17.0.1:3942:16)
    at Object.invokeGuardedCallbackDev (react-dom.js?ver=17.0.1:3991:18)
    at invokeGuardedCallback (react-dom.js?ver=17.0.1:4053:33)
    at flushPassiveEffectsImpl (react-dom.js?ver=17.0.1:23604:11)
    at unstable_runWithPriority (react.js?ver=17.0.1:2764:14)
    at runWithPriority$1 (react-dom.js?ver=17.0.1:11306:12)
    at flushPassiveEffects (react-dom.js?ver=17.0.1:23477:16)
    at performSyncWorkOnRoot (react-dom.js?ver=17.0.1:22299:5)
react-dom.js?ver=17.0.1:20115 The above error occurred in the <ClassicEdit> component:

    at ClassicEdit (https://s.b/wp55/wp-includes/js/dist/block-library.js?ver=016c65731f009ca1e5b5974727017d18:5487:5)
    at Edit (https://s.b/wp55/wp-includes/js/dist/block-editor.js?ver=39c7981dd22ec80281080455892940e6:12918:5)
...

This problem is probably covered by WordPress/gutenberg#23086

The Classic block in question is the [bw_list] shortcode in the sequentially-biased.html template part.

<!-- wp:heading {"level":4}  -->
<h4>Sequentially Biased</h4>
<!-- /wp:heading -->

[bw_list post_type=bigram posts_per_page=16 orderby=date order=DESC exclude=0]

This particular instance could be reworked to use the shortcode block or even the query loop.

from sb.

bobbingwide avatar bobbingwide commented on September 24, 2024

The problem with the Classic block failing has now been resolved in Gutenberg 15.3.1 or WordPress 6.2-beta5.
See WordPress/gutenberg#48938

With the latest changes to the Site Editor the performance is also much better.

Closing therefore.

from sb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.