Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there,

    The error here indicates that at some point, an input in your code (or within the WordPress Gutenberg editor’s code) is switching from being uncontrolled to controlled or vice versa. This is not recommended in React.

    Potential Solutions:

    a. Review the Code: If you’ve added custom blocks or made modifications to existing blocks, review the code to ensure that inputs are consistently either controlled or uncontrolled.

    b. Plugins: Some plugins can cause conflicts with the Gutenberg editor. Try deactivating plugins one by one, especially those that interact with the editor, to see if the issue resolves.

    c. Theme Compatibility: Ensure that your WordPress theme is compatible with the latest Gutenberg editor. Sometimes themes can inject scripts or styles that interfere with the editor.

    d. WordPress & Gutenberg Version: Ensure that both your WordPress installation and Gutenberg plugin (if you’re using it separately) are updated to the latest versions.

    e. Debugging: Use the non-minified development version of React to get a more detailed error message. This can give us more insight into the issue.

    Thread Starter beachlifebliss

    (@beachlifebliss)

    I’m unable to find a plugin that’s conflicting with something. I haven’t changed anything with custom block, etc. Could it be the new version of wordpress? Can I revert back?

    Yes, it’s possible that a recent WordPress update might be causing compatibility issues.

    Some folks also ran into the similar issue after upgrading to WP 6.3, you might want to take a look at them before reverting the version back.

    If none of these solve your problem, please remember to back up your current site before doing a downgrade.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cannot change block type in editor’ is closed to new replies.