Skip to content

Minified React error #185; visit https://reactjs.org/docs/error-decoder.html?invariant=185 #74503

Closed as not planned

Description

@leandrocosta2008-hash

Description

Expectation: When navigating to the Typography settings for the Button element in the Site Editor, I expect the sidebar panels (Font Family, Size, Appearance, etc.) to load correctly so I can customize the button styles.

Actual Behavior: The editor immediately enters an infinite loop and crashes with React Error #185. The browser console reports "Maximum update depth exceeded." This occurs even on a completely fresh WordPress installation with no plugins and a default theme.

Step-by-step reproduction instructions

Perform a clean installation of WordPress 6.9 (Localhost environment: PHP 8.3.28, MySQL 8.4.7).

Activate the Twenty Twenty-Five theme.

Navigate to Appearance > Editor.

Open the Styles sidebar (the half-moon icon).

Navigate to Typography > Elements > Buttons.

Observe the crash/freeze and check the browser console for the React #185 error.

Screenshots, screen recording, code snippet

Image Image

Environment info

WordPress Version: 6.9 (Core, no Gutenberg plugin installed).

Theme: Twenty Twenty-Five.

PHP Version: 8.3.28.

MySQL Version: 8.4.7.

Web Server: Apache/2.4.65 (Win64).

Browser: Chrome (Reproduced in Incognito).

Relevant Console Logs:

Error: Minified React error #185; visit https://reactjs.org/docs/error-decoder.html?invariant=185
at Object.updateFill (components.min.js:26:221851)
at n (compose.min.js:9:13241)
Warning: The specified value "inherit" cannot be parsed, or is out of range.

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

  • Yes

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Activity

  1. added
    [Type] Bug
    on Jan 10, 2026
  2. t-hamano commented on Jan 10, 2026

    @t-hamano
    Contributor

    Thanks for the report. This issue has already been fixed in #73955.

  3. added
    Global Styles
    [Feature] Typography
    on Jan 10, 2026
  4. leandrocosta2008-hash commented on Jan 10, 2026

    @leandrocosta2008-hash
    Author

    Thank you for the update. However, I want to report that the issue persists in the latest WordPress 6.9 build, even after testing with the official Gutenberg plugin (both the version from the WP repository and the latest build from GitHub).

    Testing Results:

    WordPress 6.9 + No Plugins: Fails (React Error #185).

    WordPress 6.9 + Gutenberg Plugin (latest): Fails (React Error #185).

    WordPress 6.8.3 + No Plugins: Works correctly.

    It appears that the fix mentioned has not yet successfully resolved the loop in the 6.9 Core environment, or there is a new conflict specific to the 6.9 branch.

    My Environment:

    PHP: 8.3.28

    MySQL: 8.4.7

    Server: Apache/2.4.65 (Win64)

    Theme: Twenty Twenty-Five

    Given that a downgrade to 6.8.3 resolves the issue immediately, there seems to be something specific to the 6.9 implementation of Typography/Buttons that is still triggering the infinite re-render in updateFill. I hope this helps in re-evaluating the fix for the upcoming 6.9 release.

  5. t-hamano commented on Jan 11, 2026

    @t-hamano
    Contributor

    However, I want to report that the issue persists in the latest WordPress 6.9 build, even after testing with the official Gutenberg plugin (both the version from the WP repository and the latest build from GitHub).

    The latest build of Gutneberg should have fixed the issue. Could you test it using the link below?

    https://playground.wordpress.net/?gutenberg-branch=trunk

  6. leandrocosta2008-hash commented on Jan 11, 2026

    @leandrocosta2008-hash
    Author

    UPDATE: I have successfully installed the Gutenberg plugin directly from the GitHub master/trunk branch.

    Layout Confirmation: My local layout has now updated to match the one seen in the Playground (the "half-moon" icon is no longer in its previous position). This confirms my local site is now running the latest Trunk code.

    The Problem: Despite running the latest code and the new layout, the React #185 error persists on my local environment (WP 6.9 Alpha, PHP 8.3.28, MySQL 8.4.7).

    Conclusion: While the fix works in the playground.wordpress.net environment, it does not appear to resolve the infinite loop on a standard local Apache/PHP 8.3 server. It seems there is an environmental factor that is still triggering the updateFill loop when accessing Styles > Typography > Buttons.

    I have attached a fresh screenshot of the crash occurring within the new layout for your reference.

    Image Image Image
  7. t-hamano commented on Jan 11, 2026

    @t-hamano
    Contributor

    I have successfully installed the Gutenberg plugin directly from the GitHub master/trunk branch.

    How did you install the plugin? To verify that this issue is fixed, you'll need to clone the Gutenberg repository locally and build it.

  8. leandrocosta2008-hash commented on Jan 11, 2026

    @leandrocosta2008-hash
    Author
    Image Image

    I did as you can see on the screenshots attached

  9. t-hamano commented on Jan 12, 2026

    @t-hamano
    Contributor

    You downloaded Gutenberg 22.3, but that fix isn't included yet. It's not trunk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Global Styles[Feature] Typography[Type] Bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions