• Resolved Jorge del Campo Andrade

    (@jorgedelcampo)


    Hi. I’m using Twenty Twenty-Five in addition with WordPress 6.9. In Editor / Styles / Typography / Buttons I can’t see the style changes in preview. Render stops and I only can see a dark screen. If I disable preview, I recieve this error:

    The editor has encountered an unexpected error.

    Error: Minified React error #185; visit https://reactjs.org/docs/error-decoder.html?invariant=185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
    at al (https://mysite.local/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.3.1.1:10:82327)
    at Pt (https://mysite.local/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.3.1.1:10:48526)
    at https://mysite.local/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.3.1.1:10:48385
    at s (https://mysite.local/wp-includes/js/dist/data.min.js?ver=f940198280891b0b6318:9:2363)
    at c (https://mysite.local/wp-includes/js/dist/data.min.js?ver=f940198280891b0b6318:9:2389)
    at https://mysite.local/wp-includes/js/dist/data.min.js?ver=f940198280891b0b6318:2:18939
    at https://mysite.local/wp-includes/js/dist/data.min.js?ver=f940198280891b0b6318:2:17214
    at https://mysite.local/wp-includes/js/dist/data.min.js?ver=f940198280891b0b6318:2:6992
    at Map.forEach ()
    at S (https://mysite.local/wp-includes/js/dist/data.min.js?ver=f940198280891b0b6318:2:6979)

    In console I recieve more information:

    Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.

    The issue seems only be related with rendering. The Review changes button recognizes changes and let me save it. If I reload the page, change has saved, but I can’t see rendering in real time.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Gutenberg error editing Button typography styles’ is closed to new replies.